Booting from GRUB: Difference between revisions

From KolibriOS wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
If you want to boot KoOS directly with grub, you need to do this:
 
* get and install the syslinux package
== GRUB1 ==
* 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.
If you want to boot KolibriOS with GRUB, you need to do this:
* add this lines to your grub.conf:
* 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:
Code:


Line 11: Line 14:
   initrd /boot/kolibri.img
   initrd /boot/kolibri.img


* reboot and enjoy
== GRUB2 ==
 
TODO!


BTW, there is one limitation in this method: The kernel cannot save its boot settings :(
== Limitations ==
* The kernel cannot save boot settings.


[[Category:Manuals]]
[[Category:Manuals]]

Revision as of 19:34, 18 March 2013

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

TODO!

Limitations

  • The kernel cannot save boot settings.