Linux, Lenovo, AMD Radeon

Petter Adsen petter at synth.no
Sun Feb 28 11:14:56 UTC 2016


On Sun, 28 Feb 2016 21:54:36 +1100
Karl Auer <kauer at biplane.com.au> wrote:

> On Sun, 2016-02-28 at 11:27 +0100, Petter Adsen wrote:
> > Karl Auer <kauer at biplane.com.au> wrote:
> > Can you try as I suggested in another post and _verify_ that the
> > code for the ESP is actually ef00?  
> 
> I did, it is.

Good :)

> > Also, maybe try to install from the server image. You should get an
> > error log on VC4, IIRC, that will tell you precisely what goes
> > wrong.  
> 
> Not a bad idea.
> 
> I have progress of sorts to report. I ran the live CD just to get into
> the system, and from there I installed grub-efi-and64-signed manually,
> just using apt-get. It installed without any problems at all, but
> there was still no Linux entry visible in the output of efibootmgr. I
> figured the bits were now in place, so I manually ran efobootmgr to
> create a suitable entry, then ran it again to change the boot order
> to put the new line after the Windows Boot Manager entry. On boot, I
> now see a Linux entry! Yay! But because I used the defaults it's not
> referencing the correct binary. I stupidly didn't write down the name
> it inserted by default, but it mentions redhat :-)

But - yay! :-D

> Windows still boots, so I haven't screwed anything up yet, I hope.
> 
> What is the correct file to specify for Ubuntu 15.10? Uncle Google is
> providing conflicting information.

I'm not at all happy you asked that question, because that is exactly
what I am trying to figure out on my own machine right now :) I
couldn't find a concrete answer by searching either, so this is what I
have done after piecing together what I could find:

I _think_ this should work:

sudo efibootmgr -c -d /dev/sda -l /EFI/ubuntu/shimx64.efi -L "Ubuntu"

For safety, I added an entry for GRUB as well:

sudo efibootmgr -c -d /dev/sda -l /EFI/ubuntu/grubx64.efi -L "GRUB"

Then I set the shim entry to be the default, but I haven't tried
rebooting yet :) As I understand it, as long as grub.cfg and
grubx64.efi are present in the same directory as the shim, the shim
will launch GRUB. However, since you have disabled Secure Boot (I want
to enable it), you might as well just launch GRUB directly.

I hope this helps, but it is still completely untested. Have a bootable
stick nearby :)

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."




More information about the ubuntu-users mailing list