|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
/etc on a separate partition
Hi,
I had to reinstall FBSD and wanted to setupt /etc on a separate partition. The Setup run fine. But after reboot the root partition coudn't be mounetd. The boot process stoped with the prompt mountroot>. I gave him root ... and the system booted. I wanted to take a look in /etc/fstab but there was no such file, and the /etc was empty. Can somebody explain to me why is impossible to set /etc on separate partition ? Thans DarkEnergy |
|
|||
nope ...
hmm interesting. I'll try this in a virtual machine. FBSD is running now but /etc is just a directory under / |
|
|||
Theoretically, couldn't you have an /etc directory on the root slice with just /etc/fstab in it? And that /etc/fstab would contain the slice to mount on /etc ? It's an awful, awful, hack, something I would never recommend, but it would probably work.
|
|
|||
So it could be done if you copied /etc/rc and various other files under /etc to the unmounted /etc. Which makes it completely pointless :-)
|
|
|||
/etc should always be on the root partition, a simple fact.. sorry..
|
|
||||
Any good reason for that mate?
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
Just for fun I tried creating a separate partition/label for "/etc" on OpenBSD a few years ago. It didn't work.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Also size of /etc is few megabytes and making special partition/slice for it is clueless.
|
|
||||
The only time I could think there would be a point to /etc not being on / is if it was mounted *read only* over NFS and shared on a large group of machines or some thing to that effect.
In which case I would guess people would want to eventually read the diskless operation parts of the handbook. Or just rsync /etc via ssh ontop of a minimal /etc.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
Or export an image via NFS and use unionfs to fill up the missing parts
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cannot activate partition in XP. | bsdnewbie999 | OpenBSD Installation and Upgrading | 6 | 4th May 2009 05:21 PM |
Recommended Partition Layout | MetalHead | OpenBSD Installation and Upgrading | 12 | 30th November 2008 10:08 AM |
disklabel don't see OpenBSD partition | piotrk | OpenBSD General | 4 | 25th September 2008 06:14 PM |
swap partition | lumiwa | FreeBSD General | 6 | 11th September 2008 03:57 PM |
Adding a separate /home | JMJ_coder | NetBSD General | 2 | 29th August 2008 10:45 AM |