Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: After upgrade, kernel problem (won't boot)

  1. #1
    Join Date
    Apr 2011
    Beans
    15

    Question After upgrade, kernel problem (won't boot)

    Upgraded to 11.04 from 10.10.
    Here's what I'm seeing.
    __________________________________________

    GNU GRUB version 1.99~rc1-13ubuntu3

    2.6.38-8-generic
    2.6.38-8-generic recovery mode
    previous linux versions
    memtest
    another memtest
    my Windows installation
    __________________________________________

    If I boot it using 2.6.38-8-generic, I get a black screen.
    If I boot it using 2.6.38-8-generic recovery mode, I get this:
    http://musicmaker.fastmail.fm/kernelpanic.jpg

    If I boot it from the newest previous version:
    2.6.35-28-generic
    ... it boots properly, which is what enabled me to write this post.

    I've got to head out now, but any clues as to what's wrong (and how to fix it) would be appreciated.
    If you need more information, please let me know what you need (and, preferably, how to obtain it).


    Thanks,
    musicnotes
    Last edited by musicnotes; April 29th, 2011 at 07:58 PM.

  2. #2
    Join Date
    Apr 2005
    Beans
    138

    Re: After upgrade, kernel problem (won't boot)

    I have the EXACT same issue. When I loaded the previous version it booted the first time but now after rebooting I just get an error about the Power_Mode timing out.
    I thought I would just blow it all away and install from scratch but if I boot from the new Install CD I just get white lines of code scrolling non stop so quickly that I can't read any of it.

  3. #3
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: After upgrade, kernel problem (won't boot)

    What does the grub2 menu entries say for the current kernel boot and for the previous kernel boot? (start to finish...not just the kernel boot line)
    Multi-Boot= Various flavours of Windows, Linux and Unix... Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot
    Boot Info Script courtesy of community member meierfra

  4. #4
    Join Date
    May 2009
    Location
    Land of Lincoln
    Beans
    1,369
    Distro
    Ubuntu Development Release

    Re: After upgrade, kernel problem (won't boot)

    Hi!

    If you can;

    sudo apt-get update

    sudo apt-get install linux-image -f


    (Updates kernel)

    KegHead

  5. #5
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: After upgrade, kernel problem (won't boot)

    Quote Originally Posted by YaAqoB View Post
    I have the EXACT same issue. When I loaded the previous version it booted the first time but now after rebooting I just get an error about the Power_Mode timing out.
    I thought I would just blow it all away and install from scratch but if I boot from the new Install CD I just get white lines of code scrolling non stop so quickly that I can't read any of it.
    On lines that have scrolled by... it is in what is still considered a "terminal." You should be able to review them by pressing <ctrl><alt><Page up> to see the previous screens and <ctrl><alt><page down> to go down a page at a time... Unfornutely, you can only review what is last in the buffer (before it pushes out what is overflowed) or back to where it last cleared the screen.
    Last edited by MAFoElffen; April 29th, 2011 at 08:38 PM.
    Multi-Boot= Various flavours of Windows, Linux and Unix... Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot
    Boot Info Script courtesy of community member meierfra

  6. #6
    Join Date
    Apr 2005
    Beans
    138

    Re: After upgrade, kernel problem (won't boot)

    Thanks for your replies.

    Ubuntu, with Linux 2.6.38-8 generic
    Ubuntu, with Linux 2.6.38-8-generic (recovery mode)

    Previous Linux versions:

    Ubuntu, with Linux 2.6.35-28 generic
    Ubuntu, with Linux 2.6.35-28-generic (recovery mode)

    As for the lines that scroll by, it never stops so I can't review them sorry. I've had it scrolling for over half an hour now.
    The parts that don't change are as follows:
    [ 0.060003] [<c1.......>] ? then it all changes so fast I can't make it out.
    I can't get it to boot in any mode or any version of the kernel sorry so I can't run the apt-get command.

  7. #7
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: After upgrade, kernel problem (won't boot)

    Quote Originally Posted by YaAqoB View Post
    Thanks for your replies.

    Ubuntu, with Linux 2.6.38-8 generic
    Ubuntu, with Linux 2.6.38-8-generic (recovery mode)

    Previous Linux versions:

    Ubuntu, with Linux 2.6.35-28 generic
    Ubuntu, with Linux 2.6.35-28-generic (recovery mode)

    As for the lines that scroll by, it never stops so I can't review them sorry. I've had it scrolling for over half an hour now.
    The parts that don't change are as follows:
    [ 0.060003] [<c1.......>] ? then it all changes so fast I can't make it out.
    I can't get it to boot in any mode or any version of the kernel sorry so I can't run the apt-get command.
    LOL
    Okay... What I meant was the grubmenu entries instead of the menu tiles. An easier way for you might be to post your /boot/grub/grub.cfg file such as this:
    HTML Code:
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      set have_grubenv=true
      load_env
    fi
    set default="0"
    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 recordfail {
      set recordfail=1
      if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    
    function load_video {
      insmod vbe
      insmod vga
      insmod video_bochs
      insmod video_cirrus
    }
    
    insmod part_msdos
    insmod ext2
    set root='(/dev/sdb,msdos3)'
    search --no-floppy --fs-uuid --set=root 32939def-1f4a-4134-9b56-bed2319a9216
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
    fi
    terminal_output gfxterm
    insmod part_msdos
    insmod ext2
    set root='(/dev/sdb,msdos3)'
    search --no-floppy --fs-uuid --set=root 32939def-1f4a-4134-9b56-bed2319a9216
    set locale_dir=($root)/boot/grub/locale
    set lang=en_US
    insmod gettext
    if [ "${recordfail}" = 1 ]; then
      set timeout=-1
    else
      set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    if background_color 44,0,30; then
      clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    if [ ${recordfail} != 1 ]; then
      if [ -e ${prefix}/gfxblacklist.txt ]; then
        if hwmatch ${prefix}/gfxblacklist.txt 3; then
          if [ ${match} = 0 ]; then
            set linux_gfx_mode=keep
          else
            set linux_gfx_mode=text
          fi
        else
          set linux_gfx_mode=text
        fi
      else
        set linux_gfx_mode=keep
      fi
    else
      set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod part_msdos
        insmod ext2
        set root='(/dev/sdb,msdos3)'
        search --no-floppy --fs-uuid --set=root 32939def-1f4a-4134-9b56-bed2319a9216
        linux    /boot/vmlinuz-2.6.38-8-generic root=UUID=32939def-1f4a-4134-9b56-bed2319a9216 ro   quiet splash vt.handoff=7
        initrd    /boot/initrd.img-2.6.38-8-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod part_msdos
        insmod ext2
        set root='(/dev/sdb,msdos3)'
        search --no-floppy --fs-uuid --set=root 32939def-1f4a-4134-9b56-bed2319a9216
        echo    'Loading Linux 2.6.38-8-generic ...'
        linux    /boot/vmlinuz-2.6.38-8-generic root=UUID=32939def-1f4a-4134-9b56-bed2319a9216 ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.38-8-generic
    }
    submenu "Previous Linux versions" {
    menuentry 'Ubuntu, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod part_msdos
        insmod ext2
        set root='(/dev/sdb,msdos3)'
        search --no-floppy --fs-uuid --set=root 32939def-1f4a-4134-9b56-bed2319a9216
        linux    /boot/vmlinuz-2.6.35-28-generic root=UUID=32939def-1f4a-4134-9b56-bed2319a9216 ro   quiet splash vt.handoff=7
        initrd    /boot/initrd.img-2.6.35-28-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod part_msdos
        insmod ext2
        set root='(/dev/sdb,msdos3)'
        search --no-floppy --fs-uuid --set=root 32939def-1f4a-4134-9b56-bed2319a9216
        echo    'Loading Linux 2.6.35-28-generic ...'
        linux    /boot/vmlinuz-2.6.35-28-generic root=UUID=32939def-1f4a-4134-9b56-bed2319a9216 ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.35-28-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod part_msdos
        insmod ext2
        set root='(/dev/sdb,msdos3)'
        search --no-floppy --fs-uuid --set=root 32939def-1f4a-4134-9b56-bed2319a9216
        linux    /boot/vmlinuz-2.6.32-25-generic root=UUID=32939def-1f4a-4134-9b56-bed2319a9216 ro   quiet splash vt.handoff=7
        initrd    /boot/initrd.img-2.6.32-25-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod part_msdos
        insmod ext2
        set root='(/dev/sdb,msdos3)'
        search --no-floppy --fs-uuid --set=root 32939def-1f4a-4134-9b56-bed2319a9216
        echo    'Loading Linux 2.6.32-25-generic ...'
        linux    /boot/vmlinuz-2.6.32-25-generic root=UUID=32939def-1f4a-4134-9b56-bed2319a9216 ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.32-25-generic
    }
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
        insmod part_msdos
        insmod ext2
        set root='(/dev/sdb,msdos3)'
        search --no-floppy --fs-uuid --set=root 32939def-1f4a-4134-9b56-bed2319a9216
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod part_msdos
        insmod ext2
        set root='(/dev/sdb,msdos3)'
        search --no-floppy --fs-uuid --set=root 32939def-1f4a-4134-9b56-bed2319a9216
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows Vista (loader) (on /dev/sda1)" --class windows --class os {
        insmod part_msdos
        insmod ntfs
        set root='(/dev/sda,msdos1)'
        search --no-floppy --fs-uuid --set=root E85C16665C163034
        chainloader +1
    }
    menuentry "Windows 7 (loader) (on /dev/sdb1)" --class windows --class os {
        insmod part_msdos
        insmod ntfs
        set root='(/dev/sdb,msdos1)'
        search --no-floppy --fs-uuid --set=root 40E0BF86E0BF80A8
        chainloader +1
    }
    menuentry "Ubuntu, with Linux 2.6.32-21-server (on /dev/sdc1)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(/dev/sdc,msdos1)'
        search --no-floppy --fs-uuid --set=root fdf5c6ae-a958-43ac-b65b-373e87cb3340
        linux /boot/vmlinuz-2.6.32-21-server root=UUID=fdf5c6ae-a958-43ac-b65b-373e87cb3340 ro quiet
        initrd /boot/initrd.img-2.6.32-21-server
    }
    menuentry "Ubuntu, with Linux 2.6.32-21-server (recovery mode) (on /dev/sdc1)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(/dev/sdc,msdos1)'
        search --no-floppy --fs-uuid --set=root fdf5c6ae-a958-43ac-b65b-373e87cb3340
        linux /boot/vmlinuz-2.6.32-21-server root=UUID=fdf5c6ae-a958-43ac-b65b-373e87cb3340 ro single
        initrd /boot/initrd.img-2.6.32-21-server
    }
    ### 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.
    #
    ##     This chainloads OpenSolaris'es Grub Menu       ##
    ##               from Ubuntu's Grub2 Menu             ##
    ##            Working with Ubuntu 10.04.beta2         ##
    ##    Had to change 'hd2 to hd2 as root for 10.04.1   ##
    #
    menuentry "OpenSolaris 2010.03 dev_snv_134 64bit" {
        set root='(hd1,2)'
        chainloader +1
    }
    ##       End of OpenSolaris chainload section         ##
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    I'd ask you to run the script in my sig and post the results, but you aren't going to be able to without booting up a kernel. Becuase of that, "tell me" how you have things laid out disk and partition wise...
    Last edited by MAFoElffen; April 29th, 2011 at 10:48 PM.
    Multi-Boot= Various flavours of Windows, Linux and Unix... Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot
    Boot Info Script courtesy of community member meierfra

  8. #8
    Join Date
    Apr 2005
    Beans
    138

    Re: After upgrade, kernel problem (won't boot)

    Sorry.
    I have a single HDD and when I installed 10.10 I just told it to use the entire disk so it's partitioned however Ubuntu does it by default.

    As for the Grub.conf contents.... There is pages of stuff and I suspect it may be quicker to just reinstall 10.10 then manually type it all out manually in this box using my wifes laptop.

    Thanks again for your help so far though.

  9. #9
    Join Date
    Apr 2011
    Beans
    15

    Re: After upgrade, kernel problem (won't boot)

    (oops, wrong thread)

  10. #10
    Join Date
    Apr 2011
    Beans
    15

    Smile Re: After upgrade, kernel problem (won't boot)

    Quote Originally Posted by KegHead View Post
    Hi!

    If you can;

    sudo apt-get update

    sudo apt-get install linux-image -f


    (Updates kernel)

    KegHead
    Hey, KegHead: that worked! Thanks! One question coming at you:

    I tried to run sudo apt-get update, it told me I needed to run sudo dpkg --configure -a first. So I did. Then I ran the two that you suggested, and now it boots properly...

    ... at least, I think it does! Is there a way to check to make sure it is using the correct kernel? (Might it just be using the old one, and not telling me?) Thanks again.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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