I have a dual boot system. I replaced Windows 98 with 2000. To my surprise grub remained intact and I can boot into 2000. But in suse 9.1, I can't mount /windows/c. It looks properly set up in /etc/fstab, but it complains it cant open /etc/mtab for writing; permission denied. What do I need to change to mount the windows drive? -- Bob Rea mailto:gapetard@stsams.org http://www.petard.us http://www.petard.us/blog http://www.petard.us/gallery Time is the best teacher. Unfortunately it kills all its students.
Bob, On Tuesday 10 August 2004 16:17, Bob Rea wrote:
I have a dual boot system. I replaced Windows 98 with 2000. To my surprise grub remained intact and I can boot into 2000. But in suse 9.1, I can't mount /windows/c. It looks properly set up in /etc/fstab, but it complains it cant open /etc/mtab for writing; permission denied. What do I need to change to mount the windows drive?
Is it possible you've lost the setuid bit on your copy of the "mount" command? Try this command: % ll /bin/mount The output should look something like this: -rwsr-xr-x 1 root root 87360 2004-05-27 07:55 /bin/mount* Note the 's' in the mode bits. If your mount executable does not have this bit, it would explain your symptom. To reinstate it, become root and issue this command: % chmod u+s /bin/mount And then retry your mount command. Another thing you'll need to do is make sure that the entry in /etc/fstab for your Windows C: drive has the "user" option included. Here's an fstab entry from my system for a Windows NTFS volume: /dev/sdb1 /win/D ntfs user,umask=0 0 0 If you don't include the user option and attempt to mount the volume as a user other than root, you'll see a distinct diagnostic: %mount /dar mount: only root can mount /dev/sda3 on /dar
-- Bob Rea
Randall Schulz
On Tuesday 10 August 2004 19:40, Randall R Schulz wrote:
Bob,
On Tuesday 10 August 2004 16:17, Bob Rea wrote:
I have a dual boot system. I replaced Windows 98 with 2000. To my surprise grub remained intact and I can boot into 2000. But in suse 9.1, I can't mount /windows/c. It looks properly set up in /etc/fstab, but it complains it cant open /etc/mtab for writing; permission denied. What do I need to change to mount the windows drive?
/trimmed/ I thought you couldn't normally write to Windows ntfs. (I know there are a couple of programs that claim to, but they're not a standard part of SuSE 9.1.) I have XP(ntfs) on a drive and I can read it, but not write to it. AAMOF, it shows up in "This Computer". Comment? --doug
Doug, On Tuesday 10 August 2004 17:37, Doug McGarrett wrote:
On Tuesday 10 August 2004 19:40, Randall R Schulz wrote:
Bob,
On Tuesday 10 August 2004 16:17, Bob Rea wrote:
I have a dual boot system. I replaced Windows 98 with 2000. To my surprise grub remained intact and I can boot into 2000. But in suse 9.1, I can't mount /windows/c. It looks properly set up in /etc/fstab, but it complains it cant open /etc/mtab for writing; permission denied. What do I need to change to mount the windows drive?
/trimmed/
I thought you couldn't normally write to Windows ntfs. (I know there are a couple of programs that claim to, but they're not a standard part of SuSE 9.1.) I have XP(ntfs) on a drive and I can read it, but not write to it. AAMOF, it shows up in "This Computer". Comment? --doug
As far as I know, you're right. NTFS is read-only. FAT is read-write. However, the symptom reported by the OP was that when he invoked the "mount" command it was unable to write to the (Linux) /etc/mtab file, which is used to maintain a record of the currently mounted file systems. Randal Schulz
Bob Rea wrote:
I have a dual boot system. I replaced Windows 98 with 2000. To my surprise grub remained intact and I can boot into 2000. But in suse 9.1, I can't mount /windows/c. It looks properly set up in /etc/fstab, but it complains it cant open /etc/mtab for writing; permission denied. What do I need to change to mount the windows drive?
Is the W2000 partition NTFS or FAT?
participants (4)
-
Bob Rea
-
Doug McGarrett
-
James Knott
-
Randall R Schulz