Quote:
Originally Posted by smallpond
Make sure your usb_storage module is either builtin or loaded by initramfs.
Another thing you could try is to set the computer to boot from USB. Put grub on the USB drive but set up the menu to get the kernel and root filesystem from HDD.
|
I've set the modules to be in the initramfs by adding them to the /etc/initramfs-tools/modules file. Then the script I use checks for them and modprobes them if they're not loaded.
The problem is that the script runs and doesn't respect the sleep command and doesn't slow it's execution to wait for the usb drive to be recognized by the system. I get the script failing to load the usb drive and falling back on it's password prompt on that failure, then I see the dmesg output of the usb drive being recognized far too late. Well after the script has tried to load it. That's why I need the script to sleep for a few seconds so the system can find the drive, then try to mount it.
My final option will be to put grub on the usb drive and boot from it. Any good tutorials on that? I've never done it before.