Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

editing the file fstab

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Magazine and coverdiscs
View previous topic :: View next topic  
Author Message
niceguy



Joined: Fri Jul 01, 2005 12:19 pm
Posts: 7

PostPosted: Sun Jul 03, 2005 1:07 am    Post subject: editing the file fstab Reply with quote

Hi guys,
Am installing gentoo at the moment and with some help from the forum all has gone well.All thats left is to edit the fstab file and am almost there.
now according to the handbook the file should go something like this
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 noatime 0 1
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0



but my problem is that I have a file like this

/dev/Boot /boot ext2 defaults,noatime 1 2
/dev/swap none swap sw 0 0
/dev/ROOT / xfs noatime 0 1
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0



The thing is my hda3 is ext3
Is root the same as hda3? do I change xfs to ext3?
and I have both a cdrom and a dvd drive and am not too sure how to proceed!
Almost there but any help would be nice. Laughing
Back to top
View user's profile Send private message
niceguy



Joined: Fri Jul 01, 2005 12:19 pm
Posts: 7

PostPosted: Sun Jul 03, 2005 3:39 am    Post subject: RE: editing the file fstab Reply with quote

well folks I think I have it figured out now. But still not sure about the dvd and cdrom part.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8449
Location: Warrington, UK

PostPosted: Sun Jul 03, 2005 8:17 am    Post subject: RE: editing the file fstab Reply with quote

The default fstab is just a templete. As the handbook says, replace the device names and filesystem types with those you used when partitioning your drive at the start of the installation. Chanhe /dev/ROOT to whatever partition you installed Gentoo on. Your CD and DVD drives will be /dev/cdroms/cdrom0 and /dev/cdroms/cdrom1. CD and DVD drives are treated the same.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Magazine and coverdiscs 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
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast