problems after updating grub

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
kaylux
Level 1
Level 1
Posts: 23
Joined: Tue Mar 06, 2018 10:00 am

problems after updating grub

Post by kaylux » Mon May 21, 2018 2:29 pm

The update manager recently prompted me to update grub (checked and graded "3" so I decided it was safe) At some point in the process I was presented with a black screen with some info about GRUB plus a prompt which looked like this: grub>

I searched the problem on my tablet and discovered this post on the Mint forum: viewtopic.php?t=264745

I followed the instructions and was able to get back into my computer but if I reboot I get to the same screen with the "grub>" prompt

Has anyone had the same problem and does anyone know a permanent fix??

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: problems after updating grub

Post by kc1di » Mon May 21, 2018 3:10 pm

The permanent fix is to reinstall grub as the post said. If that did not work try this in a terminal.

Code: Select all

sudo update-grub
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

kaylux
Level 1
Level 1
Posts: 23
Joined: Tue Mar 06, 2018 10:00 am

Re: problems after updating grub

Post by kaylux » Mon May 21, 2018 5:03 pm

This is a screenshot of my partitions.
Screenshot from 2018-05-21 19-40-41.png
When I tried to reinstall grub I ran "sudo grub-install /dev/sda" Do you think it should have been "................../sda1"?

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: problems after updating grub

Post by kc1di » Mon May 21, 2018 5:19 pm

looks like your system is efi enabled so try this method in a terminal

Code: Select all

sudo apt install --reinstall grub-efi
then do this

Code: Select all

sudo update-grub 
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

kaylux
Level 1
Level 1
Posts: 23
Joined: Tue Mar 06, 2018 10:00 am

Re: problems after updating grub

Post by kaylux » Tue May 22, 2018 5:09 am

When I run the first input in the terminal I get the following message:
Screenshot from 2018-05-22 09-28-43.png
When I do as they ask : "sudo dpkg --configure -a" I'm returned to the black screen with "grub>"

Any suggestions?

Thanks for your help by the way kc1di

PS: Just noticed that when I try to do routine updates through update manager I get error messages:
Screenshot from 2018-05-22 11-06-26.png

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: problems after updating grub

Post by kc1di » Tue May 22, 2018 6:56 am

you have some broken packages on your system which must first be cleared in order to install anything.
you can do that two ways.
1. go to Synaptic package manager and under the edit tab select fix broken packages, then hit apply. Or 2. go to a terminal and issue this command

Code: Select all

sudo dpkg --cofigure -a
then try again the install.
If either of those methods fail to fix the broken packages run terminal command and post any errors recieved.
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

kaylux
Level 1
Level 1
Posts: 23
Joined: Tue Mar 06, 2018 10:00 am

Re: problems after updating grub

Post by kaylux » Tue May 22, 2018 5:04 pm

Nothing seems to work. The synapticPM is blocked by the "An Error Occurred" box and the SPM disappears when I try to remove the box. Running "dpkg --configure -a" just brings me back to the grub>prompt.

Most of my "Home" folder is already backed up on an external hard drive so I'll do a complete re install next weekend. I may go for Xfce this time which is apparently lighter and more stable and perhaps better suited to my low end laptop.

Thanks for trying

corlin3
Level 1
Level 1
Posts: 1
Joined: Sun Jun 03, 2018 11:43 pm

Re: problems after updating grub

Post by corlin3 » Sun Jun 03, 2018 11:58 pm

OK I have the same problem.
I am in an endless loop.
Just trying to update software, with "Update Manger", and I get this error

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

so I go to terminal and type " sudo dpkg --configure -a" and then my password.

I get this.
dexter@dexter ~ $ sudo dpkg --configure -a
[sudo] password for dexter:
Setting up linux-firmware (1.157.19) ...
update-initramfs: Generating /boot/initrd.img-4.13.0-43-generic
Warning: No support for locale: en_US.utf8
update-initramfs: Generating /boot/initrd.img-4.13.0-41-generic
Warning: No support for locale: en_US.utf8
update-initramfs: Generating /boot/initrd.img-4.13.0-39-generic
Warning: No support for locale: en_US.utf8

Over and over .... it never stops.

when I launch "Synaptic Package Manger"
I get
"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report."

and it won't let in yo repair packages....

Please help!!

User avatar
Pierre
Level 17
Level 17
Posts: 7280
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: problems after updating grub

Post by Pierre » Mon Jun 04, 2018 12:37 am

try doing this -
- click on Update Manager - Edit - Software Sources.
on the Official Repositories Tab:
- at the Bottom of that Screen - - click on 'Restore the default settings'.
then on the Top Right Corner:
- click on Update Cache
then, back on the Main page of Update Manager:
- click on the Refresh Icon.

now - watch for any Errors, like those that you were getting . .
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

Post Reply

Return to “Newbie Questions”