Difference between revisions of "Booting from USB flash"

From KolibriOS wiki
Jump to navigation Jump to search
Line 11: Line 11:
  
 
=== Windows ===
 
=== Windows ===
 
For Windows
 
  
 
# 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 18: Line 16:
 
# Run syslinux -s <device> , where <device> is the flash drive name (for example H:)
 
# 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>
 
# Write in syslinux.cfg on the flash drive:<br/><code>default memdisk initrd=kolibri.img</code>
 +
 +
Select '''floppy''' in the blue boot screen.
  
  

Revision as of 20:39, 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

  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.


See also