Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Spaz17
n00b
n00b


Joined: 01 Jan 2004
Posts: 41
Location: /home/spaz

PostPosted: Sun Jan 04, 2004 5:22 pm    Post subject: fstab issue Reply with quote

i cant get /backup or /boot to mount
--i cant access them after booting

Code:

/dev/hda1               /boot           ext3            noauto,noatime          1 2
/dev/hda2               none            swap            sw                      0 0
/dev/hda3               /               ext3            noauto,noatime          0 1
/dev/hda4               /backup         ext3            noauto,noatime          0 1
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro               0 0
none                    /proc           proc            defaults                0 0
none                    /dev/shm        tmpfs           defaults                0 0


help?
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Sun Jan 04, 2004 5:40 pm    Post subject: Reply with quote

First, why do you have / with the "noauto" option? That option is for filesystems that you do not want to be mounted at boot. / needs to be mounted at boot.

Only thing I can think of for not being able to mount /boot or /backup is that you are not the superuser when trying to mount them. Could you give us the exact error message that you get when you try to mount them?

Also, some of your dump and fsck options (trailing numbers at the end of each /etc/fstab line) are a little screwy, but that shouldn't affect your ability to mount them. I'd check the fstab man page to set those properly.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
GenKiller
n00b
n00b


Joined: 04 Mar 2003
Posts: 66
Location: United States of America

PostPosted: Sun Jan 04, 2004 5:41 pm    Post subject: Reply with quote

Are you trying to mount them as root?

If you want a user to be able to mount/unmount the partitions you need to specify 'user' as an option in fstab.

For example:

/dev/hda4 /backup ext3 noauto,noatime,user 0 1
_________________
http://www.digital-drip.com
Back to top
View user's profile Send private message
Spaz17
n00b
n00b


Joined: 01 Jan 2004
Posts: 41
Location: /home/spaz

PostPosted: Sun Jan 04, 2004 5:47 pm    Post subject: Reply with quote

to clearify:
its not that _im_ trying to mount them, its that i want the system to at boot

its the 5th and 6th fields --the fs_freq and fs_passno that really confuse me
the man entry mentions dumping, and i am clueless

so, basically, im asking what the 5th and 6th fields should be
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Sun Jan 04, 2004 5:55 pm    Post subject: Reply with quote

To mount /boot and /backup at boot time, just remove the "noauto" option. The dump command is simply a backup utility IIRC, if you don't intend to use it don't worry about it. I have every dump/pass option set to 0 0 in my /etc/fstab, but you might want to have it differently. 0 0 just means those filesystems will get skipped for dump and fsck. I'm not advocating this setup, it's just the setup I use.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum