Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

16 Posts

03-04-2017

United Kingdom of Great Britain and Northern Ireland

24 Signins

389 Page Views

  • Posts: 16
  • Registered: ‎03-04-2017
  • Location: United Kingdom of Great Britain and Northern Ireland
  • Views: 389
  • Message 1 of 3

Add EFI Shell to Boot Menu X1 Carbon 5th Gen

2017-06-29, 20:24 PM

Hi,

I am dual booting Windows 10 and Ubuntu 17.04 on an X1 Carbon by using efibootmgr from within Ubuntu to update the EFI boot list. i.e. I am using the Boot Menu firmware of the Thinkpad (accessed by hitting F12 at boot) as my Boot Manager. This is working well, but I would like to have the option to drop into an EFI Shell in case something goes wrong.

 

Most online instructions describe running EFI Shell from a USB drive, but I can't see any reason why it couldn't be loaded from my HDD ESP like any other .EFI file.

 

However  on my Thinkpad, if I do either of the following, when selecting the appropriate option in the F12 boot menu, I simply get a flash of black screen, and returned to the boot menu.

 

- copy the Shell_Full.efi binary (obtained from here) to \EFI\shell\shellx64.efi and create appropriate boot entry using efibootmgr in linux (specifically: sudo efibootmgr -c -d /dev/nvme0n1 -p 1 -L "UEFI shellx64.efi in shell" -l "\EFI\shell\shellx64.efi")

OR

- format a USB as fat32, flag partition ESP and Boot, make directory EFI\BOOT and copy same binary there as bootx64.efi

 

Both of these should work - in particular the USB approach. The fact that neither does makes me wonder if the X1 Firmware has some objection to the EFI Shell, or if I am missing a step.

 

Anyone out there tried this or could suggest how to troubleshoot?

Reply
Answer
Options

16 Posts

03-04-2017

United Kingdom of Great Britain and Northern Ireland

24 Signins

389 Page Views

  • Posts: 16
  • Registered: ‎03-04-2017
  • Location: United Kingdom of Great Britain and Northern Ireland
  • Views: 389

Re: Add EFI Shell to Boot Menu X1 Carbon 5th Gen

2017-06-30, 13:28 PM

SOLVED

I had Secure Boot enabled. I was confused by as message which appears saying 'Booting in Insecure Mode' which apparently does NOT mean that Secure Boot is switched off.

Reply

Replies(2)
Answer
Options

16 Posts

03-04-2017

United Kingdom of Great Britain and Northern Ireland

24 Signins

389 Page Views

  • Posts: 16
  • Registered: ‎03-04-2017
  • Location: United Kingdom of Great Britain and Northern Ireland
  • Views: 389
  • Message 2 of 3

Re: Add EFI Shell to Boot Menu X1 Carbon 5th Gen

2017-06-30, 13:28 PM

SOLVED

I had Secure Boot enabled. I was confused by as message which appears saying 'Booting in Insecure Mode' which apparently does NOT mean that Secure Boot is switched off.

0 person found this solution to be helpful.

This helped me too

Reply
Options

1 Posts

07-02-2017

Finland

1 Signins

43 Page Views

  • Posts: 1
  • Registered: ‎07-02-2017
  • Location: Finland
  • Views: 43
  • Message 3 of 3

Re: Add EFI Shell to Boot Menu X1 Carbon 5th Gen

2017-07-02, 18:44 PM

Hi,

 

this is offtopic, but how did you get Ubuntu installed to X1 Carbon with dual booting Windows 10? I've been struggling with UEFI for a few days, with no luck. Windows 10 will always get started and my UEFI Boot list does not show up anything Ubuntu-related item.

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms