注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Grub

From Funtoo
Revision as of 17:16, April 17, 2024 by Drobbins (talk | contribs)
Jump to navigation Jump to search
   Warning

Most users should redirect to ego boot update & boot.conf configuration contained in the official install method Install/Bootloader

   Note

This page is a work around to produce a grub menu without the use of ego boot update! your config will be blown away at kernel upgrade time.

Grub is the bootloader most people will use with Funtoo, although the official userland tools for managing your Grub configuration in Funtoo is ego boot. Grub is very powerful supporting multiple partition types, filesystems, and operating systems through a modular framework.

Grub will generally be installed through the grub-install script. That script will translate the Linux device node such as /dev/sda into a Grub device such as (hd1). This has to be done because Grub will only know about devices that your system's firmware knows about. It generates a core Grub image with enough support to read the boot partition. It modifies the Grub boot image so that it can find the core image and installs the boot image to the master boot record.