You are not logged in.

#1 2012-06-07 21:14:06

TheHebes
Member
From: New England
Registered: 2011-07-07
Posts: 138

[Solved (More or less)] Create a non-persistent install

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! smile

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

#2 2012-06-07 21:28:25

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [Solved (More or less)] Create a non-persistent install

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

#3 2012-06-07 21:48:15

TheHebes
Member
From: New England
Registered: 2011-07-07
Posts: 138

Re: [Solved (More or less)] Create a non-persistent install

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

#4 2012-06-08 06:23:00

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved (More or less)] Create a non-persistent install

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

#5 2012-06-08 21:22:11

TheHebes
Member
From: New England
Registered: 2011-07-07
Posts: 138

Re: [Solved (More or less)] Create a non-persistent install

Hmm, ain't that nifty? I never knew that you could boot from an iso! smile
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

#6 2012-06-08 21:51:21

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [Solved (More or less)] Create a non-persistent install

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


"How to Succeed with Linux"

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

Board footer

Powered by FluxBB