Mount Windows Partition in Ubuntu

125 pts.
Tags:
Dual booting
Partitioning
Ubuntu Linux
I installed Ubuntu onto a WinXPP machine so that they are duo boot. The system should have automatically mounted my windows directory and created an icon on the desktop. It did not. I followed the directions and opened a bash shell and typed sudo vol_id -u /dev/sda1 Ubuntu returns the error command sudo:vol_id -u not valid command I am using sudo version 1.6.8p12 On Ubuntu Kernel 2.6.15-26-386 Is there another way to identify my windows partition so I can mount the directory?

Answer Wiki

Thanks. We'll let you know when a new response is added.

You didn’t think they were going to make this THAT easy for you did you? You did not say exactly what version you were using but this should do the trick regardless.

Issue these commands as follows and then you will be able to mount your windows partition for read/write access.

su root
cd /media
mkdir windows
nano /etc/fstab
type or paste the line: /dev/hda1 /media/windows ntfs ro,dmask=0222,fmask=0333 0 0
mount /dev/hda1
then cd /media/windows
ls (all your windows files+folders will be listed)

It was hda1 for me, since the Linux partition was hda2 (as listed in /etc/fstab) but it can be hdc, hdc1, hda, etc so you’ll have to check what the other partitions are labeled as.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following