Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60887 - LiveCD /etc/fstab file sometimes confusing newbies...
Summary: LiveCD /etc/fstab file sometimes confusing newbies...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-19 06:01 UTC by Thomas Gatliff
Modified: 2004-09-13 07:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Gatliff 2004-08-19 06:01:38 UTC
The /etc/fstab file on the live CD is identical to the fstab file the new user needs to modify during install at /mnt/gentoo/etc/fstab and is sometimes causing confusion.  This is the second time I have gotten a call from a friend that was confused by their current base root location (ie. chroot()) and accidentally modified the /etc/fstab file thinking they were actually modifying /mnt/gentoo/etc/fstab during install.

This is obviously a user error with no issue to the LiveCD itself, but the /etc/fstab file on the LiveCD is not required anyway unless we want a copy.  Maybe we could just delete it, or rename it to /etc/fstab.example?

Reproducible: Always
Steps to Reproduce:
1. create a base LiveCD install
2. nano -w /etc/fstab
3. nano -w /mnt/gentoo/etc/fstab
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-19 06:24:18 UTC
Actually, we're working on making the prompt different from the livecd and within the chroot.  That should fix most of the problems people are having.  We actually use the fstab on the livecd.  If you notice, it is slightly different from the one in the stages/baselayout.  We could, instead, remove the fstab and create one with *only* what we need, rather than simply appending to the bottom of the current one.

Adding zhen, since he's the catalyst junky.
Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2004-08-19 06:51:03 UTC
We can always put a big comment on the livecd fstab, in the lines of "This isn't the real fstab" or "You shouldn't edit this fstab"...
Comment 3 Benjamin Judas (RETIRED) gentoo-dev 2004-08-19 07:15:31 UTC
Probably we can put a sed-call or something like that into catalyst that appends

#################################################
## ATTENTION : THIS IS THE FSTAB ON THE LIVECD ##
#################################################

Reassigning to zhen
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2004-09-13 07:27:17 UTC
fixed in CVS