>>>>  Where do I get it from? 
>>> grub-probe -t fs_uuid /
>>> or grub-probe -t fs_uuid -d /dev/sda1
>>>
>>>> How do I incorporate this into
>>>> grub.cg?
>>> search --set --fs-uuid abc-123...
>> Just for the sake of completion: abc-123.../path/to/kernel?

> No. If you use --fs-uuid instead of --file then you use the UUID.
> I thought it would be clear, to just use the UUID value grub-probe tells
> you. Without any path appended to it.

OK, after search-setting the UUID I just load the kernel as usual?

>> I prefer using the search for a file, since I may switch disks without
>> resetting the uuid.

> If the file you use for the search command only exists once in your
> system then it's fine.

This was obvious to me ;-)

greetings,

Stefan


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to