Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Debian fails to install on UEFI

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Debian fails to install on UEFI

#21 Post by p.H »

Head_on_a_Stick wrote:If the Debian .efi loader is copied to the EFI system partition at /EFI/BOOT/BOOTX64.EFI then it should be booted automatically without an NVRAM boot entry.
This would be my preferred method if Debian was the only OS and there was no multiboot with Windows.
Head_on_a_Stick wrote:The only problem then is that the firmware will almost certainly favour Windows' renegade bootmgfw.efi loader
And /EFI/BOOT/BOOTX64.EFI is already used by Windows' fallback bootloader. Of course you can replace it with GRUB, but as you wrote Windows' main bootloader takes precedence, and Windows may restore its fallback bootloader in /EFI/BOOT/BOOTX64.EFI at any time.

Augiz
Posts: 12
Joined: 2017-11-26 22:02

Re: Debian fails to install on UEFI

#22 Post by Augiz »

Sorry didnt even notice theres a second page in this topic now.
Was replying to a guy that asked which install media I was using.
p.H wrote:If you cannot get the Debian installer to boot in native UEFI mode on this computer, other options include :

- Boot another UEFI-compatible medium (such as Ubuntu or Mint, or rEFInd) and launch the Debian installer from there.
Could you please tell me more on this. Do I boot ubuntu and then plug the usb with debian just like that?

Been busy these days didnt have much time to try different approaches. But if nothing works I plan on just installing debian on legacy.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Debian fails to install on UEFI

#23 Post by p.H »

If you manage to boot anything using GRUB EFI as the boot loader, press "c" at the GRUB menu to start the GRUB shell. From there you have to type commands to manually boot the Debian installer. I am not going to detail more here, it is better to be familiar with the GRUB shell. Unfortunately sometimes GRUB won't be able to read the drive containing the Debian installer.

An alternative method is to start any other GNU/Linux system in EFI mode and install the Debian base system using debootstrap. You'll have to prepare the partitions manually before.

But IMO the simplest method if you are not familiar with GRUB shell or debootstrap is to install in legacy mode first and install GRUB EFI later.

Augiz
Posts: 12
Joined: 2017-11-26 22:02

Re: Debian fails to install on UEFI

#24 Post by Augiz »

Thank you for detailed explanation

ticapix
Posts: 3
Joined: 2018-09-10 18:40

Re: Debian fails to install on UEFI

#25 Post by ticapix »

Hello,

For the record, I'm facing the very same problem of installing Debian 9.5 (I tried 8.11 too) on a beelink X55 and VBook A1 celeron.
I tried rufus, unetbootin, etcher, dd, cp, 2 different usb dongles but the results are the same on both PC.
Secure boot and fast boot are disabled.

I can select the USB dongle in the UEFI boot menu (after the hardware manufacturer splash screen) and as soon as I press enter, I get a black screen with a non-blinking white cursor on the top left corner. I can't access grub menu.
Sceenshots here http://www.bee-link.com/forum.php/forum ... a=page%3D1

On the other hand, I managed to install Ubuntu server 18.04 and Centos 7, on both pc.

There is definitely something fishy with the debian iso.

BR

Post Reply