Difference between revisions of "Booting from USB flash"

From KolibriOS wiki
Jump to navigation Jump to search
(New page: test)
 
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
test
+
= How to install KolibriOS on a USB flash drive =
 +
 
 +
== Windows ==
 +
 
 +
=== Using USB boot program from distribution (recommended) ===
 +
 
 +
# Download the latest [http://builds.kolibrios.org/eng/latest-distr.7z kolibri_distr.7z] from the [http://builds.kolibrios.org nightly builds] page.
 +
# Insert your USB flash drive in your windows computer and run inst.exe from HD_Load\USB_Boot folder in the distribution package.
 +
# 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 ===
 +
 
 +
# Download the [http://ftp.kolibrios.org/users/seppe/kinst.exe installer] straight to your USB flash drive, or copy it there.
 +
# Run kinst.exe
 +
 
 +
This installer is a complete package and will thus install its own embedded kolibri.img. <br>
 +
It's possible to replace kolibri.img on the drive with another version after running the installer.
 +
 
 +
=== Using syslinux ===
 +
 
 +
# Get memdisk and console syslinux.exe (http://www.kernel.org/pub/linux/utils/boot/syslinux/)
 +
# Copy memdisk and the kolibri.img image on a flash drive
 +
# Run syslinux -s <device> , where <device> is the flash drive name (for example H:)
 +
# Write in syslinux.cfg on the flash drive:<br/><code>default memdisk initrd=kolibri.img</code>
 +
 
 +
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.<br>
 +
Check the [http://rufus.akeo.ie/ rufus website] for more information.
 +
 
 +
== Linux ==
 +
 
 +
=== Using syslinux ===
 +
 
 +
# Install syslinux and mtools packages:<br/> <code>apt-get install syslinux mtools</code>
 +
# Copy /usr/lib/syslinux/memdisk and kolibri.img to the root directory of the flash drive
 +
# Unmount flash and install syslinux on it:<br/> <code>syslinux -s /dev/sdb1</code>, where /dev/sdb1 is a boot partition of your flash drive
 +
# Create syslinux.cfg on a flash and write the following:<br/><code>default memdisk initrd=kolibri.img</code>
 +
 
 +
Select '''floppy''' in the blue boot screen.
 +
 
 +
== See also ==
 +
* [http://www.syslinux.org/ The Syslinux Project]
 +
 
 +
[[Category:Manuals]]

Latest revision as of 06:58, 22 October 2014

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