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: Stefan Lamby
Subject: Re: Destroyed Entries at /dev/sda - boot not possible anymore
Date: Tue, 31 Mar 2015 14:21:55 +0200 (CEST)

> Andrei Borzenkov <address@hidden> hat am 31. März 2015 um 13:43
> geschrieben:
>
>
> On Tue, Mar 31, 2015 at 1:24 PM, Stefan Lamby <address@hidden>
> wrote:
> > address@hidden:~# mount -r /dev/sda1 /mnt
> > address@hidden:~# ls -lR /mnt
> > /mnt:
> > total 4
> > drwxr-xr-x 3 root root 4096 Feb 21 18:40 EFI
> >
> > /mnt/EFI:
> > total 4
> > drwxr-xr-x 2 root root 4096 Feb 21 18:40 ubuntu
> >
> > /mnt/EFI/ubuntu:
> > total 3416
> > -rwxr-xr-x 1 root root 126 Mar 29 18:19 grub.cfg
> > -rwxr-xr-x 1 root root 956792 Mar 29 18:19 grubx64.efi
> > -rwxr-xr-x 1 root root 1178240 Mar 29 18:19 MokManager.efi
> > -rwxr-xr-x 1 root root 1355736 Mar 29 18:19 shimx64.efi
> > address@hidden:~# umount /mnt
> > address@hidden:~# mount -r /dev/sdb1 /mnt
> > address@hidden:~# ls -lR /mnt
> > /mnt:
> > total 0
> > address@hidden:~# blkid
> > /dev/loop0: TYPE="squashfs"
> > /dev/sda1: UUID="7514-B7B3" TYPE="vfat"
> > /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/sr0: LABEL="Kubuntu 14.04.2 LTS amd64" TYPE="iso9660"
> > /dev/sdb1: UUID="71BB-0AB6" TYPE="vfat"
> > /dev/sdb2: UUID="751b32b1-3302-4a2a-92f4-f3941ea8c3f3" TYPE="ext4"
> > /dev/sdb3: UUID="d18c3e0d-53dc-4b02-8b79-747fa732c3d7" TYPE="swap"
> >
> > I dont know why but for some reason I am not able to boot from usb any more.
>
> For some reasons /dev/sdb1 is empty.
>
> Just to be sure, could you please paste content of
> /EFI/ubuntu/grub.cfg on /dev/sda1?
 
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

 
> Also detailed information about
> partitions 1 on each disk:
>
> gdisk /dev/sda
> i
> q
 
address@hidden:~# gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

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
First sector: 2048 (at 1024.0 KiB)
Last sector: 1050623 (at 513.0 MiB)
Partition size: 1048576 sectors (512.0 MiB)
Attribute flags: 0000000000000000
Partition name: ''

>
> gdisk /dev/sdb
> i
> q
 
address@hidden:~# gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): i
Partition number (1-3): 1
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
Partition unique GUID: FAE4E4A5-D1CC-4236-ADE9-D2153C8C5196
First sector: 2048 (at 1024.0 KiB)
Last sector: 1050623 (at 513.0 MiB)
Partition size: 1048576 sectors (512.0 MiB)
Attribute flags: 0000000000000000
Partition name: ''

Thank you very much.
 



reply via email to

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