LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2011, 03:59 PM   #1
noony123
Member
 
Registered: Oct 2010
Posts: 167

Rep: Reputation: 0
/etc in different partition


Hi all

I am asking this just out of curiosity, pls guide me

i am using vmware and centos. Upon installing, i chose custom layout. Now i want to create /etc on a seperate parition. But when i select /etc as mount point, it gives me error.

Can someone tell me how to mount /etc (or /bin or so on) on different partitions ?
 
Old 03-05-2011, 04:02 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you fancy telling us what this error is, or is it a secret?
 
Old 03-06-2011, 03:48 AM   #3
noony123
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: 0
Oh i am sorry, pls here is the error i got

Error with Request

This mount point is invalid. The /etc directory must be on the / file system.

Kindly guide me
 
Old 03-06-2011, 04:24 AM   #4
coolsreejith
LQ Newbie
 
Registered: Oct 2010
Distribution: CentOS 5.5
Posts: 23

Rep: Reputation: 2
there are certain partitions that need to be on the / (root) directory like /etc /bin /sbin etc.. you cannot make a seperate partition for these
 
1 members found this post helpful.
Old 03-06-2011, 07:04 AM   #5
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 283

Rep: Reputation: 65
i also though of it as impossible untill i come across this blog:
http://blog.tuxopia.net/2010/03/boot...partition.html
 
1 members found this post helpful.
Old 03-06-2011, 10:37 AM   #6
noony123
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: 0
Dear Sir,

I came around this link, but i end up thinking, whats the real need of keeping /etc on a separate partition ? I think we can do it, and its good for learning purpose, but not more then that.
 
Old 03-06-2011, 03:07 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Well /etc contains certain files critical to boot up, fstab, inittab and all sorts of other startup scripts. If /etc isn't part of /, then where is it?? How do you continue? given than /etc would generally be about 2mb max, why would you ever need to move it? if you are concerned about sharing space, then it should be the other data that should be moved.
 
  


Reply


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
HowTo convert Primary Partition to Logical (ie move it inside the Extended Partition) Tom6 Linux - Software 3 11-29-2010 04:40 PM
tricky backup of Linux system to NTFS partition to increase partition size Pandarsson Linux - General 5 07-09-2008 03:35 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 11:46 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 01:55 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM


All times are GMT -5. The time now is 03:07 PM.

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