All of a sudden I can't boot anymore!?!?

Today I started my PC and selected openSuSE. Then I get a message from Grub, saying that Grub can’t find the Linux kernel and that I must first select the kernel headers.
Yesterday I was able to boot just fine.

My Grub is the one included with Ubuntu 10.04LTS.

Help?

Hi, Mabye boot in ubuntu and fire up an update-grub command ?

On 06/09/2011 08:36 PM, thomas23272 wrote:
>
> I must first select the kernel headers.

select the kernel headers or install the kernel headers?

are you using a VM?

> Yesterday I was able to boot just fine.
>
> My Grub is the one included with Ubuntu 10.04LTS.

so you have openSUSE (which version) and Ubuntu, and anything else
installed?

can you copy/paste the output of


sudo cat /boot/grub/menu.lst

and, you say it booted fine yesterday: did you install any updates
yesterday, or edit any configuration files? go to root for any reason?
and, did you boot to Ubuntu (or what else?) between yesterday’s openSUSE
session and the unable to boot today?


dd CAVEAT: http://is.gd/bpoMD
via NNTP openSUSE 11.4 [2.6.37.6-0.5] + KDE 4.6.0 + Thunderbird 3.1.10
Acer Aspire One D255, 1.66 GHz Atom, 1 GB RAM, Intel Pineview graphics

  • When your gecko is broken you have a reptile dysfunction! *

Select

No.

OpenSuSE: 11,3(Gnome, if that matters)
and “MemTest86+”

# Modified by YaST2. Last modification on Wed Jun  8 21:19:19 PDT 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

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

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 2.6.34.8-0.2
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.8-0.2-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5C428069-part2 resume=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5C428069-part1 splash=silent quiet showopts vga=0x346
    initrd /boot/initrd-2.6.34.8-0.2-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.8-0.2 (desktop)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.8-0.2-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5C428069-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x346
    initrd /boot/initrd-2.6.34.8-0.2-desktop

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 - 2.6.34.8-0.2 (pae)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.8-0.2-pae root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5C428069-part2 resume=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5C428069-part1 splash=silent quiet showopts vga=0x346
    initrd /boot/initrd-2.6.34.8-0.2-pae

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.8-0.2 (pae)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.8-0.2-pae root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5C428069-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x346
    initrd /boot/initrd-2.6.34.8-0.2-pae

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 - 2.6.34.8-0.2 (default)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.8-0.2-default root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5C428069-part2 resume=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5C428069-part1 splash=silent quiet showopts vga=0x346
    initrd /boot/initrd-2.6.34.8-0.2-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.8-0.2 (default)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.8-0.2-default root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5C428069-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x346
    initrd /boot/initrd-2.6.34.8-0.2-default

Updates: yes; I can’t quite remember which ones. One of them was for the kernel.
Config files: Not that I can remember
Root: Yes.
Ubuntu: No, I don’t think so.

I looked in Synaptic, and I found about 30 of them.
None of them can be updated. Should I try reinstalling it?

Where did you get all these kernel entries. Possibly the wrong GRUB entry? Did you try all of them?

I have no idea where all of those kernel entries came from. One day there were just a few, then there were a whole bunch. It didn’t really bother me at that moment.
And yes, I tried all GRUB entries, including the PAE entry, even though I only have 3GB RAM in my machine.

Since you run Ubuntu, and are able to start it, I suspect Ubuntu’s GRUB2 to be the cause of this. The order normally is: machine on -> GRUB2 -> (openSUSE’s) GRUB. Since there are no entries to boot Ubuntu, and yet you can boot it, the problem is in the Ubuntu part. “update-grub” should already be installed on Ubuntu. AFAIK you’d have to run “sudo update-grub”, but you’d better look into that.

Oh, wait a minute, I copied the one on the openSuSE partition. There is no /boot/grub/menu.lst in that location in Ubuntu.
I ran update-grub, but still no menu.lst.
I’ll put the output of update-grub here, if that helps:


Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-32-generic
Found initrd image: /boot/initrd.img-2.6.32-32-generic
Found linux image: /boot/vmlinuz-2.6.32-32-386
Found initrd image: /boot/initrd.img-2.6.32-32-386
Found linux image: /boot/vmlinuz-2.6.32-31-generic
Found initrd image: /boot/initrd.img-2.6.32-31-generic
Found linux image: /boot/vmlinuz-2.6.32-31-386
Found initrd image: /boot/initrd.img-2.6.32-31-386
Found linux image: /boot/vmlinuz-2.6.32-30-generic
Found initrd image: /boot/initrd.img-2.6.32-30-generic
Found linux image: /boot/vmlinuz-2.6.32-30-386
Found initrd image: /boot/initrd.img-2.6.32-30-386
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
Found openSUSE 11.3 (i586) on /dev/sda2
done

By the way, I have version 1.98-1ubuntu10 of Grub.
I’ll try to boot into openSuSE again. I’ll update this in about 10 minutes or so.

What?! Ubuntu uses Grub2 (Grub 1.98xxx is Grub2) and doesn’t have /boot/grub/menu.lst but /boot/grub/grub.cfg - that goes rewritten every time when you run update-grub.

sudo update-grub is all you need to add an openSUSE boot entry to your Ubuntu Grub menu … provided os-prober is installed - but it should be.

It works again! I’m so happy :smiley:

Thank you all for your help! I know where to come to for help.

~Thomas