Fazza Posted August 19, 2022 Posted August 19, 2022 I need to get some data off of an old CentOS 6 Linus server that is installed on a Hyper-V VM. I have created a new VM with UBUNTU (with a GUI) and have attached the old Virtual Hard Disk and it now appears in the Disks app: How do I access the data that is on Partition 3 as per the above screenshot. I have very limited Linux knowledge so very grateful for any help!
BlueScreen Posted August 19, 2022 Posted August 19, 2022 You will need to mount the partition before you can access the data. After selecting the partition, click on the gear icon then look for 'edit mount options'. Make a note of the 'Mount Point' options as this shows where the partition will be on the file system. You can then use the file explorer to browse for the files you need.
Fazza Posted August 19, 2022 Author Posted August 19, 2022 You will need to mount the partition before you can access the data. After selecting the partition, click on the gear icon then look for 'edit mount options'. Make a note of the 'Mount Point' options as this shows where the partition will be on the file system. You can then use the file explorer to browse for the files you need. The Edit Mount Options is greyed out:
BlueScreen Posted August 19, 2022 Posted August 19, 2022 I assume you're working from a copy of the virtual disk so that you don't accidentally remove the partition. You might just have to install LVM2 on the new VM then restart the VM to pick up the partition. To install LVM2 on ubuntu, open a new terminal window and enter the command: sudo apt install lvm2 You will have to enter a root password and confirm the install. Otherwise there is a guide to mounting LVM2 partitions here: https://www.cyberciti.biz/faq/linux-mount-an-lvm-volume-partition-command/ 1
Fazza Posted August 19, 2022 Author Posted August 19, 2022 sudo apt install lvm2 You will have to enter a root password and confirm the install. First issue sorted! After a reboot it automounted the LVM volume/partition/disk/whateverLinuxCallsIt so I can now get to the folders/files I need to make a copy of. All I need to do now is browse to the Windows Server I need to put the files on...
BlueScreen Posted August 19, 2022 Posted August 19, 2022 Here's the Ubuntu guide to connecting to network shares from the Files application: https://help.ubuntu.com/stable/ubuntu-help/nautilus-connect.html.en#types Generally for a windows (samba) share you'll connect to the server using: smb://server.FQDN/sharename (remember to add the $ if it is a hidden share). On older linux distros you'd have to install the samba client (smbclient) to access windows shares.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now