Booting from GRUB

From KolibriOS wiki
Revision as of 20:49, 20 May 2013 by Dunkaist (talk | contribs) (add grub2 instructions)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

GRUB1

If you want to boot KolibriOS with GRUB, you need to do this:

  • Install Syslinux.
  • Copy /usr/lib/syslinux/memdisk to /boot
  • Point your config "root"-entry to your FAT or NTFS-partition, where the image resides, and write the kernel-entry with (hd0,0)/boot/memdisk or where ever your linux partition is.
  • Add these lines to your grub.conf:

Code:

label KoOS
  root (hd0,0)  # edit this to your correct partition, given example is hda1
  kernel /boot/memdisk
  initrd /boot/kolibri.img

GRUB2

Note that grub2 configs to edit are placed in /etc/grub and /etc/default. Do not edit /boot/grub/grub.cfg file!

Code:

menuentry "KolibriOS" {
       set root='(hd0,5)'    # edit this to your correct partition, given example is sda5
       linux16 /memdisk
       initrd16 /kolibri.img
}

Limitations

  • The kernel cannot save boot settings.