I recently got the Sabayon 3.2 mini Live edition running on a flash disk, I know some other people have been trying to get this going as well so I thought I'de share with you guys what I did.
Part 1, formatting.
First thing I did was try the standard "Syslinux" method of creating a live distro on a flash disk. Syslinux boots from FAT media so I formated the disk as a fat 32 partition. I did this with a windows utility that formats USB drives, this utility seems to fix problems that can show up trying to boot to flash drives that have been reformatted many times. I found this tool along with other information about live cds on flash memory here...( http://www.beezmo.com/FloobyDustDir/FDK ... pixUsb.htm)
The link for the utility should be
ftp://ftp.compaq.com/pub/softpaq/sp2700 ... P27213.exe
You might not need this utility, but for me it came in pretty handy(it works on all flash drives, not just HP/Compaq).
Part 2, Syslinux
Next I installed syslinux on the drive via the method posted here...( http://www.howudune.com/knoppix.php ), Heres a quick breakdown of the important parts...
download Syslinux from http://syslinux.zytor.com/index.php . These instructions used syslinux-3.11.zip.
Extract the syslinux files to C:\syslinux-3.11.
Insert you USB Key into a USB slot in your PC and note the drive letter that it is assigned.
Run "C:\syslinux-3.11\win32\syslinux.exe (target drive)" where the target drive is the letter assigned to your USB key. Ex. "C:\syslinux-3.11\win32\syslinux.exe E:"
Part 3, copying the CD over
Next thing I did was to copy the CD over to the root of the flash drive(yes that means I took the files out of boot and isolinux subfolders and moved them to the root of the flash drive as well). After moving the files to the root I had to rename isolinux.cfg to syslinux.cfg, also edit syslinux.cfg to remove references to the subfolders... here is an example of what mine looks like....
~~~~~~~~~~~~~~~~~~~~~~syslinux.cfg top couple of lines~~~~~~~~~~~~~~~~`
APPEND root=/dev/ram0 initrd=sabayon.igz unionfs init=/linuxrc cdroot doslowusb looptype=squashfs max_loop=64 loop=/livecd.squashfs splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 quiet --
menu label ^Start SabayonLinux 3.2 MiniEd.
append root=/dev/ram0 initrd=sabayon.igz unionfs init=/linuxrc cdroot doslowusb looptype=squashfs max_loop=64 loop=/livecd.squashfs splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 quiet --
Part 4, more formatting
Now when I boot I have issue where it will boot, but when trying to mount and find the live image it would fail(this is where most people on the forums were stuck). What I did was to edit the initrd.scripts file to make it a little more verbose so I could see why exaclty it was failing. What I noticed is that the mount command that was being issued would fail on fat partitions. Simple solution, setup a second partition that is able to be mounted. I chose ext3, but there may be other formats that work aswell. I booted up a knoppix cd and ran "qtparted". Through qtparted I was able to resize the fat partition to leave about 800 megs free at the end of the disk(the image is only about 700 megs, but since ext3 is a journaled filesystem the same file "image.squashfs" takes more space. I also made sure to set the first partition(the fat partition) to Active(in qtparted right click on the partition and hit set active). After this was completed I copied two files "image.squashfs" and "livecd" over to the ext3 partition.
Part 5, enjoy
After these steps I was able to boot just like from the CD but with quite noticible speed increase. The partition with the image.squashfs(the ext3 partition) is locked, but the fat partition comes up writeable(so becareful what files you modify/delete). When using the flash drive from windows onlly the first partition(the fat partition) will show up and is usable just like any other flash drive. Abut 25 megs is occupied on the fat partition.
Good Luck and Enjoy:)
Users browsing this forum: No registered users and 1 guest