(solved) Re: LVM: How to access a foreign volume group
Volker Wysk
post at volker-wysk.de
Wed Dec 13 08:00:58 UTC 2017
Am Sonntag, 10. Dezember 2017, 17:15:31 CET schrieb Volker Wysk:
> You can either use a recovery system without encryption and without LVM, or rename its volume-group name. You just need to do "cryptsetup open...", and the volume group of the system to be recovered will automatically emerge.
>
> In case of two encrypted-LVM-volumes, you need to rename the vg name of the recovery system. You should *not* unlock the system-to-be-recovered yet.
>
> Xen has made it clear how to rename the volume group:
>
> vgrename kubuntu-vg rescue-vg
>
> Then you must verify that /etc/fstab in the RESCUE system contains no
> references to "kubuntu-vg" and you might also have to rerun
> "update-grub" if you want to keep it this way.
>
I think, I've been happy too soon. The "update-grub" step doesn't work. I get some message "/dev/mapper/kubuntu--vg-root not found". After that, the rescue system is unbootable. (Only a test USB stick affected on my side.)
Volker
More information about the ubuntu-users
mailing list