Booting from GRUB

From KolibriOS wiki
Revision as of 09:39, 22 May 2013 by Hidnplayr (talk | contribs)
Jump to navigation Jump to search

GRUB1 (GRUB legacy)

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.