Использование Splash и Framebuffer в Gentoo Linux (ядро genkernel).

Настройка и установка Splash.

В файл /etc/make.conf добавим USE-флаг "fbcondecor"

Устанавливаем splash и темы оформления:

  # emerge -av splashutils splash-themes-gentoo splash-themes-livecd

Разрешаем декорации для консолей с 1 по 6:

В файле /etc/conf.d/fbcondecor снимем комментарий перед строкой FBCONDECOR_TTYS="1 2 3 4 5 6"

Добавляем Splash в автозагрузку:

  # rc-update add fbcondecor default

Конфигурирование, компилирование и установка ядра genkernel:

  # genkernel --splash=livecd-2007.0 --splash-res=800x600 --menuconfig all

  Device Drivers ->
   Graphics support ->
    [*] Support for frame buffer devices
    <*>   VESA VGA graphics support
    Console display driver support ->
     [*] Video mode selection support
     <*> Framebuffer Console support
        [*] Support for the Framebuffer Console Decorations

Настройка и установка GRUB.

Редактируем файл/boot/grub/grub.conf:

  default 0
  timeout 2
  splashimage=(hd0,0)/boot/grub/splash.xpm.gz

  title Gentoo Linux
  root (hd0,0)
  kernel /boot/kernel-genkernel-x86-2.6.31-gentoo-r6 root=/dev/ram0 real_root=/dev/hda3 vga=0x313 splash=silent,theme:livecd-2007.0 console=tty1
  initrd /boot/initramfs-genkernel-x86-2.6.31-gentoo-r6

Устанавливаем GRUB в MBR:

  # grub-install /dev/hda

© mohado
Используются технологии uCoz