View previous topic :: View next topic |
Author |
Message |
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Mon Oct 13, 2014 4:37 pm Post subject: Readonly root filesystem |
|
|
Hi,
I want to build a gentoo box which has a readonly file system. The box is to be deployed in an environment which has a lot of electricity failures (UPS is not an option). Is there anybody who has modified the regular install to do this?
Thanks |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Mon Oct 13, 2014 6:21 pm Post subject: |
|
|
sounds like a live-cd box or something like that.
there used to be guides for terminal only installations so when the box is restarted everything is back to the intial setup.
I think you are good when you clone such a live-cd setup and suit it to your needs. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3131
|
Posted: Mon Oct 13, 2014 7:20 pm Post subject: |
|
|
Exacly, live CD is the way to go. Easy to setup, as it's well supported by default, readonly by design, and compressed image allows you save some disk space without sacrificing much CPU.
Of course the name does not mean you have to boot it from CD . It will work just as well (or actually even better) when you boot it from disk. Just run regular install on some throw-away box, then optionaly remove stuff you don't need anymore and compress the rest into squashfs image. You will also need kernel and initramfs to boot it. Genkernel is the easiest (but not the only) way to get both of those. |
|
Back to top |
|
|
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
|
Back to top |
|
|
djdunn l33t
Joined: 26 Dec 2004 Posts: 810
|
Posted: Mon Oct 20, 2014 1:21 am Post subject: |
|
|
you can dd the newest live dvd right to the usb thumbdrive and it will work _________________ “Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”
― Plato |
|
Back to top |
|
|
|