Table of Contents
Table of Contents |
---|
Introduction
Using a UFD for booting a single bootable .iso image and re-writing it every time you want to boot something else is not efficient. This page is about creating UFDs offering a choice of boot images.
We have used both Easy2Boot (a.k.a E2B) and MultiSystem (a.k.a LiveUSB MultiBoot) to create bootable UFDs . Based on that experience, we are tending to prefer MultiSystem.
E2B - Easy2Boot
sources:
- https://sites.google.com/a/rmprepusb.com/www/tutorials/114
- http://linuxmusicians.com/viewtopic.php?f=19&t=11479
Pros:
- Simple enough
- Clear
- Works with most iso's
- Loads directly the iso
Cons:
- Slower than other solutions
Prepare the drive
...
umount /dev/sdx1 (to unmount the mounted partition if it is mounted)sudo mkfs.vfat -F 32 -n MULTIBOOT /dev/sdx1 (to format the partition as fat32)
Download the necessary files
grub4dos: https://code.google.com/p/grub4dos-chenall/downloads/list
Easy2boot (at the bottom of the page): http://www.rmprepusb.com/tutorials/72---easyboot---a-grubdos-multiboot-drive-that-is-easy-to-maintain/e2bv1#TOC-Downloads
defragfs script: http://defragfs.sourceforge.net/
Install grub4dos & Easy2boot
- Mount the partition you just formatted.
- Uncompress the grub4dos archive.
- Install grub4dos onto the USB Flash Drive:
sudo /mnt/mysrc/bootlace.com --time-out=0 /dev/sdx (note that we specify the whole disk sdx)
If you have formatted the drive as NTFS using gparted, you may need to add the --ntfs parameter to the command line
- Extract the Easy2Boot files from the E2B zip file and copy it onto the USB Flash drive
unzip /mnt/mysrc/Easy2Boot_v1.10.zip -d /mnt/newusb/
Add iso to the USB stick
- Copy all your linux livecd ISOs to the \_ISO\MAINMENU or \_ISO\LINUX folder using the GUI File Manager in linux.
Finalize the install
dfsudo perl defragfs.pl /mnt/newusb/ -f
...
MultiSystem
Introduction
Having a 32G UFD used to boot a 700MB Debian install is not really the most efficient thing to do and flashing a new iso every time you want to change install image neither. This page is here to solve this problem by tutoring how do install and use Multisystem which is a software allowing you to boot from multiple image installed on one UFD. The text below is old, in early draft and may not be thoroughly researched. Maybe more at https://jira.bluelightav.org/browse/BLUE-1882
Website of the project: http://liveusb.info/dotclear
Pro:
Cons:
- Does a lot of tricky things on your system,
- Many iso will not work properly
Requirement
- ubuntu 12.04 (only works on systems with apt-get)
- xterm
- usb stick UFD formated in FAT32 with non spaced label
Install
...
- Get the tarball. Attachment: install-depot-multisystem.sh.tar.bz2. Repository: rose:home/share/resources/software/Linux/install-depot-multisystem.sh.tar.bz2).
- Extract
: tar -xjf install-depot-multisystem.sh.tar.bz2
- Run install-depot-multiboot.sh
...
Code Block |
---|
gksu install-depot-multiboot.sh |
...
Add images to the drive
- insert a usb stick Insert the UFD (better let it be automounted as the mount point should be /media/<label>)
- Launch the software: Multisystem
- select Select the USB device to use and click Validate
- drag and drop the images you want to add.restart your system and select the distro you want to boot from.