Hi,
I have cloned my original root LVM, and then migrated to the newer thin LVMs using partclone.
Both backup and restore went off without causing any problems.
But when I am now trying to boot into my system, it asks for the encryption LUKS passphrase but after that I am getting:
dracut-initqueue[300]: Warning: dracut-initqueue timeout - starting timeout scripts
I have not changed anything. Even my logical volume name is the same as before.
These are the backup and restore commands that I have used from the Fedora live environment:
(Creating the backup)
# partclone.ext4 -c -s /dev/vgfedora/fedora | gzip -c --best > /run/media/liveuser/externalhdd/fedora.tar.gz
(Restoring the backup)
# gzip -c -d /run/media/externalhdd/fedora.tar.gz | partclone.ext4 -r -o /dev/vgfedora/fedora
These commands were run as root from Fedora live environment and prior to taking my backup I had set my logical volume to read-only via:
# lvchange -pr vgfedora/fedora
This is my current volume group and logical volumes:
# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
fedora vgfedora Vwi-a-tz-- 700.00g pool00 16.61
pool00 vgfedora twi-aotz-- 929.75g 12.50 16.61
fedora vgfedora Vwi-a-tz-- 700.00g pool00 16.61
pool00 vgfedora twi-aotz-- 929.75g 12.50 16.61
# vgs
VG #PV #LV #SN Attr VSize VFree
vgfedora 1 2 0 wz--n- 929.99g 8.00m
vgfedora 1 2 0 wz--n- 929.99g 8.00m
This is my /etc/fstab:
/dev/mapper/vgfedora-fedora / ext4 defaults,x-systemd.device-timeout=0 1 1
UUID=4d112d8e-080d-44f2-8962-9c13f20a7885 /boot ext4 defaults 1 2
UUID=041A-E511 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2
/fedora.swap none swap defaults 0 2
UUID=4d112d8e-080d-44f2-8962-9c13f20a7885 /boot ext4 defaults 1 2
UUID=041A-E511 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2
/fedora.swap none swap defaults 0 2
I have not changed the /etc/fstab after the migration since nothing has changed.
/dev/mapper/vgfedora-fedora still exists. The only difference is that it is a thin LVM volume.
This is my GRUB_CMDLINE:
GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-2ec7f1ae-6f9b-4896-a7b2-be7809e9d2f4 rd.lvm.lv=vgfedora/fedora resume=/dev/disk/by-uuid/03aef3ba-dca1-4cba-a3f5-36c5c0fe948e resume_offset=1449984"
The UUID of the LUKS encryption is still the same, as I can confirm from here :
# ll /dev/disk/by-uuid/
# lrwxrwxrwx. 1 root root 10 Nov 24 03:38 2ec7f1ae-6f9b-4896-a7b2-be7809e9d2f4 -> ../../sda3
I don't know what else I have to change, or what is going wrong. Grub is asking for the password for LUKS and is setting up the encrypted partition, but after that nothing happens.
I guess it is not able to load the root logical volume.
Do I have to re-generate my initramfs ? I didn't think that would be necessary since the LVM thin tools were already installed.
Please let me know if any other info is required from my side.
Need some help as I am unable to use my laptop.
-- Regards,
Sreyan Chakravarty
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx