Note

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

Difference between revisions of "Grub"

From Funtoo
Jump to navigation Jump to search
(link official install grub configuration mechanisms, warn that this is legacy method left over from gentoo. this page is a simple cheat sheet for when work arounds are required (like porting, or other feature development))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{warning|Most users should redirect to ego boot update & boot.conf configuration contained in the official install method [[Install/Bootloader]]}}
{{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. Grub is very powerful supporting multiple partition types, filesystems, and operating systems through a modular framework. Grub will generally be installed through the <code>[[grub-install]]</code> script. That script will translate the Linux device node such as <code>/dev/sda</code> into a Grub device such as <code>(hd1)</code>. 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 [[The_Root_Filesystem#.2Fboot_:_Static_files_of_the_boot_loader|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.
Grub is the [[bootloader]] most people will use with Funtoo, although the official userland tools for managing your Grub configuration in Funtoo is {{c|ego boot}}. Grub is very powerful supporting multiple partition types, filesystems, and operating systems through a modular framework.  
 
 
*to patch grub to accept debian sources:
{{console|body=
###i## sed -i 's/"initramfs-genkernel-${alt_version}"/"initramfs-genkernel-${alt_version}" "initramfs-debian-sources-${version}" "initramfs-debian-sources-lts-${version}"/' /etc/grub.d/10_linux
}}
 
*to show the configuration generated:
{{console|body=
###i## grub-mkconfig
}}
 
*to install your config:
{{console|body=
###i## mount /boot
###i## grub-mkconfig -o /boot/grub/grub.cfg
}}
 
 
*=/etc/default/grub=  <--- where the goodies are at


[[Category:Grub]]
[[Category:Grub]]
[[Category:sys-boot]]
[[Category:sys-boot]]

Latest revision as of 17:17, April 17, 2024

   Warning

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

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.