My Ubuntu 16.1 crashed with a no operating system error. I tried to reinstall from the same start-up flash-drive I'd used to install the system in the first place. Got the "grub-efi-amd64singed" package not installed error and a no operating system error on reboot. The start-up drive still works on the try Ubuntu option.
From the try Ubuntu option I downloaded and made a new flash-drive, this time with ubuntu 17.4. I figured a brand new installation would solve the problem. Didn't. Same error. Could the error on the original flash-drive have corrupted the new Ubuntu download?
On Ask Ubuntu I found the following solution by L.D. James:
Upgrade and update your repository packages and cache. Run these commands:
$ sudo apt update
$ sudo apt upgrade
$ sudo apt dist-upgrade
Update:
Run these commands one by one:
$ sudo apt install --reinstall grub
$ sudo apt install --reinstall grub2-common
$ sudo apt install --reinstall grub-efi-amd64
$ sudo apt install --reinstall grub-efi-amd64-bin
$ sudo apt autoremove
$ sudo apt install grub-efi-amd64-signed
shareedit
edited Mar 26 at 14:28
answered Mar 18 at 12:10
L. D. James
12.8k31853
I tried it. The only irregularities I encountered were once during the upgrade it detected a difference between the coding or something from the software being installed and the local one on my computer, and gave me a list of options. (Sorry, I didn't keep a copy). I chose to keep the local version since I believe I have the newest ubuntu desktop (17.4).
Everything else seemed to work. Only problem is when I again tried to install Ubuntu 17.4 on my computer I get the same error. Again, I can still use the try Ubuntu version from the start-up flash-drive.
Seems strange to me that the problem persists. Has the fact that I'm only using "try Ubuntu" sabotaged the installation somehow? That is, when I run the above updates, how do I know where the missing grub-file is being reinstalled? I can't seem to find the flash-drive by using the cd command in order to be sure I'm installing the file in the right place.
sudo parted -l
. – oldfred Aug 28 '17 at 14:32