Booting from GRUB: Difference between revisions

From KolibriOS wiki
Jump to navigation Jump to search
(New page: 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 thi...)
 
No edit summary
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:20, 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: <asm> label KoOS

  root (hd0,0)  # edit this to your correct partition, given example is hda1
  kernel /boot/memdisk
  initrd /boot/menuet.img

</asm>

  • 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