Re: [SLUG] hdd

From: Paul M Foster (paulf@quillandmouse.com)
Date: Mon Sep 15 2003 - 00:58:58 EDT


On Sun, Sep 14, 2003 at 11:47:41PM +0200, Maurice Wilson wrote:

> Eben King wrote:
>
> >On Sun, 14 Sep 2003, Maurice Wilson wrote:
> >
> >
> >
> >>I have a second small drive that I keep stuff backed to that was
> >>formatted and set up with windows but has worked well with Mandrake.
> >>My problem is when Debian boots up it mounts as" Hard Disk Partition
> (hdc1)"
> >>there is an icon on the desk top and I can access the drive and xfer
> >>data to the Debian drive BUT I can't write to the drive or create a
> >>folder on the drive.
> >>
> >>
> >
> >Look in /etc/fstab for lines beginning with /dev/hdc1 . See if 'ro' is in
> >the fourth column. If so, change it to 'rw' (if the filesystem is not
> >NTFS); if not, add 'rw' (ditto). If the filesystem is NTFS, it's
> >dangerous to mount it rw. In that case, you're better off sharing data
> >through a FAT32 partition that both OSes can read from and write to.
> >
> >
> >
> Thanks Eben
> The Debian drive is an ata 100 20gb drive and I set it up as ext3,
> however the small backup drive is
> only about 550mb so it is probably only fat 16. I can't remember but I
> don't think a drive that size can be a fat32
> I was using it with windows and when I switched to Mandrake it just
> worked and I gave it no thought. Guess I need to get another drive.
> Strange that it has worked all this time with mandrake.
> the line in fstab reads "/dev/hdc1/mnt/hdc1 ufat
> noauto.users.exe,unmask=000,u10=knoppix.g10=knoppix 00"

I'm assuming that you hand wrote the above line from your /etc/fstab. If
not, then there may be some clues about why it doesn't work right. The
"ufat" above should be "vfat". The line above also does not have a mount
point. Normally, the line would start this way:

/dev/hdc1 /mnt/hdc1

with the second parameter being the mount point. You also have to ensure
that that mount point (directory) exists. I also assume that for the
parameters after this, you actually have commas instead of periods. The
"unmask" above should be "umask". The "u10" should be "uid", and the
"g10" should be "gid". The username you're giving uid and gid
("knoppix") should be numeric, and they should be the numeric user ID
and group ID of an actual user on your system. Otherwise, you may be
able to read the drive, but may not be able to write to it.

Likewise, ensure that the user who is writing to the drive is the owner
of the drive, or root. You can't write to a drive owned by a different
user, unless you're root.

Paul
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:40:26 EDT