PDA

View Full Version : [ubuntu] Install ubuntu on a hardisk as non persistent OS



KayGenz
January 16th, 2010, 08:45 AM
dear all

i want to ask, its is possible to install ubuntu in a harddisk as a non persistent environment?
i mean, i want my ubuntu is always clean everytime it is restart, like a live usb.

if it possible, how to achieve that? :(

C.S.Cameron
January 16th, 2010, 11:08 PM
Not totally sure, have not tried it but you should be able to install to a pendrive using usb-creator or unetbootin then clone the pendrive to hard drive using dd, (dd if=/dev/sda of=/dev/sdb)
You should only require a one gig partition.
You can add a casper-rw partition if you want to save some changes. You can add a home-rw partition if you want a home folder.
I'm interested in how it works out for you.

KayGenz
January 18th, 2010, 01:46 AM
Thanks CS.Cameron for your reply.. i will try it first, i will put the result here later :popcorn:

C.S.Cameron
January 18th, 2010, 02:15 AM
Forgot to mention that you should run dd from the Live CD or from a Live USB.

velosprinter
January 27th, 2010, 06:56 PM
Was anyone successful at this? I would also like to have a non corruptible HD install. I do see some issues with things like security updates etc would require you to remaster the USB and DD the HD again. Chromium-OS is doing something like this in their Ubuntu variant but I am not sure exactly how that works.

dabl
January 27th, 2010, 08:42 PM
Although this was written for a USB thumb drive, it could also be done exactly the same with a hard drive (internal or external):

http://kubuntuforums.net/forums/index.php?topic=3107512.0

It does not go through the steps of how to mount the ISO image and copy the files to the target partition, but Google will show you how to do those things.

snowpine
January 27th, 2010, 08:48 PM
If you prefer a GUI solution, Unetbootin (http://unetbootin.sourceforge.net)will do the trick.