Difference between pages "Package:Boot-Update" and "User:Havinfuntoo"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
(Created page with "{{Person |Geoloc=42.331427, -83.0457538 |Location name=Detroit |Blogs= }}")
 
Line 1: Line 1:
{{Ebuild
{{Person
|Summary=Funtoo Core Boot Framework for global boot loader configuration
|Geoloc=42.331427, -83.0457538
|CatPkg=sys-boot/boot-update
|Location name=Detroit
|Maintainer=Drobbins
|Blogs=
|Repository=Funtoo Overlay
|Organization=Funtoo Technologies
|Overlay=Funtoo
}}
}}
Funtoo boot-update provides a unified mechanism for configuring the GRUB 1.9x ({{Package|sys-boot/grub}}) and GRUB 0.97 ({{Package|sys-boot/grub-legacy}}) boot loaders. It is the recommended, official way to configure Funtoo Linux systems for booting.
== Current Version ==
* {{Package|sys-boot/boot-update}}
== Man Pages ==
Consult the following man pages for detailed, up-to-date information on configuration file settings and command-line arguments:
* boot-update(8)
* boot.conf(5)
{{:Install/BootLoader}}
=== GRUB 0.97 (grub-legacy) Quick Start ===
If using <code>sys-boot/grub-legacy-0.97</code>, perform the following steps:
* Partition disk using MBR partitions '''(GPT not supported)'''
* Install kernel/initrd to <code>/boot</code>
<console>
###i## emerge sys-boot/boot-update
###i## emerge ">=sys-boot/grub-legacy-0.97-r11"
###i## grub-install-legacy /dev/sda
</console>
Due to an issue with <code>grub-legacy</code>, you may see the following message:
<console>
###i## grub-install-legacy /dev/sda
The file /boot/grub-legacy/stage1 not read correctly.
</console>
Should you receive this message, you will have to install <code>grub-legacy</code> from the grub shell.
Assuming <code>/boot</code> is the partition <code>/dev/sda1</code> and you want to install grub to the MBR, you would run the following:
<console>
###i## grub-legacy
root (hd0,0)
setup (hd0)
quit
</console>
When adjusting to fit your setup, remember 'root' is the location of your boot partition, 'setup' is where you want to install grub, and don't forget about grub's unique naming conventions for hard drives / partitions. For more information run:
<console>
###i## info grub-legacy
</console>
Ensure that <code>/etc/fstab</code> is correct, and edit <code>/etc/boot.conf</code> to reflect your installation.
Ensure a <code>generate grub-legacy</code> setting in the <code>boot</code> section. Then run:
<console>
###i## boot-update
</console>
This will auto-generate the <code>/boot/grub-legacy/grub.conf</code> required for booting. Note that <code>grub-legacy-0.97-r11</code> and later stores <code>grub.conf</code> in the <code>/boot/grub-legacy</code> directory.
Re-run <code>boot-update</code> every time your available kernels / initrds or <code>/etc/boot.conf</code> configuration changes.
[[Category:Projects]]
[[Category:Funtoo features]]
{{EbuildFooter}}

Latest revision as of 06:15, February 15, 2015


Location

Loading map...
Detroit