Sorry for my late reply to close this case:

On 2/12/19 5:22 PM, Roland Hummel wrote:
>>> 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?

The problem was that I installed rEFInd on the source system before
cloning it to the target system. In other words:

1. no rEFInd installation on the source system
2. cloned (dd) the GNU/Linux of the source machine to the target machine
2. copies the grub config from source to target
3. *then* installed rEFInd on the target system

-> everything works fine, no adjustments needed!

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to