This forum has been closed because a new site is open. Join us here!
Creating Multi-boot Flash drives with UNetBootin

Author Topic: Creating Multi-boot Flash drives with UNetBootin  (Read 6817 times)

h4ck3rpr0n3

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3078
  • Reputation: 131
  • Developer, Genius :P :P
  • Badges:
  • Computers: HP Pavillion g7: Windows 8, Presario 2500: Ubuntu 13.1
  • iDevices: ipod touch 3g, ipod touch 2g
Creating Multi-boot Flash drives with UNetBootin
« on: July 27, 2012, 11:59:10 pm »
What you'll need
- A flash drive big enough for 2 OS's (the smallest that would work is probably 4GB unless you use like DSL and Puppy Linux).
- UNetBootin, you'll find that here .
- The ability to follow directions

So, now that I can assume you have the above lets begin.

Steps
1. Download the OS of your choice (windows, linux, mac, doesn't matter) and save it to a location you'll remember (might I suggest the Desktop for easy access).

2. So now that we have our OS we're going to start up UNetBootin and fill in the areas. Since I had you obtain your OS earlier you will focus on the bottom of the window and click the circle next to the word "Diskimage".

3. After you fill in that circle you need to make sure that the drop-down box shows the word ISO, it should automatically but just in case. Then continuing the line select the location of the ISO file.

4. Now you have to do this part carefully - not because it's hard but because if you pick the wrong drive your going to have a big mess on your hands. Assuming your following this for it's purpose (to create a multibootable USB) then select "USB Drive" as the type from the drop down menu. Now here is where you have to be careful,  make sure you have your Flash Drive plugged in if it's already not at this point and note it's drive letter (if you miss it just open up "Computer"  and on the left hand side it will say by the words "Removable Drive" or whatever it's called for you. Now that we know what letter it is select it in the drop-down menu after the word "Drive".

5. Now, if your looking at UNetBootin you'll see I skipped an option, so I'll cover it now. This is only relevant if your using Ubuntu so disregard it if your not. The last box is for you to pick how much space you want to reserve across reboots, once again it only applies to Ubuntu. For this I recommend at least 900MB but then again that's just me. So now that that's all done hit o k and it will do it's thing.

6. Now that it put the files on your Flash drive reboot and go to your boot menu (Button varies but for Windows 7 it's Esc) and select your Flash drive from the list. If it boots up into your chosen OS then your good. Now restart again and boot back into whatever you normally us.

7. Now UNetBootin only allows 1 OS at a time because it formats your USB as part of it's process which wipes it clean so your going to need to make a folder on your desktop and name it whatever Ex. BT5 and put all of the files in there.

8. Repeat steps 1-7

9. O k, now that we know your second OS runs properly and we have your first in a folder we're going to open up the folder on your desktop and the flash drive.

10. copy all of the files except for those I'll list in a second from your first OS in this case we'll stick with BT5 to, let's say, Debian. The files that your not going to copy over are the following:
vesamenu.c32
ubnpathl.txt
ubnkern
ubninit
ubnfilel.txt
syslinux.cfg
ldlinux.sys

11. Now that that's done we're going to open up the syslinux.cfg file from our folder labeled BT5 (or whatever your first OS was) and copy the last four lines, they should look something like this...
label ubnentry0
menu label puppy
kernel /vmlinuz
append initrd=/initrd.gz pmedia=cd


*Note: This is from my copy of Puppy Linux as it was more readily available then my other OS's but you get the idea.*

12. Now open up the syslinux.cfg file from your second OS and paste the lines we just copied in between the lines that have label ubnentry1 and ubnentry2. Now we're almost done, before we can save this file you may have noticed the numerical order of the label ubnentries was thrown off when we pasted that in there so what we need to do is go to the last ubnentry (3 I believe) and change it to 4, and then the 2 to a 3 and so on and so forth until you get to the end.
Now you can save the file.

13. Now reboot your computer and go into the boot menu once more and this time it should have both OS's listed and accessible.

So folks, that's my tutorial, I hope it wasn't too much trouble and if you have any questions feel free to ask. :) :)
goals:
[] get developer status
[X] get 30+ karma
[X] get to hero member
[X] become part of the staff

languages i know:
JavaScript
CSS
HTML
PHP
C
C++
Cython
Python

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5321
  • Reputation: 263
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
Re: Creating Multi-boot Flash drives with UNetBootin
« Reply #1 on: July 28, 2012, 03:06:46 am »
Nice dude!! +1
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4197
  • Reputation: 227
  • Badges:
Re: Creating Multi-boot Flash drives with UNetBootin
« Reply #2 on: July 28, 2012, 09:55:12 am »
Or use Yumi. It allows you to install multiple OSes parallel to each other on a drive very easily and even installs a portable boot menu on it.

h4ck3rpr0n3

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3078
  • Reputation: 131
  • Developer, Genius :P :P
  • Badges:
  • Computers: HP Pavillion g7: Windows 8, Presario 2500: Ubuntu 13.1
  • iDevices: ipod touch 3g, ipod touch 2g
Re: Creating Multi-boot Flash drives with UNetBootin
« Reply #3 on: July 28, 2012, 11:45:39 am »
Thanks! And I tried that and didn't really like it, if someone asked though i'd probably say xboot.
goals:
[] get developer status
[X] get 30+ karma
[X] get to hero member
[X] become part of the staff

languages i know:
JavaScript
CSS
HTML
PHP
C
C++
Cython
Python

A3MIRAL

  • Leader
  • Hero Member
  • *****
  • Posts: 2940
  • Reputation: 108
  • A3MIRAL -- Reporting for Duty
    • A3MIRAL
  • Badges:
  • Computers: Dell XPS15 (6 GB ram, Core i7 @ 2.0 GHz, 750 GB HDD @ 7200 RPM)
  • iDevices: iPod touch 3G 32GB, iPhone 5 32GB
Re: Creating Multi-boot Flash drives with UNetBootin
« Reply #4 on: July 30, 2012, 11:19:43 pm »
Or use Yumi. It allows you to install multiple OSes parallel to each other on a drive very easily and even installs a portable boot menu on it.


This is my favorite thing!

Don't like seeing ads? Click here to register!