LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Boot USB HD without initrd (http://www.linuxquestions.org/questions/linux-hardware-18/boot-usb-hd-without-initrd-502760/)

gbowden 11-18-2006 07:55 AM

Boot USB HD without initrd
 
Is there any way to boot a USB Hard Drive without using an initrd?

Regards,

uselpa 11-18-2006 08:55 AM

Yes, you need to boot with a kernel that has the modules compiled in that would otherwise be on the initrd.

gbowden 11-18-2006 09:17 AM

I've already done that. I compiled uhci-hcd, ehci-hcd, ohci-hcd and usb-storage into the kernel and get a unknown block device error.

The partitions are ext3.

uselpa 11-18-2006 09:53 AM

Did you also include ext3 and jbd?

gbowden 11-18-2006 10:22 AM

I included ext3 but not jbd.

What option do I need to choose to add jbd?

uselpa 11-18-2006 10:46 AM

I'm not sure but in the .config file it's "CONFIG_JBD=y". It's in the "File Systems" section next to ext2 and ext3.

gbowden 11-18-2006 11:09 AM

root@gbnet:/home/gbowden/msn# cat /boot/config-generic-smp-2.6.18.2 | grep JBD
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set

Looks like it's set.


All times are GMT -5. The time now is 12:03 AM.