Hello, my first post and I am very new to Linux. I installed Opensuse 13.2 to a thumb drive so I would have an OS to play in when using a computer that I am otherwise unable to alter (cant install anything to the HD). Its a full install of Opensuse, not a live CD/USB. The boot partition is separate, and the /home, /swap and / are all in an encrypted LVM (named system).
I managed to get everything setup and working, installed my apps and got my favorits and keypass files copyed over. Even setup OpenVPN to my home router. Then I decided to image the thumbdrive so that I would have a backup encase I lost it or messed somthing up. To test my image I loaded it to a second thumb drive (same brand, model and size) and tried to boot it.
After selecting my OS from the Grub2 boot menu, the screen changes and I get the default opensuse green background with the waves, and I expect the password field with the lock beside it to appear at the bottom for me to put in the password for the LVM. But that never happens. I assume the problem is in Grub2, or maybe whatever controls this screen where I unlock the LVM.
Googling and trying different guides, I tried https://wiki.sabayon.org/index.php?title=HOWTO:_Mount_Encrypted_Partitionand https://wiki.sabayon.org/index.php?title=HOWTO:_Mount_LVM so that I could mount the LVM and open it. I used a Opensuse 13.1 Live DVD for this. (Not 13.2 live, it seemed to have some kind of bug and wouldn’t see the LVM with a ‘pvs’ or ‘lvdisplay’ command). Once in I changed the UUID’s in the grub.cfg file to see if that would help, but it did not.
I then tried this guide: http://blog.oaktreepeak.com/2012/03/move_your_linux_installation_t.html to recreate my Grub2 loader. The actual ‘grub-install’ commands wouldnt work in opensuse, but the bash prompt recommended using the yast2 bootloader tool. So I tried that. It gave an error “/usr/sbin/grub2-probe error failed to get canonical path of ‘overlayfs’”. Haven’t been able to find the cause of this error in google.
Any help in figuring this out would be appreciated.
Thank you.
Below I will paste the contents of the config files I think are relevant to troubleshoot this.
Grub.cfg (the part I think is relevant) =
BEGIN /etc/grub.d/10_linux
menuentry ‘openSUSE’ --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-simple-ff23c3d9-0454-4a2c-8316-95cb51b3f381’ {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root=‘hd1,msdos1’
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint=‘hd1,msdos1’ a59cefd0-641e-46ae-bf8c-8d9699a411b0
else
search --no-floppy --fs-uuid --set=root a59cefd0-641e-46ae-bf8c-8d9699a411b0
fi
echo ‘Loading Linux 3.16.7-7-desktop …’
linux /vmlinuz-3.16.7-7-desktop root=UUID=ff23c3d9-0454-4a2c-8316-95cb51b3f381 resume=/dev/system/swap splash=silent quiet showopts
echo ‘Loading initial ramdisk …’
initrd /initrd-3.16.7-7-desktop
}
Device.map =
(hd1) /dev/sdb
(hd0) /dev/sda
fstab =
/dev/system/swap swap swap defaults 0 0
/dev/system/root / ext4 acl,noatime,nodiratime,user_xattr 1 1
UUID=a59cefd0-641e-46ae-bf8c-8d9699a411b0 /boot ext4 acl,noatime,nodiratime,user_xattr,nofail 1 2
/dev/system/home /home ext4 acl,noatime,nodiratime,user_xattr 1 2
/dev/mapper/cr_storage /storage ext4 acl,user_xattr,nofail 0 2
crypttab =
cr_scsi-1SanDisk.Ultra_Fit…4C530001241227118212-part2 /dev/disk/by-id/scsi-1SanDisk.Ultra_Fit…4C530001241227118212-part2 none none
cr_storage /dev/disk/by-id/ata-HGST_HTS725050A7E630_TF655AY9JG9AGC-part3 none none