configuring kernel, booting to root partition
I compiled a new kernel so that I could install drivers for my 2 video nvidia cards
when I select the new kernel off of grub it starts booting and has a kernel panic, VFS says that is cant mount the root drive it's trying to mount (0.0) when it should be mounting (0.1) ...so my question is , how do I configure it to mount the right drive? with gatitude -Dan |
i would ask this question in the forum for your distro
|
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 vga=0x317 splash=silent desktop hdc=ide-scsi hdclun=0 showopts
initrd (hd0,5)/boot/initrd (hd0,5) is the partition where the /boot folder is. This also happens to be the root filesystem. If you have a paritition that has the kernel in it then it would be like this.. kernel (hd0,5)/vmlinuz Here is the root filesystem.. root=/dev/hda6 This is where the root filesystem is. They are not always nor do they need to be in the same place as this one is. another example.. kernel (hd0,0)/vmlinuz this is the first partition on the primary master being used as a boot partition. root=/dev/hdb2 this is the second partition on the primary slave where the filesystem is. kernel (hd0,0)/vmlinuz root=/dev/hdb2 In this case the fstab my have this... /dev/hda1 /boot ext3 defaults 0 0 so that's your /boot partition where the kernel is, the root filesystem is in /dev/hdb2 For yours if the kerel is in /dev/hda1 and the filesystem is /dev/hda2... kernel (hd0,0)/vmlinuz root=/dev/hda2 If you have it correct then maybe you did not add your filesystem support to the kernel. |
All times are GMT -5. The time now is 10:57 AM. |