GRUB Reverted To Text Mode

GRUB was in graphics mode when I was running OpenSUSE 11.2 64-bits. I upgraded to 12.1 64-bit and now GRUB is in text mode.

It still works and does the same thing but I am wondering what broke it. Any ideas? Is there a package or config to change?

Kinds of silly but I don’t like mysteries :wink:

Thanks!

11.2 to 12.1 is a big jump.

I’d do a fresh install

So, once in openSUSE 12.1, perhaps you could post the output of your menu.lst file in a message for us to view?

sudo cat /boot/grub/menu.lst

gogalthorp has a point with his suggestion to do a clean install, but if this is your only complaint, we might be able to overcome the issue. Be sure to use the advanced message editor and place the menu.lst contents in your message here within a code # block.

Thank You,

Well, it is 99.9% working, so no, I won’t do a clean install. Too much config is needed!

And this is more for my curiosity than anything else, I can live with the text menu.

Sure, here it is menu.lst:

# Modified by YaST2. Last modification on Wed Dec  7 12:35:13 EST 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 12.1 - 3.1.0-1.2
    root (hd0,0)
    kernel /vmlinuz-3.1.0-1.2-desktop root=/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940HZ3T0HLC-part2 resume=/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940HZ3T0HLC-part4 splash=silent quiet showopts vga=0x3e5
    initrd /initrd-3.1.0-1.2-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 12.1 - 3.1.0-1.2
    root (hd0,0)
    kernel /vmlinuz-3.1.0-1.2-desktop root=/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940HZ3T0HLC-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x3e5
    initrd /initrd-3.1.0-1.2-desktop

###Don't change this comment - YaST2 identifier: Original name: hard_disk###
title Hard Disk
    rootnoverify (hd0)
    chainloader +1

Thanks for your time!

  • Itai

Try adding this (if you don’t know how to edit, ask)
gfxmenu (hd0,0)/boot/message

to this section

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,0)/boot/message
##YaST - activate

Yes, caf4926 found the error at the top of your file. To edit the file as root, use the command:

kdesu kwrite /boot/grub/menu.lst

Here is the top of mine and you can see the missing entry in bold:

# Modified by YaST2. Last modification on Fri Dec  9 20:18:07 CST 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
**gfxmenu (hd0,0)/boot/message**
##YaST - activate

You might want to confirm the present of the message file in the folder /boot first. I see that mine is called a CPIO archive and is the file size 459.0 KiB there.

Thank You,

On 2011-12-11 03:36, gogalthorp wrote:
>
> 11.2 to 12.1 is a big jump.

Just because of a little problem with grub? That’s absurd.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Ah, well, it turns out the message file is not there at all. So, adding the line certainly wont work. I wonder where it comes from and where did it go.

If anyone knows, please let me know.

Thanks!

  • Itai

Open a terminal and type:

ls /boot

post result

Here it is:

4.0K -rw------- 1 root root  512 Dec  7 12:35 backup_mbr
0 lrwxrwxrwx 1 root root    1 Nov 10 11:15 boot -> .
4.0K -rw-r--r-- 1 root root 1.3K Oct 25 13:07 boot.readme
128K -rw-r--r-- 1 root root 126K Nov  5 06:30 config-3.1.0-1.2-desktop
4.0K drwxr-xr-x 2 root root 4.0K Dec  7 12:35 grub
   0 lrwxrwxrwx 1 root root   24 Dec  7 12:35 initrd -> initrd-3.1.0-1.2-desktop
8.4M -rw-r--r-- 1 root root 8.4M Dec  7 12:35 initrd-3.1.0-1.2-desktop
 16K drwx------ 2 root root  16K Dec  7 12:26 lost+found
596K -rw-r--r-- 1 root root 596K Nov  5 09:16 symtypes-3.1.0-1.2-default.gz
600K -rw-r--r-- 1 root root 597K Nov  5 07:58 symtypes-3.1.0-1.2-desktop.gz
584K -rw-r--r-- 1 root root 581K Nov  5 09:08 symtypes-3.1.0-1.2-xen.gz
208K -rw-r--r-- 1 root root 208K Nov  5 07:45 symvers-3.1.0-1.2-desktop.gz
4.0K -rw-r--r-- 1 root root  515 Nov  5 07:45 sysctl.conf-3.1.0-1.2-desktop
2.5M -rw-r--r-- 1 root root 2.5M Nov  5 07:28 System.map-3.1.0-1.2-desktop
5.3M -rw-r--r-- 1 root root 5.3M Nov  5 09:04 vmlinux-3.1.0-1.2-default.gz
5.6M -rw-r--r-- 1 root root 5.6M Nov  5 07:45 vmlinux-3.1.0-1.2-desktop.gz
4.9M -rw-r--r-- 1 root root 4.9M Nov  5 08:58 vmlinux-3.1.0-1.2-xen.gz
   0 lrwxrwxrwx 1 root root   25 Dec  7 12:29 vmlinuz -> vmlinuz-3.1.0-1.2-desktop
4.8M -rw-r--r-- 1 root root 4.8M Nov  5 07:28 vmlinuz-3.1.0-1.2-desktop

Let me know if you see anything suspicious.

Thanks!

I don’t know if this will work

OK
Download this zip file
http://dl.dropbox.com/u/10573557/home_temp/message.zip
extract the file: message

Copy it to /boot

To do that. Open a terminal in the dir where you extracted the file and type:

sudo mv message /boot

On 2011-12-12 04:56, idanan wrote:
>
> Ah, well, it turns out the message file is not there at all. So, adding
> the line certainly wont work. I wonder where it comes from and where did
> it go.

Please trim your messages from unneeded old text.

The message file comes in gfxboot-branding-openSUSE-12.1-15.3.9.noarch rpm.
You are probably missing it.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Thanks guys! That worked perfectly. I used the package to make sure it was updated and then only needed the additional line in menu.lst.