Re: How to make a persistent statler live USB key

anonymous wrote:

@liame - Launch your text editor with gksudo like:

gksudo gedit /media/Transcend/syslinux.cfg

thank you anonymous,
still read-only
(i'll try again that when using the live-usb, maybe it will work then)

Re: How to make a persistent statler live USB key

Thanks all,

This works great! Now I got !# where ever I roam!

Using CrunchBang 10 “Statler” Alpha 2

Re: How to make a persistent statler live USB key

I have been reading and following this thread and had the USB Statler working but the persistent part didn't seem to be working. So when I came back and read more I edited the syslinux.cfg file and now when I boot the USB it wants a username and password. Here is the default menu:

label unetbootindefault
menu label Default
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live live-config live-config.hostname=crunchbang live-config.username=hal live-config.user-fullname=CrunchBangLiveUser live-config.locales=en_US.UTF-8 live-config.timezone=United States/Chicago quiet persistent

How do I keep it from wanting the username and password?

Thanks,
Harold

Thanks,
Harold
Crunchbang Statler 32bit Xfce

Re: How to make a persistent statler live USB key

You have to enable auto-login at gdmsetup; you'll need root privileges for that, so on terminal:

gksudo gdmsetup

Last edited by slapfish (2010-09-02 09:23:43)

Re: How to make a persistent statler live USB key

Thanks, slapfish.
This is probably a newbie question but how do I do that if I can't log in to it? Do I do it from the menu like I was setting up a root password?

Thanks,
Harold
Crunchbang Statler 32bit Xfce

Re: How to make a persistent statler live USB key

You can't login? If my memory serves me well you can login with username crunchbang and password live. If you have created a new user account you can login with the user/pass you have set. After you login you can run from terminal the gksudo gdmsetup and enable the autologin for the account you want.

Re: How to make a persistent statler live USB key

Yeah, I forgot about crunchbang and live. Thanks again, Harold

edit
I can't get in with crunchbang and live or with crunchbang and ENTER. Nothing I have tried has worked.

I will just start over. At least I am more comfortable with how to do it. Practice makes perfect.;)

I don't remember creating a username and password.

Last edited by houndhen (2010-09-02 21:52:44)

Thanks,
Harold
Crunchbang Statler 32bit Xfce

Re: How to make a persistent statler live USB key

hi again,
i got a new problem with the stick,
each time i try to log in the system goes back to the login with an error msg that states the user was logged in less than 10 seconds. and that i have a problem of memory

Re: How to make a persistent statler live USB key

Hi,  I tried your howto and it works fine, thanks !

Do you know out to disabled this line after halting the computer :
please remove the usb flash drive and press ENTER to continue

Re: How to make a persistent statler live USB key

jeward wrote:

Boot from the live CD.

Make two partitions on your USB key, one big enough to hold the live CD image and the other the rest of the stick...

...I think this is the ultimate USB portable debian distro!

True. This works really nice and easy. While adding persistence kernel option to my isolinux.cfg I also added boot options for hitachi dft, memtest86+, ms-dos 6.22 and debian installer. smile

http://www.saunalahti.fi/ladoga/kuvat/P1192241.JPG

For info how to edit syslinux.cfg check http://syslinux.zytor.com/wiki/index.ph … t/menu.c32
...straight from horses mouth as one might say.

Last edited by ladoga (2011-01-19 20:01:51)

Re: How to make a persistent statler live USB key

liame wrote:

still read-only
(i'll try again that when using the live-usb, maybe it will work then)

In your desktop linux installation you must mount the thumbdrive's fat partition with read and write permissons. Otherwise you won't be able to edit any files in there.

little helper from my /etc/fstab:

/dev/sdb1       /media/usb0     auto    rw,user,noauto  0       0

replace /dev/sdb1 with whatever ID your thumbdrive has and make sure the mount directory (in my case /media/usb0) exists. Then you can mount it by typing mount followed with drive id. ie.

mount /dev/sdb1

alternatively you can mount it without editing fstab by:

mount -t vfat -o rw,umask=0007 /dev/sdb1 /mnt

Re: How to make a persistent statler live USB key

Hi, i know this is an old topic but i had a question.  How do i know how big my partitions are going to be.  ie: what line tells fdisk how big to make the partition.  I know it probably sounds dumb but i have never used fdisk before.  Thanks!

Re: How to make a persistent statler live USB key

ms4sman wrote:

Hi, i know this is an old topic but i had a question.  How do i know how big my partitions are going to be.  ie: what line tells fdisk how big to make the partition.  I know it probably sounds dumb but i have never used fdisk before.  Thanks!

I don't know if or how fdisk can create partitions (I'm guessing it can as it could on ms/dr-dos) but you can create the partitions with gparted, leave them unformatted and then on terminal use the fdisk command to format them as the first post indicates.

Re: How to make a persistent statler live USB key

I really wanted to thank everyone, this is an awesome setup that will get a lot of use. smile

Re: How to make a persistent statler live USB key

Works great.  i figured out the size thing.  thanks!

Re: How to make a persistent statler live USB key

Hello members, does the method from the original thread from ''jeward' still apply to the latest version of Crunchbang 10 (statler), and is it possible to create multiple Persistent files, or just the one?
regards

Re: How to make a persistent statler live USB key

Yes, curious minds want to know. smile
Seems like I heard somewhere that it doesn't.

I'll try installing #!-Xfce first on a 4GB stick with a 300MB swap and all the rest, ext2, as /.
Probably be OK to use ext3, but I wanted all the free disk space possible.
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1             3.4G  2.1G  1.2G  64% /
tmpfs                1009M     0 1009M   0% /lib/init/rw
udev                 1002M  224K 1002M   1% /dev
tmpfs                1009M  284K 1009M   1% /dev/shm

Edit: Worked fine. A bit slow writing on the Kingston. Posting from the USB.
Now to see how it acts after another reboot.

Remember to mount the local harddisk. Need to add /mnt/win, /mnt/data, /mnt/os to the USB file system for mounting as needed. Persistence should be a given, since it's installed.

Last edited by Richard (2011-07-24 03:31:59)

Core 2 Duo : #!-Statler,  SalineOS
AcerAspire1: #!-Statler,  WinXP
ThinkCentre: SalineOS, Peppermint
Pre-school computers: 3-P4, 2-P3 w/ DoudouLinux

Re: How to make a persistent statler live USB key

Just wanted to say, didn't work with unetbootin from the repos for me. But the binary from sourceforge did the trick. Special thx to mynis for the hint!