generic-smp kernel doesn't boot in 12.2
Hi all
I have installed 12.2 and got it how I like it, but it only boots with the hugesmp kernel. The generic crashes out with the following error. Code:
mount: mounting /dev/root on /mnt failed: no such file or directory The root device is formatted with jfs and the initrd.gz loads jfs.ko from the smp-modules. samac |
Can you post your mkinitrd commmand?
I generated my initrd.gz image and had the same error as you. I just ran the wrong command options. OK I can be the only stupid guy out there but your detailed mkinitrd options would help in analyzing your issue. |
I tried to generate the initrd.gz three ways
Code:
mkinitrd -c -k 2.6.27.7-smp -m jfs EDIT mkinitrd -c -m jfs fails also. samac |
Quote:
Normally I just run the single command Code:
mkinitrd -c -k 2.6.27.7-smp -m jfs -f jfs -r /dev/whatevertherootpartitionis also, worth checking that the entry in lilo points to the right initrd file. |
Quote:
I got there just as you were posting. It needed the the -f and -r modifiers to find a jfs filesystem on /dev/sda1 Thanks samac |
Maybe you can try the full options:
Code:
mkinitrd -c -k 2.6.27.7-smp -m jfs -f jfs -r /dev/hda1 |
Quote:
Then when the generic kernel boots it tries to use this entry to mount the root filesystem and fails. This is a pain as previous versions missing out the -r to mkinitrd was ok. Once you know about it however it's not a problem. |
I had the same problem and solved it in populating /etc/mkinitrd.conf cp'ed from /etc/mkinitrd.conf.sample and issuing a mkinitrd -F command, see:
http://www.linuxquestions.org/questi...0/#post3373248 |
All times are GMT -5. The time now is 05:24 AM. |