Tag Archives: dpkg –configure -a

“Generating grub.cfg” won’t finish….

A brand new installation of Kubuntu 10.04 always requires updates, including an updated kernel. The new kernel forces synaptic to run grub-update. My problem was that it just wouldn’t finish! It would hang at “Generating grub.cfg.” I finally figured out: unplug the usb cable to my printer, which has an SD slot in it for picture cards. Once I did that, and did a “sudo dpkg –configure -a” in Konsole, the update could finish as normal. I wonder if that is what made Mint 9 KDE installation keep halting at “Looking for other operating systems…” Hmmm. I’ll have to give that a try…

Update: I tried the Mint installation again, but I had to physically disconnect my second hard drive (where I keep my /home directory) and install to the entire first hard drive (no more Kubuntu) before I could get it to install completely. I kept getting stuck at “looking for other OS’s… ” when it was trying to install grub to the main hard drive’s MBR (master boot record). And THEN, as soon as I went to update the new Mint, I was stuck again at “generating grub.cfg… ” The workaround I finally found (somewhere on Ubuntu forums, I think) was to append this line to the bottom of /etc/default/grub:


Then I was able to reboot, update through Synaptic, and it configured the new kernel, updated grub.cfg, etc. without a hiccup.


Posted by on August 13, 2010 in Uncategorized


Tags: , , , , , , , ,