boot issues after restoring a backup

Petter Adsen petter at synth.no
Mon Jun 29 12:30:08 UTC 2015


On Mon, 29 Jun 2015 03:27:40 -0700
scar <scar at drigon.com> wrote:

> i was trying to follow this guide[1] to resize my partitions, and it
> hosed up my system.  fortunately i had a backup, but i can't seem to
> make the system boot now after restoring.  since the guide hosed up my
> partitions, i deleted them and re-created them to the sizes i wanted,
> then restored my backup data and ran grub-install from a liveCD.  but
> now when i try and boot, the grub2 menu loads and shows the kernel
> list, and after i select the kernel i am seeing an error like "no
> such device" and its printing a UUID out and the rebooting quickly
> before i can read anything else.  i figured the backups i restored
> are referencing some UUID that doesn't exist anymore because i
> repartitioned the drive.  as you can see from the guide, i am using
> encrypted LVM partitions.  here is the output of fdisk:
> 
> Disk /dev/sdb: 300.1 GB, 300069052416 bytes
> 255 heads, 63 sectors/track, 36481 cylinders, total 586072368 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x0007b5d5
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1   *        2048      585727      291840   83  Linux
> /dev/sdb2          587774   195897343    97654785    5  Extended
> /dev/sdb5          587776   195897343    97654784   83  Linux
> 
> sdb1 is where /boot is and then sdb5 is the encrypted area with LVM
> partitions for root and swap.  i've tried so many different things and
> i'm tired now, looking for advice and a new perspective....

What's in /etc/fstab and /etc/crypttab? The output of lsblk and blkid
would also be useful in figuring this out.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150629/8d022a39/attachment.pgp>


More information about the ubuntu-users mailing list