help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Destroyed Entries at /dev/sda - boot not possible anymore


From: Andrei Borzenkov
Subject: Re: Destroyed Entries at /dev/sda - boot not possible anymore
Date: Tue, 31 Mar 2015 15:59:29 +0300

On Tue, Mar 31, 2015 at 3:21 PM, Stefan Lamby <address@hidden> wrote:
>> > address@hidden:~# 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"
...
> address@hidden:~# mount -r /dev/sda1 /mnt
> address@hidden:~# 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
>
...
> address@hidden:~# 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]