LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-19-2004, 11:24 PM   #1
gbarny
Member
 
Registered: Jul 2003
Location: Aust
Distribution: Suse
Posts: 41

Rep: Reputation: 15
fstab vfat read write prob


Hi

I have three HDD's

what I would like is
1 EXT3 (O/S)
2 NTFS(Read access, only files, no O/S loaded)
3 FAT32(Read Write Access, currently blank)

I am having problems getting the fat32 drive to read write, any help would be appreciated.

/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/hdd,fs=auto,ro,exec,--,umask=0,user,iocharset=iso8859-1,codepage=850,noauto 0 0
/dev/hdb1 /mnt/win_c ntfs umask=0022,user 0 0
none /proc proc defaults 0 0
/dev/hdc1 /mnt/win_c2 vfat users,owners,rw 0 0
/dev/hda1 swap swap defaults 0 0

This config gives me the error:
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
or too many mounted file systems

MDK 10 Official
kernel 2.6


Hope this makes sence, I have only been speaking english for 34 years.
 
Old 06-20-2004, 12:48 AM   #2
lasindi
Member
 
Registered: Apr 2004
Distribution: Slackware, Ubuntu
Posts: 101

Rep: Reputation: 15
I've had similar problems. Right now I have two hard drives. One is 40 GB and has both Windows and Linux installed. The other is 812 MB big (it's about 10 years old; a friend gave me a computer with it inside, so I had to find some use for it) and is completely filled with a FAT partition. Right now, I'm having issues with my Linux modem driver, so I have to boot Windows to access the Internet. When I want transfer something from Windows to Linux (usually downloads, like Linux sources), I put it onto the second hard drive. Since I got the same errors when I tried to use /etc/fstab, what I did was put "mount /dev/hdb1 /mnt/hdb1" (this could of course, be any directory, I just made my own there) in my bash profile for root. This way, I could log in as root and transfer the files. I still can't write to the second hard drive in Linux, presumably because of FAT.

Since I don't usually login as root, using /etc/fstab would really be nice. At least in my situation, though, since compiling and installing the kernel takes root access, it's not too bad.

What confuses me is why you have NTFS or FAT partitions when you don't have Windows installed. Why not just use good ol' ext3?

lasindi
 
Old 06-20-2004, 01:08 AM   #3
gbarny
Member
 
Registered: Jul 2003
Location: Aust
Distribution: Suse
Posts: 41

Original Poster
Rep: Reputation: 15
It works.
This seems to work, but I don't know how i did it, this is a result of trial and error

/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/hdd,fs=auto,ro,exec,--,umask=0,user,iocharset=iso8859-1,codepage=850,noauto 0 0
/dev/hdb1 /mnt/win_c ntfs umask=0022,user 0 0
none /mnt/win_c2 supermount dev=/dev/hdc1,fs=vfat,exec,--,umask=0,users 0 0
none /proc proc defaults 0 0
/dev/hda1 swap swap defaults 0 0
 
Old 06-20-2004, 01:19 AM   #4
gbarny
Member
 
Registered: Jul 2003
Location: Aust
Distribution: Suse
Posts: 41

Original Poster
Rep: Reputation: 15
It works.
This seems to work, but I don't know how i did it, this is a result of trial and error

/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/hdd,fs=auto,ro,exec,--,umask=0,user,iocharset=iso8859-1,codepage=850,noauto 0 0
/dev/hdb1 /mnt/win_c ntfs umask=0022,user 0 0
none /mnt/win_c2 supermount dev=/dev/hdc1,fs=vfat,exec,--,umask=0,users 0 0
none /proc proc defaults 0 0
/dev/hda1 swap swap defaults 0 0

Quote:
Originally posted by lasindi
What confuses me is why you have NTFS or FAT partitions when you don't have Windows installed. Why not just use good ol' ext3?
lasindi
It's not confusing, the NTFS drive is a120GB drive full to capacity and I can't be bothered copying it off, redo the drive FS and copying it back, I only ever use it to referance data and havent yet needed to write too it. and the FAT32 drive is mounted in a HDD caddy that I take to work.

cheers
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
write permissions in /etc/fstab for vfat filesystem btb Linux - Newbie 5 10-24-2005 01:37 PM
Accessing vfat as read/write rknetsch Linux - General 4 06-17-2005 01:09 PM
mount vfat read/write problem dhammika Linux - General 4 08-27-2004 06:25 AM
Open office read only, K-write read/write mode lwtvh Linux - Newbie 1 07-19-2003 11:33 AM
user can't read/write (vfat) partition MykilX Slackware 6 07-04-2003 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:22 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration