[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Root: mkinitrd ... Permission denied. (?)



Adam Felix Bogacki wrote:
Hi, at the risk of being tiresome (to myself if no one else) ...
[...]

"VFS: Cannot open root device "hdb5" or unknown-block (0,0)
Please append a correct "root= " boot option
Kernel panic: VFS: Unable to mount root fs on unknown block (0,0)"

Googling around has suggested that 2.6.5 has changed the parsing of the "root= " boot argument.

No, there is no change in root argument.
Of course you can define your partitions on different ways.

Are you sure that your root device is hdb5 and maybe not hda5?

"Tux:~# /usr/sbin/mkinitrd -m /boot/initrd.img-2.6.5-1-686 -o 2.6.5custom
/usr/sbin/mkinitrd line 1: /boot/initrd.img-2.6.5-1-686: Permission denied"

What am I missing here ?

Wrong options.
Usage: /usr/sbin/mkinitrd [OPTION]... <-o outfile> [version]

-m is for setting a command to make the image
You should not need it.

mkinitrd -o /boot/initrd.img-2.6.5custom  2.6.5-1-686
should be right for you...



Reply to: