Difference between revisions of "NeoGRUB"

From ArchWiki
Jump to: navigation, search
m
m
Line 5: Line 5:
 
When you install NeoGRUB to the windows bootloader, a configuration file window pops up, prompting you for GRUB configuration syntax for the NeoGrub. Here's an example to boot Arch Linux:
 
When you install NeoGRUB to the windows bootloader, a configuration file window pops up, prompting you for GRUB configuration syntax for the NeoGrub. Here's an example to boot Arch Linux:
  
:{{title Arch
+
<code>title Arch
 
find --set-root /boot/vmlinuz-linux
 
find --set-root /boot/vmlinuz-linux
 
kernel /boot/vmlinuz-linux ro root=/dev/sda3
 
kernel /boot/vmlinuz-linux ro root=/dev/sda3
 
initrd /boot/initramfs-linux.img
 
initrd /boot/initramfs-linux.img
}}
+
</code>
  
 
adjust the /dev/sda3 line accordingly to point to your Linux / partition. Also, if you use a kernel other than default (such as linux-lts or the -ck kernel) adjust the initramfs and vmlinuz files accordingly.
 
adjust the /dev/sda3 line accordingly to point to your Linux / partition. Also, if you use a kernel other than default (such as linux-lts or the -ck kernel) adjust the initramfs and vmlinuz files accordingly.

Revision as of 15:26, 10 November 2013

NeoGRUB is an implementation of GRUB4DOS provided by the EasyBCD bootloader-configurator for Windows. When installed to the Windows bootloader (via Add New Entry - NeoGrub ) from EasyBCD, it embeds an implementation of GRUB Legacy inside the Windows Bootloader. This implementation can boot Arch Linux and other Linuxes directly, without chainloading a Linux bootloader installed on the linux's /boot.

This can be helpful if you find that updates to Arch are breaking your Arch's GRUB or Syslinux.

When you install NeoGRUB to the windows bootloader, a configuration file window pops up, prompting you for GRUB configuration syntax for the NeoGrub. Here's an example to boot Arch Linux:

title Arch find --set-root /boot/vmlinuz-linux kernel /boot/vmlinuz-linux ro root=/dev/sda3 initrd /boot/initramfs-linux.img

adjust the /dev/sda3 line accordingly to point to your Linux / partition. Also, if you use a kernel other than default (such as linux-lts or the -ck kernel) adjust the initramfs and vmlinuz files accordingly.

More information of the nature and workings of EasyBCD and NeoGRUB is at the developer's site:

[1] [2]

note that that last link has an example to boot Ubuntu. Ubuntu adds version numbers to its vmlinuz and initrd files, which would require that you update the NeoGRUB every kernel update. Arch does not have this problem. Also note that Arch uses initramfs, not initrd, but you still use the syntax in the code box above.

Enjoy.