Alright, so I connected my old linux SSD to my new machine via a USB adapter and only a small partition shows up, not my home files.
-
wrote last edited by [email protected]
Alright, so I connected my old linux SSD to my new machine via a USB adapter and only a small partition with OS stuff shows up, not my home / user files.
Edit: had to learn LVM2 nonsense and would around a bug with falsely active groups >_<
-
Alright, so I connected my old linux SSD to my new machine via a USB adapter and only a small partition with OS stuff shows up, not my home / user files.
Edit: had to learn LVM2 nonsense and would around a bug with falsely active groups >_<
@[email protected] you have to first use
vgscan
to find the name of the volume group and then it should be something likevgchange -ay VolumeGroupName
to activate it. And then you can lookup the logical volume withlvs
, create a mount point somewhere (just a directory) and THEN mount itmount /dev/VolumeGroupName/LogicalVolumeName /mnt/yourmountpoint
All with sudo, all without breaking your system 🥲 -
@[email protected] you have to first use
vgscan
to find the name of the volume group and then it should be something likevgchange -ay VolumeGroupName
to activate it. And then you can lookup the logical volume withlvs
, create a mount point somewhere (just a directory) and THEN mount itmount /dev/VolumeGroupName/LogicalVolumeName /mnt/yourmountpoint
All with sudo, all without breaking your system 🥲@[email protected] before turning off the usb drive do
umount /mnt/yourmountpoint
lvchange -an <lvpath>
vgchange -an <vgname>
-
@[email protected] you have to first use
vgscan
to find the name of the volume group and then it should be something likevgchange -ay VolumeGroupName
to activate it. And then you can lookup the logical volume withlvs
, create a mount point somewhere (just a directory) and THEN mount itmount /dev/VolumeGroupName/LogicalVolumeName /mnt/yourmountpoint
All with sudo, all without breaking your system 🥲@helpsterTee Thanks. I already just did it though... but there was a bug at the final step so I had to toggle the group on and off. I got my files now.
-
@helpsterTee Thanks. I already just did it though... but there was a bug at the final step so I had to toggle the group on and off. I got my files now.
@[email protected] great! I hate lvm with passion.
-
@[email protected] before turning off the usb drive do
umount /mnt/yourmountpoint
lvchange -an <lvpath>
vgchange -an <vgname>
@helpsterTee Oh, so a special unmounting procedure as well? Because of course, right? Might format the drive after backing up though.
-
@[email protected] great! I hate lvm with passion.
@helpsterTee Had to use vgchange like this. Not sure what the error was about but I didn't want to mess with the drive before attempting to backup...