PDA

View Full Version : Error while running mkinitrd on usb drive


prashb2000
2006-04-05, 06:31 PM CDT
I have installed FC5 on External Maxtor hard drive. Install went well, but when I am trying to reboot it kernel is panicking saying failed to accuire resume LABEL-swap-sdb3 etc etc.

Since I am installing on usb .. I did create a initrd image in boot directory.
using
mkinitrd --with-usb /boot/initrd_usb_FC5.gz 2.6.15-1.2054_FC5

After running this command I get error saying

Could not find /sys/opts but it creates the image file.

What am I missing here? why mkinited giving me /sys/opts not found error?

Please help...

prashb2000
2006-04-05, 06:53 PM CDT
[QUOTE=prashb2000]I have installed FC5 on External Maxtor hard drive. Install went well, but when I am trying to reboot it kernel is panicking saying failed to accuire resume LABEL-swap-sdb3 etc etc.

Since I am installing on usb .. I did create a initrd image in boot directory.
using
mkinitrd --with-usb /boot/initrd_usb_FC5.gz 2.6.15-1.2054_FC5

After running this command I get error saying

Error reading /sys/blocks: No such file or directory but it creates the image file.

What am I missing here? why mkinited giving me /sys/opts not found error?

Please help...

james419
2006-04-06, 01:27 PM CDT
I have never gotten the mkinitrd --with-usb /boot... form to work.
It would never write the file.

I used the following:

mkinitrd --preload=ehci-hcd --preload=usb-storage --preload=scsi_mod --preload=sd_mod /boot/usbinitrd-2.6.15-1.2054_FC5.img 2.6.15-1.2054_FC5

All on one line- no carriage return. I ignored the error messages- changed the grub.conf to change the file name and have been booting erer since.