Difference between pages "Package:AMD Catalyst Video Drivers" and "Package:Boot-Update"

(Difference between pages)
 
m (Reverted edits by Sputnik (talk) to last revision by Neduard)
 
Line 1: Line 1:
 
{{Ebuild
 
{{Ebuild
|Summary=Accelerated ATI/AMD binary drivers for Radeon HD 5000 and newer chipsets.
+
|Summary=Funtoo Core Boot Framework for global boot loader configuration
|CatPkg=x11-drivers/ati-drivers
+
|CatPkg=sys-boot/boot-update
 
|Maintainer=Drobbins
 
|Maintainer=Drobbins
 
|Repository=Funtoo Overlay
 
|Repository=Funtoo Overlay
 +
|Organization=Funtoo Technologies
 
|Overlay=Funtoo
 
|Overlay=Funtoo
 
}}
 
}}
== Introduction ==
+
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.
  
<tt>x11-drivers/ati-drivers</tt> (often referred to as "<tt>fglrx</tt>", the name of its kernel module) is the proprietary, accelerated driver for AMD (ATI) graphics cards.
+
== Current Version ==
  
== Preparing to Install ==
+
* {{Package|sys-boot/boot-update}}
  
=== Mask xorg > 1.16 ===
+
== Man Pages ==
 +
Consult the following man pages for detailed, up-to-date information on configuration file settings and command-line arguments:
  
This package doesn't work with the latest unmasked version of xorg-server (1.16). However, xorg-server-1.15 works just fine, so it's easy enough to fix this. Add the following to <code>/etc/portage/package.mask</code>:
+
* boot-update(8)
 +
* boot.conf(5)
  
{{File|name=/etc/portage/package.mask|body=
+
== GRUB 1.97+ Quick Start ==
>=x11-base/xorg-server-1.16
+
 
}}
+
If using <code>sys-boot/grub-1.97</code> or later, perform the following steps:
  
If X is already installed, force it to downgrade by typing:
+
* Partition disk using GPT/GUID (recommended) or MBR partitions.
 +
* Install kernel/initrd to <code>/boot</code>
  
 
<console>
 
<console>
# ##i##emerge -auDN world
+
###i## emerge sys-boot/boot-update
 +
###i## grub-install --no-floppy /dev/sda
 
</console>
 
</console>
 +
Ensure that <code>/etc/fstab</code> is correct, and edit <code>/etc/boot.conf</code> to reflect your installation (see <code>/etc/boot.conf.example</code>). Then run:
  
A few packages will downgrade, and you'll be ready to go.
+
<console>
 +
###i## boot-update
 +
</console>
 +
This will auto-generate the complex <code>/boot/grub/grub.cfg</code> required for booting. Re-run <code>boot-update</code> every time your available kernels/initrds or <code>/etc/boot.conf</code> configuration changes.
  
=== Configuring the kernel ===
+
= GRUB 0.97 (grub-legacy) Quick Start =
  
Configure the kernel as follows. Note that the Direct Rendering Manager is '''not''' enabled. It's possible to have it selected as a kernel module, but should not be built-in to your kernel.
+
If using <code>sys-boot/grub-legacy-0.97</code>, perform the following steps:
  
{{kernelop|desc=
+
* Partition disk using MBR partitions '''(GPT not supported)'''
[*] Enable loadable module support
+
* Install kernel/initrd to <code>/boot</code>
Processor type and features --->
+
      [*] MTRR (Memory Type Range Register) support
+
Bus options (PCI etc.) --->
+
      [*] PCI Express Port Bus Support
+
      [*] Message Signaled Interrupts (MSI and MSI-X)
+
Device Drivers --->
+
      Graphics support --->
+
            < > Direct Rendering Manager (xFree86 4.1.0 and higher DRI support) --->
+
}}
+
 
+
{{note|If you need support for AGP cards, enable the following kernel options:}}
+
{{kernelop|desc=
+
Device Drivers --->
+
      Graphics support --->
+
            <*> /dev/agpgart (AGP Support) --->
+
                  Select an appropriate AGP driver:
+
                  <*> AMD Opteron/Athlon64 on-CPU GART support
+
}}
+
 
+
=== Editing make.conf ===
+
  
Add the following to your <code>/etc/make.conf</code>:
 
 
<console>
 
<console>
# ##i##nano /etc/make.conf
+
###i## emerge sys-boot/boot-update
VIDEO_CARDS="fglrx"
+
###i## emerge ">=sys-boot/grub-legacy-0.97-r11"
 +
###i## grub-install-legacy /dev/sda
 
</console>
 
</console>
=== Editing package.use ===
+
Due to an issue with <code>grub-legacy</code>, you may see the following message:
 
+
Then, add the following to <code>/etc/portage/package.use</code>:
+
 
<console>
 
<console>
###i## nano /etc/portage/package.use
+
###i## grub-install-legacy /dev/sda
x11-drivers/ati-drivers qt4
+
The file /boot/grub-legacy/stage1 not read correctly.
 
