May 12, 2012

Create XiaoPan USB Bootable OS

This will create a portable build which you can load in a virtual machine environment or you can even boot into it! It is essentially a live CD but on USB.


I like having this as an idea because you could use most windows computers with no need to install some sort of virtual software, it also ensures that all your systems resources stay in your OS to get maximum performance. It is also kinda a cool idea to have a WiFi hacking laptop and accessories. If you want this you should also install Opera, Flash and other apps, games also if you want to (check out the repository). You just need to add the appropriate .tce or .tcz files (see here and note the appropriate file locations may not be the same as suggested).

1. You can download the unetbootin-windows-309.exe for Windows from here, an alternatively if you are Linux fan lover and avid of Mac link here.

2. Rename your drive and format your USB as FAT32


3. Create a new folder on your desktop
4. Download UltraISO or any other ISO program where you can extract the files
5. Mount your ISO into UltraISO or other
6. Extract the files into your new folder that you created on your desktop


7. Drag all those files within your new folder into the USB drive, now.


8. Open UNetbootin and navigate to the following:


Kernel: ~\boot\vmlinuz
Initrd: ~\boot\core.gz
Options: ~\boot\isolinux\isolinux.cfg

~ means your files on USB

some builds are varied and will be:

Kernel: ~\boot\bzImage
Initrd: ~\boot\tinycore.gz
Options: ~\boot\isolinux\isolinux.cfg

Note: you can change these options manually. E.g. change the screen resolution (vga = 7??) or change the language (e.g. en.utf8).

See Tiny Core FAQs for other variable options

 Color            640x480     800x600      1024x768     1280x1024
   256      8 bit     769         771           773          775
 32000   15 bit     784         787           790          793
 65000   16 bit     785         788           791          794
 16.7M   24 bit     786         789           792          795

8. After rebooting, select the USB boot option in the BIOS boot menu. Reboot now? Yes


Note, this may only work in Windows or Linux system, definitely not Mac OS X. Check out the video below for an alternative method if the one above does not work. Let me know which methods work for you the best :)

If the USB does not load you should add the following kernel boot parameter waitusb=6 to potentially fix the problem.

4 comments:

For grub4dos multiboot from ISO file - see http://www.rmprepusb.com/tutorials/xiaopan

I think that anonymous may have a point.
The instructions need to tell where you are getting the files that show up in "custom" - these files:
Kernel: ~\boot\vmlinuz
Initrd: ~\boot\core.gz
Options: ~\boot\isolinux\isolinux.cfg

I am using unetbootin-windows-585.exe which is a little different from the older version that you are using. the instructions say:
1) Select a distribution and version to download from the list above, or manually specify files to load below.
2) Select an installation type, and press OK to begin installing.

I loaded the ISO and type of installation as USB drive.
The files were extracted directly from the ISO to the USB AND are
following:

Boot (a folder that holds:)
isolinux - which holds
boot.cat
boot.msg
f14, f2, f3, f4
isolinux.bin
isolinux.cfg
menu.c32
core.gz
vmlinuz

cde - which holds:
Ondemand (an empty folder)
optional (folder with all kinds of .tcz files)
copy2fs.lst
onboot.lst
xbase.lst

ldlinux.sys
menu.c32
mydata.tgz
syslinux.cfg
ubnfilel.txt
ubninit
ubnkern
ubnpathl.txt.

At any rate, i get the message that boot has failed when I reboot the computer with the USB plugged into it. I have made sure to designate the first thing to load in BIOS as "USB-flash" and have also tried "USB". Neither one successfully boots.

Obviously I am doing something wrong, since I am the operator and the operator is always wrong.

Here are my computer specs:

Motherboard Model 970A-UD3 VER 1.1 - Gigabyte Brand
Bios V6.00PG
CPU brand: AMD model: 4100 Quad Core

USB is 8GB SanDisk Cruzer.

Anybody have any suggestions?

@ Max :

have you tried it on Windows XP?

unetbootin cannot select this file "Options: ~\boot\isolinux\isolinux.cfg", can help?

Post a Comment