boot issues after restoring a backup
scar
scar at drigon.com
Mon Jun 29 10:27:40 UTC 2015
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....
1.
https://help.ubuntu.com/community/ResizeEncryptedPartitions#Detailed_resizing_.2BAH4_Reducing_an_encrypted_partition
More information about the ubuntu-users
mailing list