[plug] 2.6 Kernels, Upgrading from kernel with devfs, to kernel without

Timothy White weirdit at gmail.com
Thu Aug 4 18:13:22 WST 2005


On 8/4/05, Bernard Blackham <bernard at blackham.com.au> wrote:
> If you can't get to your actual /dev because a devfs or udev
> is mounted over the top, then you can "mount --bind / /mnt" and then
> access /mnt/dev.

Ok, this is odd. It appears that /dev already has all the entries I need.
The error I've got with both the kernel's i've compiled (one with
devfs, one without) is the same. I took the grub entry for the current
kernel and just changed a few things (kernel image, and no initrd) and
I did compile ext3/2 into the kernel and not as a module.
The Error is below
---
VFS: Cannot open root device "hda5" or unknown-block(0,0)
Please append a correct "root=" option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
---
Now I'm a little lost as to what the problem is.

Tim

Part of my grub menu.lst, the first entry is the current kernel. The
second is the new kernel
---
title           Ubuntu, kernel Default
root            (hd0,4)
kernel          /boot/vmlinuz root=/dev/hda5 ro console=tty0 quiet splash
initrd          /boot/initrd.img
savedefault
boot

title           Ubuntu, kernel 2.6.12.1-amd64-linjeni
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.12.1-amd64-linjeni root=/dev/hda5 ro
console=tty0 quite splash
savedefault
boot
---



More information about the plug mailing list