How can I create a multi bootable (with menu) cd/dvd that contains a number of live cds? Is there any "easy" way of doing this? Isolinux is the way to go I guess, but is there any tool available for this?
feedback
|
migrated from stackoverflow.com Mar 4 '10 at 15:17
This question came from our site for professional and enthusiast programmers.
|
The guys from HAK5 (video podcast now on revision3), did an episode about what you're asking. http://revision3.com/hak5/usbmultipass
Here is their tutorial: It has been the dream of many to combine the pen-testing, forensics and recovery power of our favorite USB bootable linux distros into one drive complete with customized boot menu. Finally Frank Castle shares this digital mojo with us. I bring you the USB Muiltipass. While the video walks you through the step by step I'll provide an overview with links here. First you'll need three programs, PeToUSB, grubinst and grub4dos. Prepare the USB drive by formatting it with PeToUSB. With the drive plugged in run the PeToUSB executable, select the drive, check Enable Disk Format, Quick Format and Force Volume Dismount and click Start. If you are using a drive over 2 GB you will receive an error about dismounting -- it's no big deal -- simply format the drive as Fat32 with the Windows Disk Manager. Next run grubinst_gui. Select the disk option and pick your USB drive. Be sure to select the correct drive number. If you're not sure which drive is your USB drive check with Windows Disk Manager. Once you are assured the correct drive is selected go ahead and click Install. No options need to be checked, the defaults are fine. You will then need to copy the grldr file from the grub4dos package to the root of your USB drive. Finally finish off the install by creating a blank text file in the root of your USB drive called "menu.lst". You can now boot from this drive. Of course there aren't any Linux distributions and utilities installed yet, so let's move on to adding all the goodies. When it comes to installing distros I'll go ahead and quote Frank Castle as he puts it best. For most of the distros I added, I started off with an iso version of it. I then extracted the isos either to my desktop or directly to the root of the thumb drive (or you could just copy the files from a burnt version of the distro, just as long as you get the files to the root of your thumb drive). Most Linux Distros come with 2 folders: a boot folder and another folder that actually holds the meat and potatoes of the distro. Since it would be impossile to have 6 or 7 different boot folders that don't overlap on the same thumb drive (without multiple partitions...a route I tired to take for way too long) I simply renamed the boot folder to something like "bootbt3" or "bootknop" depending on the distro, and just left the other folder as is. I then added the appropriate information by using the information by either:
When it comes to customizing Grub its simply a matter of creating a 640x480 - 14 color splash screen image. This is easy to accomplish with the Gimp. Once you've created a 640x480 image you can crunch the colors be selecting Image, Mode, Indexed and entering 14 ad the maximum colors. Save this file as a XMP, then gzip it. Copy the gz to the root of your USB drive and prepend "splashimage /image.xpm.gz" to your menu.lst file. Further information on customizing the grub menu.lst file for your specific distros can be found in the grub manual. As an example I'll provide my config here:
I'm sure there will be many questions and further development of this project so as I'll go ahead and point you the episode 524 release thread on the Hak5 forums. Share your thoughts! | |||
|
feedback
|
|
Here is a link (the website appears to be hacked and now has malware, so beware before browsing there!) to a similar concept. Not an answer, but a pointer. | |||||||||
feedback
|