Multi-Boot
In this post we will move on a little bit.
Here we will deal with having more than one live OS available on the same flash drive.
Of course this will not be possible due to size constraints if the stick is too small to accommodate the extra versions. Another good reason to use as large a flash drive as you can.
All versions of PCLOS have the OS files named the same, so to add more would be rather confusing. To avoid this, we rename the files, according to their version, and make changes to the boot stanzas to reflect the new names of the files.
So on the assumption that the first ISO used was for the full KDE release, we would rename the
livecd.sqfs
to
kde.sqfs
and the directory
isolinux
to
kde-isolinux
Now edit the menu.lst file to reflect those edits to the names. The new boot stanzas should look like this after editing
title PCLinuxOS 2010.1 KDE
kernel (hd0,0)/kde-isolinux/vmlinuz vga=788 livecd=kde fromusb root=Label=LiveOS acpi=on fstab=rw,noauto
initrd (hd0,0)/kde-isolinux/initrd.gz
title PCLinuxOS 2010.1 KDE -- With Persistence
kernel (hd0,0)/kde-isolinux/vmlinuz vga=788 livecd=kde fromusb root=Label=LiveOS changes_dev=LABEL=LiveOS acpi=on fstab=rw,noauto
initrd (hd0,0)/kde-isolinux/initrd.gz
At this point it is advisable to check the booting of the stick to ensure that the edits were correctly performed.
Now, using the same procedure as outlined in the first post, we can extract the OS files from the OpenBox PCLOS ISO.
Rename the files to ensure it is obvious they are the OpenBox files ... to maybe
ob.sqfs
ob-isolinux
Add a stanza to the menu.lst file to boot this new OS.
Use the same boot options as before, just changing the name of the files to suit the new names.
title PCLinuxOS 2010 OpenBox
kernel (hd0,0)/ob-isolinux/vmlinuz vga=788 livecd=ob fromusb root=Label=LiveOS acpi=on fstab=rw,noauto
initrd (hd0,0)/ob-isolinux/initrd.gz
At time of writing, persistence is not available on versions other than KDE. Hopefully we will soon have new ISOs for the other versions which should include the persistence option.
You should now have the ability to boot either KDE or Openbox from your live USB flash stick.
You can now add as many of the PCLOS variations as you have space for on the stick, using the same procedures.
{ You can of course use whatever naming scheme you wish, the above being just suggestions }
So there we have it ...... a multi boot USB flash stick.
Even more FUN!!!!