Quello che mi piacerebbe ora sistemare è l'aspetto, quando parte il boot da grub:
-lo schermo diventa nero per un paio di secondi
-poi compare lo splash nella fase "Initializing kernel"
-poi di nuovo schermo nero per 5-6 secondi
-di nuovo lo splash, stavolta fino al caricamento di X.
Ho provato a far partire (temporaneamente, dai parametri di grub) il boot in verbose mode, ma il problema rimane
Qualche idea?
Intanto posto alcune conf sperando siano utili:
/etc/default/grub
- Code: Select all
#GRUB_DEFAULT=saved
GRUB_DEFAULT=3
GRUB_DISTRIBUTOR="Sabayon"
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=2
GRUB_DISABLE_LINUX_UUID=true
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal.
# Note that you can use only modes which your graphic card supports via VBE.
# You can see them in real GRUB with the command `vbeinfo'.
GRUB_GFXMODE=1024x600
# Path to theme spec txt file.
# The starfield is by default provided with use truetype.
# NOTE: when enabling custom theme, ensure you have required font/etc.
#GRUB_THEME="/boot/grub2/themes/starfield/theme.txt"
# Background image used on graphical terminal.
# Can be in various bitmap formats.
GRUB_BACKGROUND="/boot/grub/default-splash.png"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to kernel
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY=true
# Boot menu option normal color
GRUB_COLOR_NORMAL="white/black"
# Boot menu option "highlight" color
GRUB_COLOR_HIGHLIGHT="magenta/black"
if [ -f "/etc/default/sabayon-grub" ]; then
# this file is placed by the Sabayon Installer and contains
# custom GRUB_CMDLINE_LINUX parameters created at install
# time.
. /etc/default/sabayon-grub
fi
/boot/grub/grub.cfg
- Code: Select all
#
### BEGIN /etc/grub.d/00_fonts ###
### END /etc/grub.d/00_fonts ###
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="3"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' 1edbe77e-bb2d-4aa8-a332-091ec4fa6208
else
search --no-floppy --fs-uuid --set=root 1edbe77e-bb2d-4aa8-a332-091ec4fa6208
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1024x600
load_video
# vga= is deprecated, grub2 handles this just fine
# making grub2 res == linux fb res
set gfxpayload=keep
insmod gfxterm
set locale_dir=$prefix/locale
set lang=it_IT
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' 1edbe77e-bb2d-4aa8-a332-091ec4fa6208
else
search --no-floppy --fs-uuid --set=root 1edbe77e-bb2d-4aa8-a332-091ec4fa6208
fi
insmod png
background_image -m stretch /boot/grub/default-splash.png
if sleep --interruptible 0 ; then
set timeout=2
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Sabayon GNU/Linux' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1edbe77e-bb2d-4aa8-a332-091ec4fa6208' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' 1edbe77e-bb2d-4aa8-a332-091ec4fa6208
else
search --no-floppy --fs-uuid --set=root 1edbe77e-bb2d-4aa8-a332-091ec4fa6208
fi
echo 'Caricamento Linux x86-3.5.0-sabayon...'
linux /boot/kernel-genkernel-x86-3.5.0-sabayon ro init=/linuxrc splash=silent,theme:sabayon video=vesafb:ywrap,mtrr:3 vga=791 console=tty1 quiet dokeymap keymap=it domdadm resume=swap:UUID=d8fe1132-c893-47b1-bc03-2be5b63b75d0 real_resume=UUID=d8fe1132-c893-47b1-bc03-2be5b63b75d0 root=UUID=1edbe77e-bb2d-4aa8-a332-091ec4fa6208 docrypt
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initramfs-genkernel-x86-3.5.0-sabayon
}
submenu 'Opzioni avanzate per Sabayon GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1edbe77e-bb2d-4aa8-a332-091ec4fa6208' {
menuentry 'Sabayon GNU/Linux, con Linux x86-3.5.0-sabayon' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86-3.5.0-sabayon-advanced-1edbe77e-bb2d-4aa8-a332-091ec4fa6208' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' 1edbe77e-bb2d-4aa8-a332-091ec4fa6208
else
search --no-floppy --fs-uuid --set=root 1edbe77e-bb2d-4aa8-a332-091ec4fa6208
fi
echo 'Caricamento Linux x86-3.5.0-sabayon...'
linux /boot/kernel-genkernel-x86-3.5.0-sabayon ro init=/linuxrc splash=silent,theme:sabayon video=vesafb:ywrap,mtrr:3 vga=791 console=tty1 quiet dokeymap keymap=it domdadm resume=swap:UUID=d8fe1132-c893-47b1-bc03-2be5b63b75d0 real_resume=UUID=d8fe1132-c893-47b1-bc03-2be5b63b75d0 root=UUID=1edbe77e-bb2d-4aa8-a332-091ec4fa6208 docrypt
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initramfs-genkernel-x86-3.5.0-sabayon
}
menuentry 'Sabayon GNU/Linux, con Linux x86-3.5.0-sabayon (modalità ripristino)' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86-3.5.0-sabayon-recovery-1edbe77e-bb2d-4aa8-a332-091ec4fa6208' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' 1edbe77e-bb2d-4aa8-a332-091ec4fa6208
else
search --no-floppy --fs-uuid --set=root 1edbe77e-bb2d-4aa8-a332-091ec4fa6208
fi
echo 'Caricamento Linux x86-3.5.0-sabayon...'
linux /boot/kernel-genkernel-x86-3.5.0-sabayon ro single init_opts=single init=/linuxrc splash=verbose,theme:sabayon video=vesafb:ywrap,mtrr:3 vga=791 console=tty1 quiet dokeymap keymap=it domdadm resume=swap:UUID=d8fe1132-c893-47b1-bc03-2be5b63b75d0 real_resume=UUID=d8fe1132-c893-47b1-bc03-2be5b63b75d0 root=UUID=1edbe77e-bb2d-4aa8-a332-091ec4fa6208 docrypt
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initramfs-genkernel-x86-3.5.0-sabayon
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Recovery Environment (loader) (su /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-B4AA5713AA56D20A' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' B4AA5713AA56D20A
else
search --no-floppy --fs-uuid --set=root B4AA5713AA56D20A
fi
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows 7 (loader) (su /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-A25C582E5C57FB8B' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' A25C582E5C57FB8B
else
search --no-floppy --fs-uuid --set=root A25C582E5C57FB8B
fi
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Dimenticavo: la scheda video è un'integrata Intel


