I was trying to update Java and I used a star to make sure it was removed completely not realizing it would mess up everythingI usedapt-get remove java*this was on the Ubuntu 16.0 or something server. I now have sysrcd or System Rescue CD on the server and I'm attempting to get my old files back to put them on a new server and reload the sysrcd server back to Ubuntu. However I can't seem to figure out how to use the mount system.I've tried runningfdisk -land I getDisk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0x04a5ca62Device    Boot     Start       End    Blocks  Id System/dev/sda1 *         2048      4095      1024  83 Linux/dev/sda2           6142 468860927 234427393   5 Extended/dev/sda5           6144   2004991    999424  83 Linux/dev/sda6        2007040 468860927 233426944  8e Linux LVMDisk /dev/mapper/vg-root: 221.6 GiB, 237879951360 bytes, 464609280 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mapper/vg-tmp: 976 MiB, 1023410176 bytes, 1998848 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mapper/vg-swap: 88 MiB, 92274688 bytes, 180224 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesI'm not sure which drive to mount or how to mount it. Can someone help?
How do I mount an LVM partition?
ubuntu;lvm
A few more steps are needed when mounting an LVM partition vs. a non-LVM partition.sudo apt-get install lvm2   #This step may or may not be required.sudo pvscan                 #Use this to verify your LVM partition(s) is/are detected.sudo vgscan                 #Scans for LVM Volume Group(s)sudo vgchange -ay           #Activates LVM Volume Group(s)sudo lvscan                 #Scans for available Logical Volumessudo mount /dev/YourVolGroup00/YourLogVol00 /YourMountPoint