Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc in separate partition?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cybermatthieu
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2004
Posts: 77

PostPosted: Fri Mar 03, 2006 1:15 am    Post subject: /etc in separate partition? Reply with quote

Hi,
I just reeinstalled my system after a hd crash. Got a new 300gb so I figured that it whould be nice to split it properly. So I tried to have my /etc on a seperate partition, but at the boot the kernel stop saying :
No inittab file found

After I just copied all my files from my /etc partition to the /etc folder on the / partion. And it booted! Is there any way we could have a /etc on a seperate partition in Gentoo. I know that the BSD people are doing it...

Thanks,
Matt
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Fri Mar 03, 2006 1:21 am    Post subject: Reply with quote

AFAIK, etc should always be mounted on the / partition as many boot up files are found there. Why do you want it on a seperate partiton? It's usually less than 50MB anyways :?
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
cybermatthieu
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2004
Posts: 77

PostPosted: Fri Mar 03, 2006 1:26 am    Post subject: Reply with quote

After checking out FreeBSD, I thought it could be nice to have it separated... I think that I'll have to find a partition resizer.

But it's posible right?

Again, I'm amased how fast this forum is!

Thanks for the super quick response!

Matt
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Fri Mar 03, 2006 1:29 am    Post subject: Reply with quote

Wouldn't this require more than one partition to be mounted at boot time? I think /etc /bin and /lib (and possibly /usr/lib) need to exist on the same parition because init needs access to these files at boot, and only / is mounted at this time. Since the root partition must never run out of space, it's probably easier to place other things that are likely to grow on separate partitions (/tmp, /var, /home, and so on).
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Fri Mar 03, 2006 1:34 am    Post subject: Reply with quote

I run FreeBSD, Solaris and Linux and I've never heard of doing that. I think it'd be quite difficult what with grub.conf, lilo.conf, fstab, inittab, the rc scripts and other files needed at boot being in the etc directory. I do back up my etc directory weekly via cron though and store it in a seperate partition. I'm not saying it's impossible, but I think it'd be really tricky and not worth the hassle unless you love a challenge :)
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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