Booting from USB flash

From KolibriOS wiki
Jump to navigation Jump to search

How to install KolibriOS on a USB flash drive

Windows

Using USB boot program from distribution (recommended)

  1. Download the latest kolibri_distr.7z from the nightly builds page.
  2. Insert your USB flash drive in your windows computer and run inst.exe from HD_Load\USB_Boot folder in the distribution package.
  3. Copy kolibri.img to the root folder of your USB flash drive.

For more information, see readme.txt in USB_boot folder.

Using Seppe's installer

  1. Download the installer straight to your USB flash drive, or copy it there.
  2. Run kinst.exe

This installer is a complete package and will thus install its own embedded kolibri.img.
It's possible to replace kolibri.img on the drive with another version after running the installer.

Using syslinux

  1. Get memdisk and console syslinux.exe (http://www.kernel.org/pub/linux/utils/boot/syslinux/)
  2. Copy memdisk and the kolibri.img image on a flash drive
  3. Run syslinux -s <device> , where <device> is the flash drive name (for example H:)
  4. Write in syslinux.cfg on the flash drive:
    default memdisk initrd=kolibri.img

Select floppy in the blue boot screen.

Using Rufus

Rufus is a windows program that lets you install almost any OS to an USB stick.
Check the rufus website for more information.

Linux

Using syslinux

  1. Install syslinux and mtools packages:
    apt-get install syslinux mtools
  2. Copy /usr/lib/syslinux/memdisk and kolibri.img to the root directory of the flash drive
  3. Unmount flash and install syslinux on it:
    syslinux -s /dev/sdb1, where /dev/sdb1 is a boot partition of your flash drive
  4. Create syslinux.cfg on a flash and write the following:
    default memdisk initrd=kolibri.img

Select floppy in the blue boot screen.

See also