Mount Windows Partition in Ubuntu
125 pts.
0
Q:
Mount Windows Partition in Ubuntu
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?
ASKED: Aug 6 2008  6:14 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
7305 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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.
Last Answered: Aug 11 2008  12:05 AM GMT by KarlG   7305 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0