Ubuntu – Mounting Windows partition inside Ubuntu (dual boot)

command linedual-bootmountwindows 10

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?

Best 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