Announcement

Collapse
No announcement yet.

GRUB menu appeares after upgrade to Karmic Koala

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GRUB menu appeares after upgrade to Karmic Koala

    Dear friends, I had almost no issues after upgrade, but a GRUB menu with the old linux headers appeared in my boot. In the past I had no grub menu at all, since I don't use multibooting with windows. How can I get rid of this?

    #2
    Re: GRUB menu appeares after upgrade to Carmic Kohala

    You have always had a Grub menu, but I suspect that you have not seen it - have you had automatic logon? Even if you don't multiboot.

    You need to do two things

    1) Remove old kernels. Be careful, you must not remove the current kernel. Have a look at e.g. http://kubuntuforums.net/forums/inde...opic=3100965.0

    2) You need to reinstate automatic logon. Look at e.g. http://www.watchingthenet.com/how-to...r-kubuntu.html
    "A problem well stated is a problem half solved." --Charles F. Kettering
    "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

    Comment


      #3
      Re: GRUB menu appeares after upgrade to Karmic Koala

      After much effort still cannot fix it. I will paste my grub and grub.cfg files in order to tell me what's wrong (from synaptic i permanently removed old headers)

      # If you change this file, run 'update-grub' afterwards to update
      # /boot/grub/grub.cfg.

      GRUB_DEFAULT=0
      GRUB_HIDDEN_TIMEOUT=0
      GRUB_HIDDEN_TIMEOUT_QUIET=true
      GRUB_TIMEOUT=0
      GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
      GRUB_CMDLINE_LINUX_DEFAULT="quiet"
      GRUB_GFXMODE=1280x800
      GRUB_GFXPAYLOAD_LINUX=1280x800
      GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1280x800-24,mtrr=3,scroll=ywrap"
      GRUB_CMDLINE_LINUX=" quiet"

      # Uncomment to disable graphical terminal (grub-pc only)
      #GRUB_TERMINAL=console

      # The resolution used on graphical terminal
      # note that you can use only modes which your graphic card supports via VBE
      # you can see them in real GRUB with the command `vbeinfo'
      #GRUB_GFXMODE=1024x768

      # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
      #GRUB_DISABLE_LINUX_UUID=true

      # Uncomment to disable generation of recovery mode menu entries
      #GRUB_DISABLE_LINUX_RECOVERY="true"

      # Uncomment to get a beep at grub start
      #GRUB_INIT_TUNE="480 440 1"

      #
      # 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
      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
      }
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      insmod gfxterm
      insmod
      if terminal_output gfxterm ; then true ; else
      # For backward compatibility with versions of terminal.mod that don't
      # understand terminal_output
      terminal gfxterm
      fi
      fi
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      set locale_dir=($root)/boot/grub/locale
      set lang=en
      insmod gettext
      if [ ${recordfail} = 1 ]; then
      set timeout=-1
      else
      set timeout=0
      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
      ### END /etc/grub.d/05_debian_theme ###

      ### BEGIN /etc/grub.d/10_linux ###
      menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
      recordfail
      set gfxpayload=1280x800
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      linux /boot/vmlinuz-2.6.35-22-generic root=UUID=4411b726-8fd2-48c9-8699-d93f75f62f08 ro quiet quiet splash nomodeset video=uvesafb:mode_option=1280x800-24,mtrr=3,scroll=ywrap
      initrd /boot/initrd.img-2.6.35-22-generic
      }
      menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
      recordfail
      set gfxpayload=1280x800
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      echo 'Loading Linux 2.6.35-22-generic ...'
      linux /boot/vmlinuz-2.6.35-22-generic root=UUID=4411b726-8fd2-48c9-8699-d93f75f62f08 ro single quiet
      echo 'Loading initial ramdisk ...'
      initrd /boot/initrd.img-2.6.35-22-generic
      }
      menuentry 'Ubuntu, with Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
      recordfail
      set gfxpayload=1280x800
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      linux /boot/vmlinuz-2.6.32-25-generic root=UUID=4411b726-8fd2-48c9-8699-d93f75f62f08 ro quiet quiet splash nomodeset video=uvesafb:mode_option=1280x800-24,mtrr=3,scroll=ywrap
      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=1280x800
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      echo 'Loading Linux 2.6.32-25-generic ...'
      linux /boot/vmlinuz-2.6.32-25-generic root=UUID=4411b726-8fd2-48c9-8699-d93f75f62f08 ro single quiet
      echo 'Loading initial ramdisk ...'
      initrd /boot/initrd.img-2.6.32-25-generic
      }
      menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
      recordfail
      set gfxpayload=1280x800
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      linux /boot/vmlinuz-2.6.32-24-generic root=UUID=4411b726-8fd2-48c9-8699-d93f75f62f08 ro quiet quiet splash nomodeset video=uvesafb:mode_option=1280x800-24,mtrr=3,scroll=ywrap
      initrd /boot/initrd.img-2.6.32-24-generic
      }
      menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
      recordfail
      set gfxpayload=1280x800
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      echo 'Loading Linux 2.6.32-24-generic ...'
      linux /boot/vmlinuz-2.6.32-24-generic root=UUID=4411b726-8fd2-48c9-8699-d93f75f62f08 ro single quiet
      echo 'Loading initial ramdisk ...'
      initrd /boot/initrd.img-2.6.32-24-generic
      }
      menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
      recordfail
      set gfxpayload=1280x800
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      linux /boot/vmlinuz-2.6.32-21-generic root=UUID=4411b726-8fd2-48c9-8699-d93f75f62f08 ro quiet quiet splash nomodeset video=uvesafb:mode_option=1280x800-24,mtrr=3,scroll=ywrap
      initrd /boot/initrd.img-2.6.32-21-generic
      }
      menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
      recordfail
      set gfxpayload=1280x800
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      echo 'Loading Linux 2.6.32-21-generic ...'
      linux /boot/vmlinuz-2.6.32-21-generic root=UUID=4411b726-8fd2-48c9-8699-d93f75f62f08 ro single quiet
      echo 'Loading initial ramdisk ...'
      initrd /boot/initrd.img-2.6.32-21-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='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      linux16 /boot/memtest86+.bin
      }
      menuentry "Memory test (memtest86+, serial console 115200)" {
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set 4411b726-8fd2-48c9-8699-d93f75f62f08
      linux16 /boot/memtest86+.bin console=ttyS0,115200n8
      }
      ### END /etc/grub.d/20_memtest86+ ###

      ### BEGIN /etc/grub.d/30_os-prober ###
      if [ "x${timeout}" != "x-1" ]; then
      if keystatus; then
      if keystatus --shift; then
      set timeout=-1
      else
      set timeout=0
      fi
      else
      if sleep --interruptible 3 ; then
      set timeout=0
      fi
      fi
      fi
      ### 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.
      ### 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 ###



      Comment


        #4
        Re: GRUB menu appeares after upgrade to Karmic Koala

        Forgive me for the wrong info, I have the latest 10.10 Maverik amd64

        Comment


          #5
          Re: GRUB menu appeares after upgrade to Karmic Koala

          Did you run
          Code:
          sudo update-grub
          to update the grub.cfg file? If yes, then logically the only answer can be that you did not actually remove the old kernel images.

          Comment


            #6
            Re: GRUB menu appeares after upgrade to Karmic Koala

            any suggestions? I used synaptic to remove and then I updated grub, grub2

            Comment


              #7
              Re: GRUB menu appeares after upgrade to Karmic Koala

              Couple of notions:

              1. You wrote that you removed "linux headers", but you have to remove the kernel files themselves, not just the header files. Possibly you didn't scroll down the package list and find the kernel image files.

              2. I'm really getting to like the muon package manager. Maybe it's just a matter of taste, over function, but why don't you install muon and then Alt-F2 "kdesudo muon" and scroll down through all the packages that begin with "linux-" and see if you can find more packages with the older kernel numbers, that you can delete.

              Then, of course,
              Code:
              sudo update-grub
              and reboot.

              Comment


                #8
                Re: GRUB menu appeares after upgrade to Karmic Koala

                According to the grub.cfg you posted, you have 4 kernels installed.

                2.6.35-25
                2.6.35-22
                2.6.32-24
                2.6.32-21

                To confirm this, look in /boot and you'll see these files:

                System.map
                vmlinuz
                abi
                initrd.img
                memtest86+.bin
                vmcoreinfo

                with version numbers trailing the filenames and you'll likely have one for each kernel.

                Since you're using synaptic, type just the version numbers above in the search bar and you'll get the entire list of files to remove. I think grub-pc sees the image files so you may not have removed all of them.

                BTW: you might want to confirm exactly which kernel you want to boot to before you start to remove them. Usually the latest version (highest number) is the best, but test it by booting to it first - then remove all the others.

                Please Read Me

                Comment

                Working...
                X