LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs > Seph64's Lair
User Name
Password

Notices

Rate this Entry

Configuring GRUB2?

Posted 12-08-2009 at 12:59 AM by Seph64

I tried following the grub2 article at the gentoo wiki with no success on this issue.

it says to:
Quote:
if loadfont /boot/grub/unifont.pf2 ; then
set gfxmode="1280x1024x32;1024x768x32;800x600x32;640x480x32;1280x1024;1024x768;800x600;640x480"
insmod gfxterm
insmod vbe
terminal_output gfxterm
if terminal_output gfxterm; then true ; else
terminal gfxterm
fi
fi

insmod png
background_image /boot/grub/gentoo.png
The only difference is my image is grub.png

When grub loads I see what appears to be a small menu then goes in to the main menu (console) before I can see what items are listed in the first one.

I even followed the grub2 article for enabling graphics mode from the official grub wiki.

Anyone know what I am missing?

Here's my current grub.cfg file (which has the gfxterm configuration based on the instructions set down by the grub wiki article linked above):
Quote:
cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=50
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Gentoo GNU/Linux, with Linux x86_64-2.6.31-gentoo-r6" {
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 5b49b784-c574-49ed-86a7-ed9e875322dc
linux /boot/kernel-genkernel-x86_64-2.6.31-gentoo-r6 root=/dev/ram0 real_root=/dev/sda5 ro
initrd /boot/initramfs-genkernel-x86_64-2.6.31-gentoo-r6
}
menuentry "Gentoo GNU/Linux, with Linux x86_64-2.6.31-gentoo-r6 (recovery mode)" {
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 5b49b784-c574-49ed-86a7-ed9e875322dc
linux /boot/kernel-genkernel-x86_64-2.6.31-gentoo-r6 root=/dev/sda5 ro single
}
menuentry "Windows" {
insmod chain
set root=(hd0,2)
chainloader +1
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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.

insmod video
insmod vbe
insmod font
loadfont /boot/grub/unifont.pf2
insmod vbeinfo
insmod gfxterm
set gfxmode="1440x900x32;1024x786x32;800x500x32"
terminal_output vbeinfo gfxterm

insmod png
background_image /boot/grub/grub.png

### END /etc/grub.d/40_custom ###
Any help will be appreciated.
Posted in Uncategorized
Views 1766 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    I'm not familiar with the Gentoo Wiki article. What exactly are you trying to do, and how is what you have done above not working for you?
    Posted 12-12-2009 at 09:14 PM by drask drask is offline
 

  



All times are GMT -5. The time now is 05:36 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration