[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Booting grub from usb
From: |
Goh Lip |
Subject: |
Re: Booting grub from usb |
Date: |
Fri, 7 May 2010 21:23:57 +0800 |
On Fri, 7 May 2010 20:54:48 +0800
Goh Lip <address@hidden> 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