Dishing Tech

Dishing Tech is a unique tech blog that offers news, how to's, tips, tweaks on pretty much anything tech related. We Dish out the latest news on gadgets and hardware. Provide Mac and iDevice reviews as well as provide tutorials on hacking, jailbreaking, internet security and visualisation.

11 May 2012

How to Create a Bootable Operating System USB for XiaoPanOS, Beini & other Tiny Core Linux Builds



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 virtualisation 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 here).

1. Download unetbootin-windows-309.exe (Windows) or you can download the latest Linux, Windows or Mac version.


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.




7. 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


Here are the codes to change the screen resolution:


 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.


17 comments:

  1. Successfully created a USB boot drive to boot beini, thanks! :)
    But actually I can change the resolution? Which file need to be edited?

    ReplyDelete
  2. read this blogpost again its been redited, the file you want to edit is Options: ~\boot\isolinux\isolinux.cfg

    ReplyDelete
  3. Thanks.
    However I've meet an error while using the inflator. When the progress reached 99.9%, it stuck and keeps trying with the same PIN.
    I decided to reboot XiaoPan and run inflator again start the process again from 0%. This time it took just a few hours and completed successfully.
    Any idea why was this happening? Is this a bug?

    ReplyDelete
  4. Congrats we have success :) it can be a bug, but it could also be an issue with settings, I suggest you read this and try again: http://code.google.com/p/reaver-wps/issues/detail?id=129 it is good to see you got so far, normally it doesn't need to go to 99.9% you should have found the pin ages ago. Clearly something went wrong.

    ReplyDelete
  5. Thanks for all the help, I will consider for a donation.
    BTW, I'm going to set up a blog soon, a personal blog not a tech blog, and I'm thinking of sharing this tutorial. (if I have your permission)Don't worry for sure I will give you credit :P

    ReplyDelete
  6. No problems! You are more than welcome, anyone is, as long as its not word for word and you acknowledge the source. I think you should make a youtube video :) I can't as Macs have efi boot which I don't think it is possible to show on my comp. Send me your link when you are setup, be cool to check it out. End of this year I am looking to move to wordpress soon and my own domain.

    ReplyDelete
  7. Thank you. My new blog still need some time to be ready, will send you the link when it is ready for public.  :)
    Looking forward to your new content!

    ReplyDelete
  8. Hello Can you help please

    I have both CD and USB boot files but on booting my RTL8187L will not start with the boot so therefore I am unable to search 

    Can you advise please

    ReplyDelete
  9. Sorry its RTL8187B not L

    ReplyDelete
  10. Read this: http://dishingtech.blogspot.com.au/2012/05/need-help-from-dishingtech.html Now this question has already been answered in one of the Xiaopan articles and you have not been specific enough. I don't even know what version or if you are using XiaopanOS or Beini. How am I supposed to help you?

    ReplyDelete
  11. i try boot xiaopan using USB, but it appear black screen with blinking "under score". why?? 

    ReplyDelete
  12. Successfully make usb bootable but stuck at tc@box.. 

    ReplyDelete
  13. One of the Xiaopan forums has come up with a much simpler method of creating a bootable usb stick. Please check out the forums or submit a support form: http://xiaopan.co/forums/index.php

    ReplyDelete
  14. thanks. new unetbootin remove the "custom" field.

    ReplyDelete
  15. It works like a charm..thanks v much..

    ReplyDelete
  16. However I've meet an error while using the inflator. When the progress reached 99.9%, it stuck and keeps trying with the same PIN.
    I decided to reboot XiaoPan and run inflator again start the process again from 0%. This time it took just a few hours and completed successfully.
    Any idea why was this happening Togel Online Klik 4D ?

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...