update-grub help
Goh Lip
g.lip at gmx.com
Fri May 28 20:25:20 UTC 2010
On Sat, 29 May 2010 03:55:01 +0800
Goh Lip <g.lip at gmx.com> wrote:
> On Fri, 28 May 2010 14:58:29 -0400
> Tom H <tomh0665 at gmail.com> wrote:
>
> Tom, you can try this out, edit one of the grub entry, as an example
> in the following lines...
>
> set root='(hd0,5)'
> search --no-floppy --fs-uuid --set xxxxxxxxxxxxxx
>
> edit it to.....
> set root='(hd0,x)' {where x is any other number, not 5}
> search --no-floppy --fs-uuid --set xxxxxxxxxxxxxx {this line
> unchanged}
>
>
> You will still be able to boot okay as though there had been no
> changes. This is because the 2nd line, search --no-floppy xxxxxx,
> will set the partition specified by the uuid to root, which in this
> example, (hd0,5). whatever the first line says.
Further to this...
If you remove the 2nd line and leave only the first line, then
set root='(hd0,x)'
will set (hd0,x) to 'root' (not /) and if (hd0,x) is wrong then it will
not boot.
You can leave out the first line totally and just have the
search --no-floppy --fs-uuid --set xxxxxxxxxxxxxx to boot.
You have noted this yourself in one of your earlier messages in another
thread.
Regards - Goh Lip
--
If you understand, things are the way they are.
If you do not understand, things are the way they are.
More information about the ubuntu-users
mailing list