lp.descamps
June 6th, 2015, 03:24 PM
Hi,
Anyone got experience with moving everything to another hdd?
i did this
Pre Req:
install new disk, install lubuntu using full disk encryption to get the structure.
Migration:
1. insert as usb the new disk and delete the vg (big mistake ... but learning ..)
2. fdisk -l | grep dev to find new disk. here i got /dev/sdb
3. pvcreate /dev/mapper/luks... -v . to create the physical volume
4. pvs . to check the new pv
5. vgextend lubuntu-vg /dev/mapper/luks... . to extend our current vg to new disk
6. vgs to check. so now we have both disk in the vg
7. pvmove /dev/mapper/luks…
8. pvreduce lubuntu-vg /dev/mapper/luks...old
9. update fstab using blkid
it sort of works but very slow to boot up and shutdown down.
then i played around etc/cryptstab and update the uuid ... but now lubuntu boots up dont ask my passphrase and crash in emergency mode
any experience welcome :-)
Anyone got experience with moving everything to another hdd?
i did this
Pre Req:
install new disk, install lubuntu using full disk encryption to get the structure.
Migration:
1. insert as usb the new disk and delete the vg (big mistake ... but learning ..)
2. fdisk -l | grep dev to find new disk. here i got /dev/sdb
3. pvcreate /dev/mapper/luks... -v . to create the physical volume
4. pvs . to check the new pv
5. vgextend lubuntu-vg /dev/mapper/luks... . to extend our current vg to new disk
6. vgs to check. so now we have both disk in the vg
7. pvmove /dev/mapper/luks…
8. pvreduce lubuntu-vg /dev/mapper/luks...old
9. update fstab using blkid
it sort of works but very slow to boot up and shutdown down.
then i played around etc/cryptstab and update the uuid ... but now lubuntu boots up dont ask my passphrase and crash in emergency mode
any experience welcome :-)