Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-23-2004, 03:33 PM   #1
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Changing location of /etc/fstab?

I know the topic sounds weird, stupid, and pointless, but if you listen to what I have to say, it might make a little sense.

I'm planning on using a custom Live CD (using, and Slackware Linux) with all of my configuration/documents/whatever on a USB Pen Drive. All of my data such as massive files, videos, games, whatever I don't need would go on my harddrive so if I need to format, it doesn't matter.

I'm planning on having /etc and /home on my pen drive, and mounting the HD on something like /drive. This would allow me to move my entire OS from place to place with just a CD and a Pen Drive with me, with all the programs, configuration, and my data.

The problem with this is, with fstab in /etc, there is no way for me to do this, because it reads this file at startup to mount the drives, and if the USB drive isn't mounted yet, then it can't get the file to tell it to mount it (did that make any sense?).

Is there a way to MOVE /etc/fstab to some other location, such as /boot/fstab or just plain /fstab, or can I instead have JUST /etc/fstab on the Live CD, but have it mount on /etc afterwards (I'm not exactly sure how that would pan out, it might not work...) or possibly 'rm' /etc/fstab in the ovlfs, then mount it properly?

Or maybe one of you has a better idea for me. I can't fit everything on the USB Drive and use DSLinux or something of the sort, I'm wanting pretty much EVERY program I use on this thing

Old 11-23-2004, 04:36 PM   #2
Registered: Feb 2004
Posts: 307

Original Poster
Rep: Reputation: 30
I forgot that I can only have one CD drive plugged in at a time (after the power failure for about 2 seconds, my Secondary Slave IDE port and my DVD drive were fried!).

I think I'm still going to do something similar, but not exactly the same. I'm going to try to have one partition for everything, except have my USB drive store /etc and /home, so my question still stands.

Any ideas yet?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing the temp location? fred22 Linux - Newbie 4 06-30-2004 10:15 AM
Changing Orbit tmp location ciaran_skye Mandriva 0 06-15-2004 01:37 PM
Changing physical location of directories Linus VanPelt Mandriva 2 02-23-2004 07:42 AM
Changing boot location podollb Linux - Hardware 8 10-15-2003 02:48 AM
changing hard drive location thelight1 Linux - Hardware 3 10-12-2003 06:20 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration