AV Linux Persistent USB Key with Realtime KernelRequirements:
PC Capable of booting from USB Key
At least 2GB USB Key (4GB Recommended)
Latest AV Linux ISO image from here: http://www.bandshed.net/AVLinux.html
This guide is written assuming you are using an existing AV Linux install, however any current distro with GParted and Unetbootin will work. This operation will utilize the entire USB Key so use a key you don't want to share data on other computers with and remove any important data from the key. I would also suggest you use a clean key without any U3 or other proprietary launching software on it, most manufacturers provide utilities to remove this. STEP 1.
Insert your USB Key into the USB Port but don't mount it in PCManFM. From the menu go to 'Preferences'-->GParted and launch GParted.STEP 2.
Using the drop down dialog in the upper right corner of GParted select your USB Key. MAKE SURE YOU KNOW WHICH DRIVE YOUR USB KEY IS!!
STEP 3. (DO WITH CAUTION)
Select any existing Partitions on the Key, Right Click on them and delete them until the Key is completely unallocated space.STEP 4.
Create a new FAT32 partition on the USB Key at least 2.0 Gigabytes (2048 mb). In the remaining unpartitioned space create an ext2 or ext3 partition and in the 'label' field enter 'live-rw'.STEP 5.
Click on the checkmark icon at the top of GParted and apply the partitions you have created to the key.STEP 6.
Once GParted has finished creating your new partitions right click on the FAT32 Partition and select 'Manage Flags' and from the list select 'boot'. When you close the Flags dialog Gparted should quickly rescan and display the boot flag on your FAT32 Partition. Close GPartedSTEP 7.
Remove your USB Key and then plug it back in. Then open PCManFM...you should see 2 partitions available to mount relating to your USB Key, you can mount them both but you only need to mount the FAT32 one. Hint... it is the one not called 'live-rw'.STEP 8.
From the menu open 'System Tools'--->Unetbootin. Select the Diskimage option and navigate to where you have downloaded or placed the avlinux3r1-20100201-lxde-i386-en.iso file and Click OK. Unetbootin will take several minutes to copy the image and bootloader to your Key.If you simply want AV Linux on a USB Key without persistent storage you can stop here. This will give you the partition AV Linux runs from and a small additional partition to store files on while you are running it. For persistence there are a few more steps and a few things to consider:- Persistence will dramatically slow bootup time to a couple of minutes at least.
- Persistence causes the system response to be a little slower than a non-persistent Key but faster than a DVD ROM
- Installing AV Linux from a persistent Key is NOT advised.
- During shutdown the GDM login may appear briefly, it doesn't need a password and will disappear on it's own.
- System shutdown is kind of kludgy and displays several harmless errors, do not remove your key when prompted until it stops flashing.
NOT SCARED OFF?STEP 9.
Mount the FAT 32 Partition of your Key (if it isn't already) in PCManFM and navigate to the 'syslinux.cfg' file. Right click on it and open it in gedit and modify it's text in line 9 like the example below, once done save the edited syslinux.cfg file and you are ready to boot into your new Key. Enjoy!
append initrd=/ubninit file=/cdrom/preseed/custom.seed boot=live quiet splash vga=788 persistent --