Difference between pages "Package:Boot-Update" and "Package:Wgetpaste"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
(initial commit)
 
Line 1: Line 1:
{{Ebuild
{{Ebuild
|Summary=Funtoo Core Boot Framework for global boot loader configuration
|Summary=Command-line interface to various pastebins
|CatPkg=sys-boot/boot-update
|CatPkg=app-text/wgetpaste
|Maintainer=Drobbins
|Homepage=http://wgetpaste.zlin.dk/
|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.
{{PageNeedsUpdates}}


== Current Version ==
=== Installation ===
{{console|body=###i## emerge app-text/wgetpaste}}


* {{Package|sys-boot/boot-update}}
=== Configuration ===


== Man Pages ==
=== Usage ===
Consult the following man pages for detailed, up-to-date information on configuration file settings and command-line arguments:
Wgetpaste allows output to be streamed to the pastebin service of your choice.
 
{{console|body=###i## cat /tmp/emergeinfo.txt | wgetpaste}}
* 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}}
{{EbuildFooter}}

Revision as of 06:25, January 27, 2015

Wgetpaste

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


Installation

root # emerge app-text/wgetpaste

Configuration

Usage

Wgetpaste allows output to be streamed to the pastebin service of your choice.

root # cat /tmp/emergeinfo.txt