canīt boot updated kernel slackware current
Hi Guys:
I updated my kernel in slackware current but canīt install lilo, when i was with my old kernel it gave an error about not finding the sda drives (they were named hda before the upgrade). I booted into the slackware 13.0 dvd and modified fstab and lilo.conf replacing hda with sda but lilo still gives an error of not finding sda drives. How can i install lilo so i can boot into my sistem???? Iīm really lost here. Can anyone help??? Thanks in advance. |
Can you post your
Quote:
|
you have to substitute every occurence of /dev/hda with sda in lilo.conf but one
Code:
boot=/dev/hda Code:
lilo after reboot (remember that in need you can specify the root partition with root=/dev/sdax kernel option at boot prompt) you can fix the line in lilo.conf above. |
Quote:
samac |
Quote:
File README.initrd was also updated in -current and it does not contain any warning about change of drive naming convention. So my question is: which -r option should I use: Code:
mkinitrd -c -k 2.6.32.2-smp -m ext4 -f ext4 -r /dev/hdd2 Code:
mkinitrd -c -k 2.6.32.2-smp -m ext4 -f ext4 -r /dev/sdd2 |
Right from the changelog for current, x86 and x86_64:
Mon Jan 4 21:43:02 UTC 2010 New kernels... and this deserves a mention/warning: the last bits of the "old" IDE/ATA system have been removed now. Everything should be using the libata based drivers now, so if you have any drives that are currently running as /dev/hda, /dev/hdb, etc., when you reboot with these kernels all drives will be renamed as /dev/sda, /dev/sdb, etc. If you had any /dev/sd* already, they might get renamed. Adjustments may be required in /etc/lilo.conf, /etc/fstab, the initrd, and elsewhere. Good luck! |
@SqdnGuns
Yes I've read the Changelog file. My remark about lack of information about change of drive name applied to README.initrd. Thus my question regarding the most appropriate syntax for the mkinitrd command. Based on your post, I would undestand that I need to use the -r /dev/sdd2 option. [EDIT] I asked because I plan to run mkinitrd with 2.6.29 kernel running just after upgrading the kernel packages. |
I just copied the command for mkinitrd ext3 and modified it for ext4 and kernel 2.6.32.2 and it works just fine. Remembering of course to make a new lilo.conf entry and re-running lilo.
samac |
Thanks samac for quick feedback.
But I'm not sure how to interpret your feedback regarding the -r option. Which one did you use -r /dev/hdxx or - r /dev/sdxx or nothing? According to "man mkinitrd": Quote:
|
I also upgraded to current. I changed all occurences of hda to sda in /etc/fstab, and tried various combinations of hda and sda in lilo.conf (after which I called lilo every time), but no matter what I try, my system always stops after
Loading vmlinuz........................................................... Is it mandatory to use initrd with this kernel version? (all my partitions are ext4) |
Quote:
samac |
Quote:
Quote:
|
No it is only required when you use the generic.s kernel (recommended) if you use the huge.s kernel you will not need and initrd.gz
samac |
Thank you samac.
I'll try with this syntax. |
Quote:
|
All times are GMT -5. The time now is 10:26 AM. |