LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-21-2005, 01:43 AM   #1
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
I'm not able to mount windows partitions as rw


Hi, I just installed ubuntu today. I'm having a problem mounting my windows paritions as rw. Here's my /etc/fstab:

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda3       /               ext2    defaults,errors=remount-ro 0       1
/dev/hda4       /home           ext2    defaults        0       2
/dev/hdc3       none            swap    sw              0       0
/dev/hda1       /mnt/c          auto    auto,user,rw    0       2
/dev/hda2       /mnt/ranjan     auto    auto,user,rw    0       2
/dev/hdc1       /mnt/windows    auto    auto,user,rw    0       2
/dev/hdd        /media/cdrom0   udf,iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
The directory permissions in /mnt/ are:

Code:
drwxr-xr-x  28 root root  16K 1970-01-01 05:30 c
drwxr-xr-x  26 root root 8.0K 1970-01-01 05:30 ranjan
drwxr-xr-x  13 root root 4.0K 1970-01-01 05:30 windows
And here's an output of /proc/mounts:

Code:
rootfs / rootfs rw 0 0
/dev2/root2 / ext2 rw 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
/dev2/root2 /.dev ext2 rw 0 0
none /dev tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda4 /home ext2 rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/hda1 /mnt/c vfat rw,nodiratime,nosuid,nodev,noexec,fmask=0022,dmask=0022 0 0
/dev/hda2 /mnt/ranjan vfat rw,nodiratime,nosuid,nodev,noexec,fmask=0022,dmask=0022 0 0
/dev/hdc1 /mnt/windows vfat rw,nodiratime,nosuid,nodev,noexec,fmask=0022,dmask=0022 0 0
Still I'm not able to edit/create any file on the partitions. I also ran fsck on the drives, but still doesn't work. Can someone help?
 
Old 05-21-2005, 01:54 AM   #2
mrbass
LQ Newbie
 
Registered: Jul 2004
Posts: 25

Rep: Reputation: 15
chmod -R 777 /mnt/c
chmod -R 777 /mnt/ranjan
chmod -R 777 /mnt/windows

failing that..maybe try
/dev/hda1 /mnt/c auto auto,user,rw 0 2
change to
/dev/hda1 /mnt/c auto auto,user,rw,umask=0000 0 2
 
Old 05-21-2005, 02:11 AM   #3
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 30


Thanks a lot. I added umask=0000 0 2 and it works now
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount windows xp partitions in ubuntu newbieSC Linux - Newbie 8 04-20-2005 09:47 PM
need help to mount and add Windows Partitions ilectrcbob Linux - Newbie 7 06-03-2004 07:56 AM
Unable to mount Windows partitions ! shankariyer Red Hat 8 12-22-2003 07:02 AM
Not seeing windows partitions with df and mount command deepika Linux - General 5 07-15-2003 04:04 PM
Mount Windows Partitions? RedHatMN Linux - Newbie 9 12-15-2001 11:49 AM


All times are GMT -5. The time now is 08:49 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration