Differenze tra le versioni di "Booting from GRUB"

Da KolibriOS wiki.
Jump to navigation Jump to search
(Changed menuet.img to kolibri.img)
Riga 9: Riga 9:
 
   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/kolibri.img
  
 
* reboot and enjoy
 
* reboot and enjoy

Versione delle 06:56, 30 mar 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/kolibri.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