Results 1 to 10 of 10

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

  1. #1
    Join Date
    Dec 2010
    Location
    California, USA
    Posts
    50

    Default 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?

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

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

    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
    Code:
    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! *

  3. #3
    Join Date
    Jul 2009
    Location
    Montreal, Québec
    Posts
    833

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

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

  4. #4
    Join Date
    Dec 2010
    Location
    California, USA
    Posts
    50

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

    Quote Originally Posted by DenverD View Post
    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?
    Select

    Quote Originally Posted by DenverD View Post
    are you using a VM?
    No.

    Quote Originally Posted by DenverD View Post

    > 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?
    OpenSuSE: 11,3(Gnome, if that matters)
    and "MemTest86+"

    Quote Originally Posted by DenverD View Post
    can you copy/paste the output of
    Code:
    sudo cat /boot/grub/menu.lst
    Code:
    # 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
    Quote Originally Posted by DenverD View Post
    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?
    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.

    Quote Originally Posted by Daax
    Hi, Mabye boot in ubuntu and fire up an update-grub command ?
    I looked in Synaptic, and I found about 30 of them.
    None of them can be updated. Should I try reinstalling it?

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

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

    Where did you get all these kernel entries. Possibly the wrong GRUB entry? Did you try all of them?
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Dec 2010
    Location
    California, USA
    Posts
    50

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

    Quote Originally Posted by Knurpht View Post
    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.

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

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

    Quote Originally Posted by thomas23272 View Post
    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.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8
    Join Date
    Dec 2010
    Location
    California, USA
    Posts
    50

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

    Quote Originally Posted by Knurpht View Post
    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:
    Code:
    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.

  9. #9

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

    Quote Originally Posted by thomas23272 View Post
    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.
    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.

  10. #10
    Join Date
    Dec 2010
    Location
    California, USA
    Posts
    50

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

    It works again! I'm so happy

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

    ~Thomas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •