editing the file fstab

Comments, suggestions and questions about Linux Format magazine and the coverdiscs

Moderators: ChrisThornett, LXF moderators

editing the file fstab

Postby niceguy » Sun Jul 03, 2005 12:07 am

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. :lol:
niceguy
 
Posts: 7
Joined: Fri Jul 01, 2005 11:19 am

RE: editing the file fstab

Postby niceguy » Sun Jul 03, 2005 2:39 am

well folks I think I have it figured out now. But still not sure about the dvd and cdrom part.
niceguy
 
Posts: 7
Joined: Fri Jul 01, 2005 11:19 am

RE: editing the file fstab

Postby nelz » Sun Jul 03, 2005 7:17 am

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.
User avatar
nelz
Site admin
 
Posts: 8552
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK


Return to Magazine and coverdiscs

Who is online

Users browsing this forum: No registered users and 0 guests