Booting from USB flash: Difference between revisions

From KolibriOS wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
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 ===


Select '''floppy''' in the blue boot screen.
# Download the [http://ftp.kolibrios.org/users/seppe/kinst.exe installer] straight to your USB flash drive, or copy it there.
# Run kinst.exe


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


For 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 26:
# Write in syslinux.cfg on the flash drive:<br/><code>default memdisk initrd=kolibri.img</code>
# 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 ==
== See also ==
* [http://board.kolibrios.org/viewtopic.php?f=1&t=337&p=16524#p16524 FAT32 KolibriOS bootloader installer for Windows{{ref-ru}}]
* [http://www.syslinux.org/ The Syslinux Project]


[[Category:Manuals]]
[[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