LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2005, 02:25 PM   #1
hughgjohnson
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 15

Rep: Reputation: 0
Permanatly mounting a dos drive?


So I can mount my dos drive by typing

mkdir /mnt/dos
mount /dev/hda1 /mnt/dos

So I thought I would make a change to the fstab to mount this each time. I tried a few iterations, but this is not working.

Code:
/dev/hde2       /               reiserfs        defaults                1       1
/dev/hda1       /mnt/fat-c        vfat        auto,rw,umask=000         1       0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,user               0       0
/dev/fd0         /mnt/floppy      auto        noauto,user               0       0
devpts           /dev/pts         devpts      gid=5,mode=620            0       0
proc             /proc            proc        defaults                  0       0
Thanks.

Hugh
 
Old 06-13-2005, 02:33 PM   #2
naimslim89
Member
 
Registered: Mar 2005
Location: London, United Kingdom
Distribution: Fedora Core 5
Posts: 83

Rep: Reputation: 15
Just a silly question, but are you mounting to the correct directory?

You said you type:

mount /dev/hda1 /mnt/dos

But in the fstab file you type:

/dev/hda1 /mnt/fat-c vfat auto,rw,umask=000 1 0

Does this directory exist?
 
Old 06-13-2005, 02:34 PM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
what error does it give you? Did you try varying arguments (user, noauto...)? Does the dir /mnt/fat-c exist?
 
Old 06-13-2005, 03:00 PM   #4
hughgjohnson
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 15

Original Poster
Rep: Reputation: 0
DOS = Fat

AH, OK. I get it now. No, I didn't have a directory /mnt/fat-c. ... Made the directory and now I can see the files. I was copying what someone wrote on another forum/thread and didin't realize the names/directories needed to match. Hey, this is a newbie forum, right.

Thanks for the brain tweak!

I can't view the files as a user, only root. How would I change this so can see these?

Thanks.

Hugh
 
Old 06-13-2005, 03:04 PM   #5
naimslim89
Member
 
Registered: Mar 2005
Location: London, United Kingdom
Distribution: Fedora Core 5
Posts: 83

Rep: Reputation: 15
Add gid=1000 to the list of properties in the /etc/fstab file so the line looks like this:

/dev/hda1 /mnt/fat-c vfat auto,rw,umask=000,gid=1000 1 0

[No spaces in between the comma and gid=1000]
 
Old 06-13-2005, 03:46 PM   #6
hughgjohnson
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 15

Original Poster
Rep: Reputation: 0
Oh m' gawd! (said as much as a 13 year old can muster!)

This is perfect!

Thanks.

Hugh
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
help with mounting a dos partition! omanno Linux - Newbie 6 03-15-2003 10:03 PM
Mounting extended DOS partitions borgdrone Linux - Newbie 1 02-20-2003 04:47 AM
Mounting Dos partition failed!! RKris Linux - General 1 09-18-2002 09:20 AM
Mounting Dos partitions dark_light Linux - General 8 09-10-2002 10:09 PM
mounting dos ext partition mose Linux - General 6 11-13-2001 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration