Booting from GRUB: Difference between revisions
Jump to navigation
Jump to search
Asiekierka (talk | contribs) No edit summary |
m (add grub2 instructions) |
||
Line 16: | Line 16: | ||
== GRUB2 == | == 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 == | == Limitations == |
Revision as of 20:49, 20 May 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
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.