I just want a LiveUSB without the Live mode.
Let's go!
- Create a LiveUSB with persistence file from the Startup Disk Creator.
- Skip boot menu: Copy the 5 first lines from
/syslinux/txt.cfg
tosyslinux/syslinux.cfg
(in my case with lubuntu 12.04):
default livelabel live menu label ^Try Lubuntu without installing kernel /casper/vmlinuz append noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --
- Boot your LiveUSB.
- Disable autologin in /etc/lightdm/lightdm.conf
autologin-user=
greeter-show-manual-login=true
- Create an admin user from the System Tool app. Append your new user to sudo & root groups. (Don't encript your home, I found permission problems with my files).
- Logout and login as new user.
- Remove lubuntu user home and its entries (‘lubuntu’) in these files:
sudo rm -r /home/lubuntu /etc/group /etc/password
- Set a widesystem proxy (if you need).
- Uninstall the System Installer:
sudo apt-get purge ubiquity
- Clear all:
sudo apt-get clean ; sudo apt-get autoremove -y
- Config your session
- Backup your USB:
Create backup (from your Desktop Ubuntu):sudo su - cd /media/USB tar cvpzf /file.tar.gz .
Restore backup (from your Desktop Ubuntu):sudo su - cd /media/USB
rm -r * tar xpvzf /file.tar.gz
and it's done! :)