</console>
 
</console>
{{note|Feel free to add or remove use flags as you see fit. For example, if you do not want amdcccle support, remove the qt4 use flag.}}
+
Should you receive this message, you will have to install <code>grub-legacy</code> from the grub shell.
== Installing ==
+
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:
 
+
=== Emerging the package ===
+
To emerge the drivers, run the following command:
+
 
<console>
 
<console>
###i## emerge -av --changed-use --deep @world
+
###i## grub-legacy
 +
root (hd0,0)
 +
setup (hd0)
 +
quit
 
</console>
 
</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:
== Configuring ==
+
 
+
Next, set ati-drivers to manage the system's OpenGL implementation:  
+
 
<console>
 
<console>
###i## eselect opengl set ati
+
###i## info grub-legacy
 
</console>
 
</console>
  
Afterwards, run <code>aticonfig</code> to modify the X-server configuration file to work with the ati-drivers:
+
Ensure that <code>/etc/fstab</code> is correct, and edit <code>/etc/boot.conf</code> to reflect your installation.
<console>
+
Ensure a <code>generate grub-legacy</code> setting in the <code>boot</code> section. Then run:
###i## aticonfig --initial
+
</console>
+
 
+
{{tip|If you would like to have a full-resolution framebuffer with ati-drivers, check out [[uvesafb| uvesafb]]}}
+
 
+
== Troubleshooting ==
+
=== I am using a HDMI connection, and my monitor's display has a black border around it. ===
+
Disable overscan using the following command, as root:
+
  
 
<console>
 
<console>
# ##i##aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
+
###i## boot-update
 
</console>
 
</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.
  
You may need to restart your X session.
+
Re-run <code>boot-update</code> every time your available kernels / initrds or <code>/etc/boot.conf</code> configuration changes.
 
+
=== GNOME 3 windows only refresh when I drag them. ===
+
This is a known issue, reported in [http://bugs.funtoo.org/browse/FL-1130 Funtoo Bug 1130]. This issue has been fixed by addressing a bug in cogl -- upgrade to cogl-1.12.2-r2 to fix it.
+
 
+
=== Compton with backend glx does not work well with ati-drivers ===
+
Try running compton with the following switches:
+
<console>
+
###i## compton --backend glx --vsync none --paint-on-overlay
+
</console>
+
  
[[Category:Video Cards]]
+
[[Category:Projects]]
[[Category:First Steps]]
+
[[Category:Funtoo features]]
 
{{EbuildFooter}}
 
{{EbuildFooter}}

Latest revision as of 07:48, October 30, 2014

sys-boot/boot-update


Current Maintainer(s):Daniel Robbins
Source Repository:Funtoo Overlay

Summary: Funtoo Core Boot Framework for global boot loader configuration

Boot-Update

Funtoo boot-update provides a unified mechanism for configuring the GRUB 1.9x (sys-boot/grub (package not on wiki - please add)) and GRUB 0.97 (sys-boot/grub-legacy (package not on wiki - please add)) boot loaders. It is the recommended, official way to configure Funtoo Linux systems for booting.

Current Version

  • 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 sys-boot/grub-1.97 or later, perform the following steps:

  • Partition disk using GPT/GUID (recommended) or MBR partitions.
  • Install kernel/initrd to /boot
# emerge sys-boot/boot-update
# grub-install --no-floppy /dev/sda

Ensure that /etc/fstab is correct, and edit /etc/boot.conf to reflect your installation (see /etc/boot.conf.example). Then run:

# boot-update

This will auto-generate the complex /boot/grub/grub.cfg required for booting. Re-run boot-update every time your available kernels/initrds or /etc/boot.conf configuration changes.

GRUB 0.97 (grub-legacy) Quick Start

If using sys-boot/grub-legacy-0.97, perform the following steps:

  • Partition disk using MBR partitions (GPT not supported)
  • Install kernel/initrd to /boot
# emerge sys-boot/boot-update
# emerge ">=sys-boot/grub-legacy-0.97-r11"
# grub-install-legacy /dev/sda

Due to an issue with grub-legacy, you may see the following message:

# grub-install-legacy /dev/sda
The file /boot/grub-legacy/stage1 not read correctly.

Should you receive this message, you will have to install grub-legacy from the grub shell. Assuming /boot is the partition /dev/sda1 and you want to install grub to the MBR, you would run the following:

# grub-legacy
root (hd0,0)
setup (hd0)
quit

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:

# info grub-legacy

Ensure that /etc/fstab is correct, and edit /etc/boot.conf to reflect your installation. Ensure a generate grub-legacy setting in the boot section. Then run:

# boot-update

This will auto-generate the /boot/grub-legacy/grub.conf required for booting. Note that grub-legacy-0.97-r11 and later stores grub.conf in the /boot/grub-legacy directory.

Re-run boot-update every time your available kernels / initrds or /etc/boot.conf configuration changes.