Run from USB

Click here for a much easier new tutorial

 

This is a tutorial that 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.

This process eliminates the need for virtualisation software (unless you have a mac), 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.

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

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

 

Codes to change the screen resolution:

 Colour            640×480     800×600      1024×768     1280×1024

   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.

Xiaopan OS is community driven, without active users the project will cease to exist. Therefore developments and improvements are largely due to help from the users. Share this on Facebook, twitter and tell your friends! Signup to the forums to ask for help or share something you have learned.
  • hamham

    not working with xiaopan 0.4.2.3

    • http://xiaopan.co/forums/ Penguin

      what version of unetbootin are you using, also please check here: http://xiaopan.co/forums/index.php?posts/506/

      • hazz death

        unetbootin 575 doesnt have custom option.. :(

        • http://www.facebook.com/batzishu Ashuaib Chan Batz

          ndak habis2!!

          • http://www.facebook.com/profile.php?id=100003406932568 Mdingi

            Woah nelly, how about them aeplps!

          • Leandro Dos Santos Ricardo

            my xiaopan is 0.4.5.2.1 and unetbootin 309
            login an pssword to root user ?

        • http://www.facebook.com/profile.php?id=100003406933193 Anni

          It’s great to find an epexrt who can explain things so well

  • joaopaulo00

    login an pssword to root user ?

    • lolkowatylol

      propably root:toor

  • camideath666

    Hi!
    First of all, congratulations for this very useful tool!
    I want to add this tool to my multiboot usb. It’s build with grub4dos and i’ve a lot of tools on it, including beini.
    I’ve been searching in the web a lot, but i cant find the way to make it work.
    I’ve tried this:

    title XiaoPan
    find –set-root/boot/isolinux/isolinux.cfg
    kernel /boot/vmlinuz
    initrd /boot/core.gz

    and isolinux.cfg contains this:

    display boot.msg
    default xiaopanOS

    label xiaopanOS
    kernel /boot/vmlinuz
    append initrd=/boot/core.gz quiet core cde tz=GMT-8 showapps vga=788 waitusb=3 mydata=xiaopan lang=en.utf8 restore=sr0/cde

    #implicit 0
    prompt 0
    F1 boot.msg
    F2 f2
    F3 f3
    F4 f4

    Can you helpme please???
    Sorry my bad english.
    Greetings from Argentina!!!

  • http://pinterest.com/penguinzophren/ penguin zophren

    You actually make it appear so easy with your presentation but I in finding this topic to be really one thing that I feel I’d never understand. It seems too complicated and very wide for me. I am having a look ahead in your subsequent submit, I will try to get the grasp of it!

  • http://www.facebook.com/profile.php?id=100003406926128 Zeynep

    ??? ????? ? ?????????: ?????? ? ???????????? ?? ???? ?? ??????? ? ??? ????. remove the deicve from the Device Manager, and then go to control program add new hardware or programs, and detect the deicve, this will fix it.The error means that for some reason your registry has been damaged. Have you been playing around with stuff on your pc, that you have no idea what it is?Either that or you have somehow got a virus. If you have an antivirus program run it first before you do the above listed steps, to first remove any viruses.

  • Juaancho

    Hola a todos…yo lo instale en un pendrive con Puppy 528, cargador xboot ya que yumi no me lo dejaba entrar en grafico. y para solucionarlo puse en la raiz del pendrive la ISO descomprimida sin la carpeta boot, y asi me anduvo…..
    Es una linda distro de intervencion, habria que ver si se puede hacer instalacion persistene…
    Recien la empece a usar, agradezco comentarios…

    • Baru Perez

      Podrias explicarte mejor, porque la verdad es que no puedo hacerlo bootear desde la pendrive, se queda la pantalla en negro, grx

  • Leandro Dos Santos Ricardo

    me too,
    login an pssword to root user ?

  • RoveR

    I use this instruction – but have some problem. I reboot and see such lines:

    [sdb] Asking for cache data failed
    [sdb] Assuming drive cache : write through
    http://pikbox.ru/img/13/2014032417350839320140323_142634.jpg

    What to do?