[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing on a small root partition



Anil Gupte wrote:
BlankNeed help and advice.
This system happens to be in a place where there are frequent power
losses.  So, my plan is to have a small root partition (say about
100MB), and make it a read-only partition.  This way, there will be
no corruption on constant reboots.  The apps, logs etc will be on a
separate partition.

Look at the installation manual, in particular:
http://www.de.debian.org/releases/stable/i386/ch02s05.html.en
http://www.de.debian.org/releases/stable/i386/apbs02.html.en

Also read the reminder of appendix B.

/etc has to be a subdirectory of / *and* /etc has to be writable on boot (/etc/mtab contains mount information). This renders your scenario very difficult, if not impossible to achieve.

http://gentoo-wiki.com/HOWTO_Read-only_root_filesystem
lists some suggestions for gentoo.

I suggest, like another poster, to use a journaling fs like ext3 as your root partition.

IIRC /usr could be turned in a read-only partition, since it contains only static information and has to be mounted rw only on software upgrades.

HTH,
Johannes

PS: Don't attach unnecessary gifs to your mails.



Reply to: