Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
install gentoo and then freeze (make it read-only)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Wed Sep 30, 2009 12:57 pm    Post subject: install gentoo and then freeze (make it read-only) Reply with quote

Hi,

I am looking for a way to
  • make my fine-tuned as-is gentoo system read-only
  • copy it to a USB stick,
  • and boot from there.
  • From time to time I would then (temporarily) make the system read-/writable again to update packages/change configs.
  • (I can not use live cd and others since my system is completely fine-tuned.)
  • (I'd like to temporarily make the system writable to update packages/configs.)

Background: I have some long-living servers with gentoo running which shall be booted from USB stick to remove the harddisks.

Could anyone list the topics I need to deal with to achieve that?
I believe I should not simply copy it all to stick since USB flash RAM does not like lots of file changes etc.

Thank you
Felix


Last edited by f.kater on Wed Sep 30, 2009 4:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Wed Sep 30, 2009 1:30 pm    Post subject: Reply with quote

Hello,

You can take a look at catalyst, which generate live CDs.

I think there are also topics about Gentoo live CDs in the Wiki.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Wed Sep 30, 2009 4:06 pm    Post subject: Reply with quote

Thanks a lot for catalyst. However, the info how to make an EXISTING build usable on a READ-ONLY media is not easy to get from there.

To put it in simple words:

I believe I only need to know what programs need to be changed to not write to disk.
  • disable swap (obviously)
  • redirect syslog (how?)
  • what else...
?
Back to top
View user's profile Send private message
boerKrelis
Apprentice
Apprentice


Joined: 01 Jul 2003
Posts: 241
Location: The Netherlands

PostPosted: Wed Sep 30, 2009 9:29 pm    Post subject: Reply with quote

Unless you take special action /var and /tmp need to be writable. The rest can probably be mounted readonly.
So look under /var to find which programs you'll need to reconfigure for readonly operation, and you may be able to pull this off.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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