Difference between revisions of "Booting from GRUB"

From KolibriOS wiki
Jump to navigation Jump to search
m
Line 2: Line 2:
 
* get and install the syslinux package
 
* get and install the syslinux package
 
* copy /usr/lib/syslinux/memdisk to /boot
 
* copy /usr/lib/syslinux/memdisk to /boot
* copy your KoOS-image 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 this lines to your grub.conf:
 
* add this lines to your grub.conf:
 
Code:
 
Code:
Line 13: Line 13:
 
* reboot and enjoy
 
* reboot and enjoy
  
edit: just tried, it is not necessary to copy the image 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.
+
BTW, there is one limitation in this method: The kernel cannot save its boot settings :(
BTW, one limitation is in this method: The kernel cannot save its boot settings :(
 
  
 
Howto written by derPENGUIN, added to the wiki by Hidnplayr
 
Howto written by derPENGUIN, added to the wiki by Hidnplayr
  
 
[[Category:Manuals]]
 
[[Category:Manuals]]

Revision as of 12:42, 2 August 2008

If you want to boot KoOS directly with grub, you need to do this:

  • get and install the syslinux package
  • 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 this 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
  • reboot and enjoy

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

Howto written by derPENGUIN, added to the wiki by Hidnplayr