Difference between revisions of "Booting from GRUB"

From KolibriOS wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
* add this lines to your grub.conf:
 
* add this lines to your grub.conf:
 
Code:
 
Code:
<asm>
+
 
label KoOS
+
label KoOS
 
   root (hd0,0)  # edit this to your correct partition, given example is hda1
 
   root (hd0,0)  # edit this to your correct partition, given example is hda1
 
   kernel /boot/memdisk
 
   kernel /boot/memdisk
 
   initrd /boot/menuet.img
 
   initrd /boot/menuet.img
</asm>
+
 
 
* reboot and enjoy
 
* reboot and enjoy
  

Revision as of 09:32, 10 February 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
  • copy your KoOS-image to /boot
  • 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/menuet.img
  • 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, one limitation is in this method: The kernel cannot save its boot settings :(

Howto written by derPENGUIN, added to the wiki by Hidnplayr