You are not logged in.
I want to set up a new machine that is essentially a "live" environment-- in that when it is shut down, it reverts back to the state it was in at boot up. The only issue I have found so far is that I need to find a way to put this environment on a hard disk, meaning that I cannot be booting/running from a flash disk or cd at all times. Does anyone have an idea how best to tackle this? Points for a way to update the image easily as well!
EDIT: Okay, so the best way I thought of to do this (so far) would be to remaster the arch install iso so that it is configured how I want it to be (ie accounts, apps, whatnot) and then using a external device + unetbootin to push it to the hard drive. Thoughts?
Last edited by TheHebes (2012-06-08 21:23:21)
Laptops:
MSI GS60 Ghost
Asus Zenbook Pro UX501VW
Lenovo Thinkpad X120e
Offline
Why not fiddle with your home until it suits you, make a tarball of it and have it recreated on every boot up along the lines of putting a script in rc.d somewhere that deletes ~ and unpacks the relevant tarball into ~ again?
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
I was hoping to include / in there as well. I'm talking about a completely fresh machine on each boot. I tend to break things rather quickly, and VMs aren't really an option.
Laptops:
MSI GS60 Ghost
Asus Zenbook Pro UX501VW
Lenovo Thinkpad X120e
Offline
Another option is to create an iso of the system in the state you want it to be. Afterwards use a GRUB2 entry to boot directly from the iso.
Burninate!
Offline
Hmm, ain't that nifty? I never knew that you could boot from an iso!
Anyways, yes, that sounds perfect. Now if only I could figure out how to put a homebrew kernel in there...
But that's a topic for a new thread!
Laptops:
MSI GS60 Ghost
Asus Zenbook Pro UX501VW
Lenovo Thinkpad X120e
Offline
LVM also allows snapshots. Any changes you'd make can be rolled back.
https://wiki.archlinux.org/index.php/LVM#Snapshots
snapshots are primarily used to provide a frozen copy of a filesystem to make backups
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline