Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I did apt-get upgrade it never finishes at this point:

Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.2.0-24-virtual
Updating /boot/grub/menu.lst ... done

You already have a NoLOADER configuration in /etc/grub.conf
Running boot loader as requested
Running /usr/sbin/grub  ... 

The system does not freeze (Ctrl-Z works, I get my console back) just that that /usr/sbin/grub seems to never complete.

What should I do?

share|improve this question
    
Related to askubuntu.com/questions/184488/… –  Joseph Turian Sep 5 '12 at 19:43
add comment

2 Answers 2

Seems to be an issue with the file /etc/grub.conf. Removing the file and re-configuring seems to work:

sudo mv /etc/grub.conf /etc/grub.conf.$(date +%F)
sudo dpkg --configure -a
share|improve this answer
add comment

I had the same issue. Not sure why, but when I removed grub, it worked:

sudo apt-get remove grub-legacy grub-common

Hope that helps!

share|improve this answer
    
Of course, it will work, but GRUB will never update. I recommend to leave grub-common installed. –  Danatela Jul 22 '13 at 8:23
    
I don't see how this is useful. Removing Grub will remove the boot loader and renders the system unbootable. It's like "problem with my car" "trash your car". –  gertvdijk Jul 22 '13 at 8:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.