Topic: CrunchBang Statler Live Persistent USB (In windows without UNetbootin)

As the title suggests, this method was used to create a live Statler USB with persistence in Windoze 7 without UNetbootin. In my opinion this method results in a better looking boot menu and a more stable system.

You will need:

- CrunchBang Statler ISO (Either Openbox or Xfce will work.)

- USB key formatted to FAT32 (2GB or larger is recommended) Here is a GParted alternative for Windoze (free)

- Linux Live USB Creator or "Lili" (also free and don't worry, none of these programs have "crap" like toolbars or whatnot - yet)

- I also recommend you read through the Linux Live USB Creator's User Guide

OK, now you can open Lili. It's pretty self explanitory and if you have read the user guide you shouldn't have any problems.
NOTES:
1. BEFORE installing to USB with Lili make sure you UNcheck the options to "Hide created files" and "Enable launching in windows" (doesn't work with persistent)
2. Lili stores your persistent file right on the FAT32 partition. This means your persistent file can only be 4GB max. There is another method utilizing a second partition for those of you with bigger USBs but I have not been able to get it to work. If you figure it out please post!

Once you install to USB with Lili you have to edit the live.cfg file. (this file is symlinked to syslinux.cfg)

The first entry in the file has to be changed FROM this:

label persist
menu label ^Persistent
  kernel /live/vmlinuz
  append initrd=/live/initrd.img boot=live config persistent quiet

TO this:

label persist
menu label ^My CrunchBang
  kernel /live/vmlinuz1
  append initrd=/live/initrd1.img boot=live config persistent quiet

Notice the addition of the "1's" after the kernel entry and initrd. You can change the menu label to anything you want (i.e. F#!K Windoze) You can edit the live.cfg file in Windoze or from your new CrunchBang!
Here's both editing methods:

Windoze method:
In "My Computer" select your USB to open it.
Click on the "syslinux" folder.
Click on "live"
Edit the text and save.
NOTE: In Windoze all of the text will be in a strait line and will not look like the examples above.

CrunchBang Live method:
Open a terminal and type:

sudo gedit /live/image/syslinux/live.cfg

when the file pops up make the changes and click the "Save" button. Close the file.

You are DONE!
NOTE:
With this method (Lili) your persistence uses a large file.
This will cause your USB's partition too look as if it full when it actually is not.

Last edited by psychostrike (2011-05-05 03:48:00)

Re: CrunchBang Statler Live Persistent USB (In windows without UNetbootin)

Thank s a lot for your post !!
I was desperately looking for this usb persistent feature. Haven`t tried it yet, just read your post and wanted to say thanks in advance...

Re: CrunchBang Statler Live Persistent USB (In windows without UNetbootin)

@psychostrike...
Thanks, winning!
I'd tried http://www.linuxliveusb.com/ for Statler openbox with persistence added. When re-booting, no go. It still worked live, but no persistence.
With the psychostrike edit (I used your "Windoze" method), everything is now a go.
I'll re-post if anything negative comes up. So far, my changes are sticking...
Many thanks.
sj

Re: CrunchBang Statler Live Persistent USB (In windows without UNetbootin)

Hello again, psychostrike

i was completely occupied by messing around with my usb persistent #!  toy.........Meaning it works. Only problem: becoming an addict to #!....  As editing the file didnt work in crunshbang live, I used lubuntu.  THX THX THX a lot !!!!!!

Re: CrunchBang Statler Live Persistent USB (In windows without UNetbootin)

LiLi http://www.linuxliveusb.com/ version 2.7.5 released 23 April '11.
According to LiLi author Thibaut Lauzière (a.k.a Slÿm), 28 April:
"LiLi 2.7.5 is already working well (with persistence) with Ubuntu and Xubuntu 11.04 ! I will make an update soon to add official support."

I have not yet tried this version with CB. Thanks to Psychostrike's fix (above, this thread) my USB stick's persistence with CB 10 Openbox is working fine.
Thanks muchly,
sj

Re: CrunchBang Statler Live Persistent USB (In windows without UNetbootin)

willow wrote:

As editing the file didnt work in crunshbang live, I used lubuntu.  THX THX THX a lot !!!!!!

Alternatively, from the live crunchbang you could try

sudo thunar

and then manually find the file to edit (you may have to right click for the "open with" option)

I vaguely remember having an issue with this also. Didn't pinpoint the reason though.

I'm glad to hear there are others enjoying this method!

Last edited by psychostrike (2011-05-09 05:13:57)

Re: CrunchBang Statler Live Persistent USB (In windows without UNetbootin)

i did everything was explained but on a 8GB usb key... every reboot i loose my files created or setup parameters. impossible to have persistent : \
can you help me ?

Re: CrunchBang Statler Live Persistent USB (In windows without UNetbootin)

sooshi wrote:

i did everything was explained but on a 8GB usb key... every reboot i loose my files created or setup parameters. impossible to have persistent : \
can you help me ?

When you boot your system from the USB key, is the first option labeled "persistant" instead of "live?" If not, then you might have neglected to set the install to persistent when you were creating the key in Lili. Other than that I'm not sure what to tell you, mine just fired right up.

Re: CrunchBang Statler Live Persistent USB (In windows without UNetbootin)

thanks for the support.
I have found another way to do it on the French forum (yes i'm french tongue ) with unetbootin and the creation of 2 partitions, the first in Fat32 for install and the 2nd in ext2 labelled "live-rw" for the persistence and it works great.

for french users who have the same problem, the topic is here:
http://crunchbanglinux-fr.org/forum/vie … php?id=103

sooshi a #! lover
--
God uses CrunchBang

Re: CrunchBang Statler Live Persistent USB (In windows without UNetbootin)

Doesn't work for me ... I followed step by step, but after choosing "My Crunchbang" it crashes with something like that squashfs is unknown filesystem.

any ideas?

SOLVED - http://crunchbanglinux.org/forums/post/135024/#p135024

Last edited by Solfern (2011-08-01 18:11:14)

Re: CrunchBang Statler Live Persistent USB (In windows without UNetbootin)

Thanks alot!! Now I can plug my Live USB like ANY Computer and use my OWN System !!:D:D:D:D:D