LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2018, 11:12 AM   #1
kekie
LQ Newbie
 
Registered: Sep 2017
Distribution: ubuntu+xfce
Posts: 7

Rep: Reputation: Disabled
boot-repair fails with mysertious shim-signed error


For various reasons, I had to move my linux mint boot partition on a dual-boot drive with mint and win7. This naturally broke grub2. So I created a bootrepair live-USB, booted onto it, and connected to the Internet. I clicked "Recommended repair" and entered commands when prompted. The result is as follows:

Code:
lubuntu@lubuntu:~$ sudo chroot "/mnt/boot-sav/sda8" dpkg --configure -a
lubuntu@lubuntu:~$ sudo chroot "/mnt/boot-sav/sda8" apt-get install -fy
Reading package lists... Done
Building dependency tree      
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 284 not upgraded.
lubuntu@lubuntu:~$ sudo chroot "/mnt/boot-sav/sda8" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 shim-signed : Depends: shim (= 0.9+1474479173.6c180c6-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
lubuntu@lubuntu:~$
Ignoring the error and attemping to proceed with bootrepair (clicking "forward" in the GUI) results in the message
Code:
GRUB is still absent. Please try again.
I don't quite know what to do. Why isn't shim being automatically installed if it's a dependency?

In case it's helpful, here's the BootInfo summary. (It's very long, so I won't include it here just yet. If it proves to be useful, I'll edit this question to include relevant excerpts.)
 
Old 09-27-2018, 12:17 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
Boot repair has an option to Create BootInfo Summary which will gather information on your system and give you a link to post here so that members with a little more knowledge can view it and make suggestions. Try it again with that option. Windows 7 by default does not use EFI. Did you install Mint as well as windows 7 EFI?
 
Old 09-27-2018, 02:44 PM   #3
kekie
LQ Newbie
 
Registered: Sep 2017
Distribution: ubuntu+xfce
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Boot repair has an option to Create BootInfo Summary which will gather information on your system and give you a link to post here so that members with a little more knowledge can view it and make suggestions. Try it again with that option. Windows 7 by default does not use EFI. Did you install Mint as well as windows 7 EFI?
My original post already has a link to the BootInfo Summary. Should I paste the contents into the question itself, or is a link OK? I don't think I'm using EFI.
 
Old 09-27-2018, 05:17 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
In your original post, you indicate that you have windows 7 installed which would default to a Legacy/MBR install. The boot repair output shows windows 8 installed and installed as an EFI install. The windows and Mint (ubuntu) EFI files are present on the EFI partition. Boot repair shows a grub.cfg file on the EFI partition but that file does no more than point to the partition on which the actual grub.cfg should be, in your case sda8. Boot repair does not show any grub.cfg file on that partition. Is that where you moved your Mint boot files? In your original post you indicate that you had to move your Mint boot partition but no separate boot partition shows in boot repair.

Do you see an option to turn on/off Secure Boot in the BIOS? If so, try disabling or turning it off.

Boot the Mint usb or any Linux Live system and try mounting sda8 to see if you have any boot/grub files present.

Do you have a Boot option key on boot and can you select from EFI file? If so, you should have a Mint option, probably labelled ubuntu, try that and post back.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Boot Repair Tool - Repair The Most Boot Related Problems LXer Syndicated Linux News 0 06-21-2017 09:49 PM
Message: A database connection error has been detected, we are attempting to repair the server, if the repair does not resolve the issue, pl deva420patra Linux - Server 4 11-23-2016 07:40 AM
LXer: News: Linux Top 3: KDE 4.10, LibreOffice 4 and Secure Boot Loader Shim LXer Syndicated Linux News 0 02-12-2013 09:21 PM
ubuntu won't boot & boot repair fails ficus Linux - Newbie 3 05-08-2011 06:42 PM
Disk I/O error at boot, init panics, how to repair? MOCKBA Ubuntu 3 04-02-2009 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration