On Fri, 7 May 2010 20:54:48 +0800 Goh Lip <[email protected]> wrote: > Is there any way for grub to recognize that the grub resides in > a usb device and automatically set to (hd0,1)? Or at least delete all > "set root='(hdx,1)'" > > ps: I know it will still boot with wrong (hdx,1) with the correct > "search --no-floppy --fs-uuid --set c25a3c07xxxx", but it would be > better if all things are in place.
Sorry forgot to add..... Or add a command line at /etc/default/grub.d similar to # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to # Linux #GRUB_DISABLE_LINUX_UUID=true like this # Uncomment if you don't want GRUB to pass "set root=(hd0,x)" parameter # to Linux #GRUB_DISABLE_LINUX_(hd0,x)=true Regards - Goh Lip _______________________________________________ Help-grub mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-grub
