ideanl n00b
Joined: 31 Mar 2013 Posts: 39
|
Posted: Mon Apr 01, 2013 5:07 pm Post subject: GRUB2 Boot causes loss of signal to monitor |
|
|
I have a Radeon HD 7770 on a UEFI system running Gentoo. When I boot from GRUB's menu entry, I get the loading message and the screen turns black with no signal received. When I hit 'c' to get to the GRUB2 command line, I can boot perfectly with the following commands:
Code: |
insmod efi_gop
set root=(hd0,gpt2)
linux /kernel-3.6.11-gentoo root=/dev/sda5
boot
|
And this is my grub.cfg:
Code: |
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
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_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0f3e50df-2670-49ca-a3fe-8eae8373b5e0
else
search --no-floppy --fs-uuid --set=root 0f3e50df-2670-49ca-a3fe-8eae8373b5e0
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=
insmod gettext
fi
terminal_output gfxterm
if sleep --interruptible 0 ; then
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0f3e50df-2670-49ca-a3fe-8eae8373b5e0' {
load_video
insmod gzio
insmod part_gpt
insmod efi_gop
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0f3e50df-2670-49ca-a3fe-8eae8373b5e0
else
search --no-floppy --fs-uuid --set=root 0f3e50df-2670-49ca-a3fe-8eae8373b5e0
fi
echo 'Loading Linux 3.6.11-gentoo ...'
linux /boot/kernel-3.6.11-gentoo root=/dev/sda5 ro
}
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-0f3e50df-2670-49ca-a3fe-8eae8373b5e0' {
menuentry 'Gentoo GNU/Linux, with Linux 3.6.11-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.11-gentoo-advanced-0f3e50df-2670-49ca-a3fe-8eae8373b5e0' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0f3e50df-2670-49ca-a3fe-8eae8373b5e0
else
search --no-floppy --fs-uuid --set=root 0f3e50df-2670-49ca-a3fe-8eae8373b5e0
fi
echo 'Loading Linux 3.6.11-gentoo ...'
linux /boot/kernel-3.6.11-gentoo root=/dev/sda5 ro
}
menuentry 'Gentoo GNU/Linux, with Linux 3.6.11-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.11-gentoo-recovery-0f3e50df-2670-49ca-a3fe-8eae8373b5e0' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0f3e50df-2670-49ca-a3fe-8eae8373b5e0
else
search --no-floppy --fs-uuid --set=root 0f3e50df-2670-49ca-a3fe-8eae8373b5e0
fi
echo 'Loading Linux 3.6.11-gentoo ...'
linux /boot/kernel-3.6.11-gentoo root=/dev/sda5 ro single
}
}
### 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 8'{
chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
### 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 ###
|
I have been messing around with my kernel configuration in order to get the proper graphics modules for my Radeon HD 7770. Recently, I had to boot with nomodeset because I would hang at "Waiting for uevents to be processed" . I fixed that problem but I am left with the problem above. Here is my .config for my kernel configuration in case I have a problem with the graphics driver modules: http://labibij.hulk.osd.wednet.edu/files/CONFIG |
|