Difference between pages "Package:Boot-Update" and "Template:Subarch"

(Difference between pages)
 
 
Line 1: Line 1:
{{Ebuild
+
<includeonly>{{#widget:AddThis}}{{#if:{{{title|}}}|
|Summary=Funtoo Core Boot Framework for global boot loader configuration
+
{{DISPLAYTITLE:Download - {{{title}}}}}
|CatPkg=sys-boot/boot-update
+
|
|Maintainer=Drobbins
+
{{DISPLAYTITLE:Download - {{{subarch}}}}}
|Repository=Funtoo Overlay
+
}}'''This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].'''
|Organization=Funtoo Technologies
+
 
|Overlay=Funtoo
+
{{{Description|}}}
 +
{{#seo:
 +
|title={{#if:{{{title|}}}|Download - {{{title}}}|Download - {{{subarch}}}}}
 +
|keywords=funtoo,linux,build,subarch,{{{subarch}}},{{{title}}}
 +
|description=This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].
 
}}
 
}}
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.
+
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}|title={{{title|}}}}}
 
+
=== Optimizations ===
== Current Version ==
+
__NOTOC__
 
+
{{TableStart}}
* {{Package|sys-boot/boot-update}}
+
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
 
+
<tr><td>CFLAGS</td><td><code>{{{CFLAGS|}}}</code></td></tr>
== Man Pages ==
+
<tr><td>USE (see [[CPU_FLAGS]] for more info)</td><td>{{#if:{{{USE|}}}|<code>{{{USE}}}</code>|(none)}}</td></tr>
Consult the following man pages for detailed, up-to-date information on configuration file settings and command-line arguments:
+
{{TableEnd}}{{#vardefine:subarch|{{{subarch|}}}}}{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='{{{subarch|}}}']/@builds}}{{#vardefine:builds|{{#external_value:builds}}}}
 
+
=== Download ===
* boot-update(8)
+
{{#if:{{#var:builds}}|This section lists the Funtoo Linux builds currently available for download for '''{{{subarch}}}'''.  A full list of Funtoo Linux builds can be found on the [[Subarches]] page.
* boot.conf(5)
+
{{table|1=
 
+
<tr><th class="active">Build</th><th class="active">Variant</th><th class="active">Latest Build</th><th class="active">Download</th><th class="active">Browse Mirror</th></tr>{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}}}|No downloadable stage builds are currently available for this sub-architecture.}}
{{:Install/BootLoader}}
+
{{Important|Do you want a particular build of Funtoo Linux but do not see it here? Let us know what you need, and we will likely add it for you. [https://bugs.funtoo.org Create a bug report] requesting the build you need. To see what options there are, see our [[Corei7|Intel Core i7]] subarch page, which has a lot of builds listed.}}
 
+
[[Category:Subarches]]
=== GRUB 0.97 (grub-legacy) Quick Start ===
+
__NOEDITSECTION__
 
+
=== Detailed Description ===
If using <code>sys-boot/grub-legacy-0.97</code>, perform the following steps:
+
</includeonly>
 
+
* 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 00:03, March 29, 2015