Mounting Windows partition inside Ubuntu (dual boot)

I have dual boot with Windows 10 and Ubuntu, and when I open the Files application, I can see the Windows partition in "+ Other Locations" (99Gb Volume), but I cannot see it under /media/user/:

First image

And then when I click on the Windows partition (99Gb Volume), it shows under /media/user/:

Second image

First question: Is there a way to mount it via terminal? I have a script that backs up Windows files into my external HDD, but I'd like to mount it via script, so I don't need to first open it via Files application.

Second question: Is there a way to rename this Windows partition (9866C54866C52838) to a friendlier name so I can use it in the script more easily?

1

1 Answer

Thanks @oldfred for sending me the links, I could add it to my script and now it works:

# Mount Windows Partition
mount -t ntfs-3g -o ro /dev/sda2 /media/wh9whi9d7/windows
# Backup
rsync ...
# Unmount Windows
umount /dev/sda2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like