Difference between revisions of "Booting from USB flash"

From KolibriOS wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== How to install KolibriOS on a USB flash drive ==
 
== How to install KolibriOS on a USB flash drive ==
  
=== Linux Ubuntu ===
+
=== Linux ===
  
 
# Install syslinux and mtools packages:<br/> <code>apt-get install syslinux mtools</code>
 
# Install syslinux and mtools packages:<br/> <code>apt-get install syslinux mtools</code>
Line 10: Line 10:
 
Select '''floppy''' in the blue boot screen.
 
Select '''floppy''' in the blue boot screen.
  
== Links ==
+
=== Windows ===
* [[Booting from GRUB]]
+
 
* [http://mdevelop.kolibrios.org/files/tmp/kolibri_hut1_ru/load_usb.htm Mario79 article describing more sophisticated methods{{ref-ru}}]
+
For Windows
 +
 
 +
# 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>
 +
 
 +
 
 +
== See also ==
 
* [http://board.kolibrios.org/viewtopic.php?f=1&t=337&p=16524#p16524 FAT32 KolibriOS bootloader installer for Windows{{ref-ru}}]
 
* [http://board.kolibrios.org/viewtopic.php?f=1&t=337&p=16524#p16524 FAT32 KolibriOS bootloader installer for Windows{{ref-ru}}]
  
 
[[Category:Manuals]]
 
[[Category:Manuals]]

Revision as of 20:38, 17 September 2012

How to install KolibriOS on a USB flash drive

Linux

  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.

Windows

For Windows

  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


See also