Difference between revisions of "NeoGRUB"

From ArchWiki
Jump to: navigation, search
m (Add Category. See Help:Category.)
Line 1: Line 1:
 +
[[Category:Boot loaders]]
 
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.''  
 
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.''  
  
Line 5: Line 6:
 
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:
  
<code>title Arch
+
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.
Line 17: Line 16:
 
More information of the nature and workings of EasyBCD and NeoGRUB is at the developer's site:
 
More information of the nature and workings of EasyBCD and NeoGRUB is at the developer's site:
  
[https://neosmart.net/wiki/easybcd/neogrub/]
+
* https://neosmart.net/wiki/easybcd/neogrub/
[https://neosmart.net/wiki/easybcd/neogrub/linux/]
+
* https://neosmart.net/wiki/easybcd/neogrub/linux/
  
 
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.
 
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.
 

Revision as of 05:15, 12 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:

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.