On Tue, Mar 31, 2015 at 3:21 PM, Stefan Lamby <[email protected]> wrote:
>> > root@kubuntu:~# blkid
>> > /dev/sda2: UUID="708071fb-bf40-4e1e-99fe-d82213fd7364" TYPE="ext2"
>> > /dev/sda3: UUID="6118b2b9-788b-409f-ba00-baaff583a397" TYPE="crypto_LUKS"
>>
>> So it appears your original installation using encrypted partition, right?
>
> Yes, you are right.
>
...
>> > /dev/sdb2: UUID="751b32b1-3302-4a2a-92f4-f3941ea8c3f3" TYPE="ext4"
...
> root@kubuntu:~# mount -r /dev/sda1 /mnt
> root@kubuntu:~# cat /mnt/EFI/ubuntu/grub.cfg
> search.fs_uuid 751b32b1-3302-4a2a-92f4-f3941ea8c3f3 root hd1,gpt2
> set prefix=($root)'/boot/grub'
> configfile $prefix/grub.cfg
>
...
> root@kubuntu:~# gdisk /dev/sda
...
> Command (? for help): i
> Partition number (1-3): 1
> Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
> Partition unique GUID: 57132A06-A1C8-417F-BB0F-C0957DAE67FC

... and earlier

> Boot0003* ubuntu
>       
> HD(1,800,100000,57132a06-a1c8-417f-bb0f-c0957dae67fc)File(\EFI\ubuntu\shimx64.efi)

OK, so grub.cfg on /dev/sda1 refers to /dev/sdb2. Am I right that
/dev/sda1 is your original /boot? Could you show its listing?

mount -r /dev/sdb2 /mnt
ls -l /mnt
ls -l /mnt/grub

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to