Difference between pages "Package:Boot-Update" and "Translations:Install/Overview/17/en"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m (Add reference to boot.conf.example)
 
(Importing a new version from external source)
 
Line 1: Line 1:
{{Ebuild
If you'd like to complete the install remotely, here's how. First, you will need to ensure that System Rescue CD has a functioning network connection. Then, you will need to set a root password for System Rescue CD:
|Summary=Funtoo Core Boot Framework for global boot loader configuration
|CatPkg=sys-boot/boot-update
|Maintainer=Drobbins
|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)
 
== GRUB 1.97+ Quick Start ==
 
If using <code>sys-boot/grub-1.97</code> or later, perform the following steps:
 
* Partition disk using GPT/GUID (recommended) or MBR partitions.
* Install kernel/initrd to <code>/boot</code>
 
<console>
###i## emerge sys-boot/boot-update
###i## grub-install --no-floppy /dev/sda
</console>
Ensure that <code>/etc/fstab</code> is correct, and edit <tt>/etc/boot.conf</tt> to reflect your installation (see <code>/etc/boot.conf.example</code>). Then run:
 
<console>
###i## boot-update
</console>
This will auto-generate the complex <tt>/boot/grub/grub.cfg</tt> required for booting. Re-run <tt>boot-update</tt> every time your available kernels/initrds or <tt>/etc/boot.conf</tt> configuration changes.
 
= 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 <tt>/etc/fstab</tt> is correct, and edit <tt>/etc/boot.conf</tt> to reflect your installation. Ensure a <tt>generate grub-legacy</tt> setting in the <tt>boot</tt> section. Then run:
 
<console>
###i## boot-update
</console>
This will auto-generate the <tt>/boot/grub-legacy/grub.conf</tt> required for booting. Note that <code>grub-legacy-0.97-r11</code> and later stores <tt>grub.conf</tt> in the <tt>/boot/grub-legacy</tt> directory.
 
Re-run <tt>boot-update</tt> every time your available kernels / initrds or <tt>/etc/boot.conf</tt> configuration changes.
 
[[Category:Projects]]
[[Category:Funtoo features]]
{{EbuildFooter}}

Latest revision as of 04:23, July 14, 2015

If you'd like to complete the install remotely, here's how. First, you will need to ensure that System Rescue CD has a functioning network connection. Then, you will need to set a root password for System Rescue CD: