LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Canßt write on new HD (https://www.linuxquestions.org/questions/linux-newbie-8/can%DFt-write-on-new-hd-69603/)

Fin-Fin 07-02-2003 01:18 PM

Canßt write on new HD
 
I´ve had a windows HD installed (FAT 32)everything was fine, but I can´t do any Actions on it. I can read the files, but that´s all. I can´t create Folders or so. I´m using Suse 8.2 with KDE.

aherm 07-02-2003 01:24 PM

Can you post your:

/etc/fstab

Maybe it's on ro (read only) mode.

Fin-Fin 07-02-2003 02:39 PM

I´m sorry, but I´m a reeal noob in Linux, so I don´t know what you mean with /etc/fstab I wrote it in a shell window, but it said, I´m not allowed to do this action

DrOzz 07-02-2003 02:44 PM

well all you have to do is log into your terminal window as root, which is done by typing "su" and then type your root password, and then open up the file fstab which is located in the /etc folder (/etc/fstab) and copy and paste the contents of that file so we can see what it says in there...
some text editors are vi, pico, emacs to name a couple..

aherm 07-02-2003 03:51 PM

Or using all mouse only: open konqueror, click home, click up twice, click etc folder, click fstab file (it will open in KWrite), block all, click copy.. and paste in Your Reply using midle click (all using mouse).

Fin-Fin 07-03-2003 10:01 AM

All right, here is my fstab:

/dev/hda6 / reiserfs defaults 1 1
/dev/hda1 /windows/C vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hda5 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/hdc1 /home2 vfat defaults 0 0
/dev/hdb1 /temp vfat defaults 0 0

Fin-Fin 07-03-2003 10:22 AM

the 2 I can´t edit are: home2 and temp

aherm 07-03-2003 10:49 AM

Now edit it like this (you need to be root):
Change from:

/dev/hdc1 /home2 vfat defaults 0 0
/dev/hdb1 /temp vfat defaults 0 0

to:

/dev/hdc1 /home2 vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hdb1 /temp vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0

Have fun :-)

michaelk 07-03-2003 10:53 AM

There are tons of threads on how to mount vfat paritions read / write that you can search for on this site. But wait...

Look at your fstab entry for /dev/hda1. Use those options instead of defaults and but change umask=002 to umask=000.

Look at man pages for mount and fstab for additional help.


All times are GMT -5. The time now is 07:10 AM.