Quote:
|
Originally Posted by seablade
And by the way, as I have said multiple times YES it can be(And has been repeatedly) done, it just complicates it a bit.
Seablade
|
Aye - spot on, perfectly possible as long as your BIOS supports booting the USB drive (most stuff in the past two years does, older than that and it's a bit of a lottery).
I can't believe nobody has mentioned the magic word yet

initrd.
You'll need to configure your kernel to use both a kernel image and an initial ramdisk image (the 'initrd' I just mentioned)..
You build your kernel and drivers, and insert any modules necessary for mounting the USB device into the initrd and/or into the kernel. The initial ramdisk just contains enough stuff to get to the point that you can mount the 'real root', i.e. the USB disk.
You then configure the bootloader with something like:
kernel <blah kernel here> <options here> root=initrd realroot=/dev/sdb1
Obviously /dev/sdb1 becomes where the USB device
actually gets mounted.
Honestly - this is not a procedure for the faint of heart, I suspect.
Apologies for the vagueness, but it's been years since I even used an initial ramdisk (not since the 1.x kernel series - that's the mid '90s!) to support esoteric hardware

There are bound to be tutorials out there, though..