[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GRUB installation via copy&paste?
From: |
Roland Hummel |
Subject: |
Re: GRUB installation via copy&paste? |
Date: |
Tue, 12 Feb 2019 17:22:32 +0100 |
User-agent: |
Posteo Webmail |
Hi Pascal,
thank you for your reply.
Am 04.02.2019 22:08 schrieb Pascal-liste:
I should use the following GRUB configuration:
search.fs_uuid abc0eeaf-a36a-4004-98e4-5c4e8c423bd8 root hd0,gpt4
No. fs_uuid searches the filesystem UUID, not the partition UUID.
You get the filesystem UUID with blkid or the like.
According to your answer I used
(intiramfs) blkid
...
/dev/sda4: UUID="bff72c95-8954-45c5-8d41-6d843335395a" TYPE="ext4"
PARTLABEL="Linux filesystem"
PARTUIID="abc0eeaf-a36a-4004-98e4-5c4e8c423bd8"
...
and used the value of "UUID" as FS UUID in grub.cfg:
search.fs_uuid bff72c95-8954-45c5-8d41-6d843335395a root hd0,gpt4
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
Unfortunately the GNU/Linux boot ends up in initramfs again. So neither
the value "UUID" nor the one for "PARTUUID" works for the grub config.
Any other ideas?
Best regards
Roland