Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Questions regarding /etc/fstab
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
shazbotus
n00b
n00b


Joined: 28 Jun 2003
Posts: 24
Location: Duke Univ.

PostPosted: Sat Jun 28, 2003 7:02 pm    Post subject: Questions regarding /etc/fstab Reply with quote

So...I have gotten this far in my gentoo install, but (the guide documents other things so well) the install guide doesnt explain too much about editting fstab. I am not sure exactly what to put for some of the options, mainly the ones like noauto and noatimes. Also, what's the deal with the <dump/pass>. Its unfortunate that it doesnt explain these even slightly in the install guide. finally, in the example fstab file it lists "proc" under the fs column for the /proc mount point, but in my fstab file that I opened on my computer, it said "none" (It also says "none" for the /dev/shm part, too). I would just like some info on what I should choose for these options. Finally, I have reiserfs for /root , and ext3 for /boot. I'm not sure which options to choose to optimize these two filesystems for how they are being used.

Sorry, I guess I am just nervous that if I make a minor mistake, especially on something like fstab, that I could mess lots up. TIA.
Back to top
View user's profile Send private message
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Sat Jun 28, 2003 7:24 pm    Post subject: Reply with quote

Regarding the /proc <-> none question:
This just changed some days ago.
You want to use 'none'.
_________________
Markus Nigbur
Back to top
View user's profile Send private message
shazbotus
n00b
n00b


Joined: 28 Jun 2003
Posts: 24
Location: Duke Univ.

PostPosted: Sat Jun 28, 2003 7:28 pm    Post subject: ok Reply with quote

Ok well that resolves that discrepancy. Thank you. However, I am still concerned about the <dump/pass> issue, what options to set for ext3 (my /boot fs) and reiserfs (my /root fs). I am assuming "none" is ok for the /dev/shm part as well.
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Sat Jun 28, 2003 7:31 pm    Post subject: Reply with quote

First of all I don't think there is anything you could do on fstab that would screw up anything other than the systems ability to boot. Then you could just go back to your chroot and try different settings. One of the reasons its not all that well documented in the install guide is because it isn't gentoo specific and hence it is very easy to find out information on it on the internet.

I'll talk you through the basics... working from the example in the install guide

Code:
/dev/BOOT           /boot       ext2    noauto,noatime    1 2
/dev/ROOT           /           ext3    noatime         0 1
/dev/SWAP           none        swap    sw              0 0
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660    noauto,ro       0 0
proc                /proc       proc    defaults        0 0


Replace BOOT with the boot partition, for instance hda1. If you don't have a boot partition comment out this line.
Replace ROOT with the root partition, for instance hda3
replace SWAP with the swap partition, for instance hda5. Again if you don't have one comment out this line.
The cdrom line should be fine. If you have 2 cdroms you might want to add a second line. e.g.
Code:
/dev/cdroms/cdrom1  /mnt/cdrom1  iso9660    noauto,ro       0 0

Of course you'll have to make the /mnt/cdrom1 directory yourself.

Leave that proc line alone.

The only other thing you have to do is make sure your filesystems correspond. In this example code /boot is ext2. Mine is ext3 so I change that. If your boot is reiserfs remember the notail option.
e.g.
Code:
/dev/hda1           /boot       reiserfs    noauto,noatime,notail    1 2

My root is reiserfs, so we change that.
That's it really. Using my examples we get

Code:
/dev/hda1           /boot       ext3    noauto,noatime    1 2
/dev/hda3           /           reiserfs    noatime         0 1
/dev/hda5           none        swap    sw              0 0
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660    noauto,ro       0 0
/dev/cdroms/cdrom10  /mnt/cdrom1  iso9660    noauto,ro       0 0
proc                /proc       proc    defaults        0 0


For any more information have a look at
man fstab and man mount, these contain the information about the options you requested.

Enjoy. :-D
_________________
Where there's open source , there's a way.
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