Difference between revisions of "Booting from USB flash"

From KolibriOS wiki
Jump to navigation Jump to search
(→‎See also: The link in the post referenced doesn't work.)
Line 1: Line 1:
== How to install KolibriOS on a USB flash drive ==
+
= How to install KolibriOS on a USB flash drive =
  
=== Linux ===
+
== Windows ==
  
# Install syslinux and mtools packages:<br/> <code>apt-get install syslinux mtools</code>
+
=== Using USB boot program from distribution (recommended) ===
# 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
+
# Download the latest [http://builds.kolibrios.org/eng/latest-distr.7z kolibri_distr.7z] from the [http://builds.kolibrios.org nightly builds] page.
# Create syslinux.cfg on a flash and write the following:<br/><code>default memdisk initrd=kolibri.img</code>
+
# 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
  
Select '''floppy''' in the blue boot screen.
+
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.
  
=== Windows ===
+
=== Using syslinux ===
  
 
# Get memdisk and console syslinux.exe (http://www.kernel.org/pub/linux/utils/boot/syslinux/)
 
# Get memdisk and console syslinux.exe (http://www.kernel.org/pub/linux/utils/boot/syslinux/)
Line 19: Line 28:
 
Select '''floppy''' in the blue boot screen.
 
Select '''floppy''' in the blue boot screen.
  
 +
== 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 ==
 
== See also ==

Revision as of 06:41, 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.

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