PDA

View Full Version : [SOLVED] 9.10 Thumb Drive with Persistent Changes



caoinan
March 27th, 2010, 08:23 PM
I've just installed UNR version of Ubuntu on one of my thumb drives and was wondering what I needed to do to for making it have persistent changes? I've seen the different tools and the usb creator they have on Ubuntu already but I want to do it myself from scratch. What files do I need to edit to make the drive persistent? I made the bootable thumb drive using UNetbootin.
Thanks

caoinan
March 27th, 2010, 09:09 PM
bump

caoinan
March 27th, 2010, 09:44 PM
Bump
Am I posting in the wrong section?

caoinan
March 27th, 2010, 10:00 PM
I've just installed UNR version of Ubuntu on one of my thumb drives and was wondering what I needed to do to for making it have persistent changes? I've seen the different tools and the usb creator they have on Ubuntu already but I want to do it myself from scratch. What files do I need to edit to make the drive persistent? I made the bootable thumb drive using UNetbootin.
Thanks

spiderbatdad
March 27th, 2010, 10:03 PM
https://wiki.ubuntu.com/LiveUsbPendrivePersistent

Rocket2DMn
March 27th, 2010, 10:44 PM
Threads merged. Please don't create multiple threads for the same problem, or bump your post more often than 24 hours - give the community time to respond. Bumping and creating multiple threads isn't fair to the community members contributing their time here and doesn't result in getting more, faster, or better help. Thank you.

C.S.Cameron
March 28th, 2010, 05:27 PM
You can make an ext2, 3 or 4 Partition and name it casper-rw. this partition will hold your persistence.
Here is a bit of a how to:

Boot Live CD.
Plug in flash drive.
Start Partition Editor
Create 1 GB FAT32 partition, (on the left side of the bar). (size is optional)
Create a 1.5 GB ext3 partition to the right of this, labeled it "casper-rw". (ext2 and ext4 also work).
Create a partition in the remaining space and label it "home-rw". (optional, creates a separate home partition)
Close Partition Editor.
Un-mount and re-mount flash drive.
Start "Create a live usb startup disk", (usb-creator).
Select "Discard on shutdown".
Press "Make Startup Disk.
When usb-creator finishes, run "gksu nautilus"
Select disk / syslinux / text.cfg and added "persistent" as shown below:
append noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz quiet splash --
Shutdown, remove CD, reboot.
You are persistent.

If you want a how to for doing the same thing with an UNetbootin install let me know.

C.S.Cameron
March 28th, 2010, 06:59 PM
Oops, on closer inspection I notice that you did your install using UNetbootin:


This is how I made a Unetbootin install to flash drive persistent.
Booted Live CD, (Live USB should also work)
Plugged in target flash drive.
Started Partition Editor
Created 1 GB FAT32 partition, (on the left side of the bar).
Created a 1.5 GB ext3 partition to the right of this, labeled it "casper-rw".
Created a ext3 partition in the remaining space and labeled it "home-rw".
Closed Partition Editor.
Un-mounted and re-mounted flash drive.
Started Windows, started Unetbootin, selected Diskimage, located the iso, selected Type = USB Drive, selected correct drive letter
Pressed OK, waited 5 minutes.
When Unetbootin finished, shutdown, booted thumbdrive.
At boot menu hit Tab, then typed "(space)persistent"
Ran "gksu nauilus", opened filesystem / cdrom and then opened syslinux.cfg with text editor.
Added "persistent" as shown below:
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash -- persistent
Rebooted, changes were persistent.

caoinan
March 29th, 2010, 07:55 PM
Oops, on closer inspection I notice that you did your install using UNetbootin:


This is how I made a Unetbootin install to flash drive persistent.
Booted Live CD, (Live USB should also work)
Plugged in target flash drive.
Started Partition Editor
Created 1 GB FAT32 partition, (on the left side of the bar).
Created a 1.5 GB ext3 partition to the right of this, labeled it "casper-rw".
Created a ext3 partition in the remaining space and labeled it "home-rw".
Closed Partition Editor.
Un-mounted and re-mounted flash drive.
Started Windows, started Unetbootin, selected Diskimage, located the iso, selected Type = USB Drive, selected correct drive letter
Pressed OK, waited 5 minutes.
When Unetbootin finished, shutdown, booted thumbdrive.
At boot menu hit Tab, then typed "(space)persistent"
Ran "gksu nauilus", opened filesystem / cdrom and then opened syslinux.cfg with text editor.
Added "persistent" as shown below:
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash -- persistent
Rebooted, changes were persistent.


Ok. I'm at work right now I'll try it when I get home or if I get a chance I'll try it here at work. Thank you.
[EDIT]
The reason I didn't want to use Ubuntu's USB Creator is because it seems to boot up kind of slow compared to using UNetbootin to make the bootable thumb drive.

caoinan
March 30th, 2010, 12:11 AM
Thanks Cameron I got it to work now.