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

 

 

 

[RESOLVED] UEFI vs. BIOS vs. rEFInd

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
JeSuisFlaneur
Posts: 74
Joined: 2019-08-28 16:00
Has thanked: 5 times

[RESOLVED] UEFI vs. BIOS vs. rEFInd

#1 Post by JeSuisFlaneur »

Is there an advantage to installing Buster with UEFI versus no-UEFI? I don't dual boot another OS, so, Buster is it.

Is the rEFInd a better option than GRUB if using UEFI?
Last edited by JeSuisFlaneur on 2019-09-02 20:42, edited 1 time in total.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: UEFI vs. BIOS vs. rEFInd

#2 Post by Segfault »

Define what's the meaning of better.
If this is how much junk gets installed just to boot a kernel then Grub2 is the worst indeed. I personally use EFI stub kernel, no extra bootloader of any kind.

JeSuisFlaneur
Posts: 74
Joined: 2019-08-28 16:00
Has thanked: 5 times

Re: UEFI vs. BIOS vs. rEFInd

#3 Post by JeSuisFlaneur »

What advantage is there to using UEFI on Debian Buster instead of MBR? Not what is better.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: UEFI vs. BIOS vs. rEFInd

#4 Post by Segfault »

None. Once the kernel is loaded it takes over and controls all hardware. The task of the bootloader is to load the kernel. You can have very sophisticated bootloader like Grub2 which is almost like an OS itself. Or you may have none, UEFI firmware can load the OS directly. Provided this OS is compliant, like Linux EFI stub kernel.
When you use GPT partition table you may need to do some tweaking to get it working with legacy boot, so I'd say with GPT it is foolproof to boot in UEFI mode.

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

Re: UEFI vs. BIOS vs. rEFInd

#5 Post by p.H »

JeSuisFlaneur wrote:What advantage is there to using UEFI on Debian Buster instead of MBR?
I do not see any.
Segfault wrote:If this is how much junk gets installed just to boot a kernel then Grub2 is the worst indeed. I personally use EFI stub kernel, no extra bootloader of any kind.
For sure GRUB is bloated, and being able to boot a kernel directly without a boot loader may be seen as an advantage of EFI boot. But a boot loader like GRUB may come in handy when something goes wrong and you need to edit the kernel command line. I am afraid that few UEFI firmwares allow to do this (edit a EFI boot entry without a third-party tool). None of those I have used does.
Last edited by p.H on 2019-08-31 19:13, edited 2 times in total.

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

Re: UEFI vs. BIOS vs. rEFInd

#6 Post by p.H »

Segfault wrote:When you use GPT partition table you may need to do some tweaking to get it working with legacy boot
The only tweak I ever had to apply to enable legacy boot with GPT with some flawed BIOS/legacy implementations is to set the boot flag in the protective MBR ("disk_set pmbr_boot on" in parted).
Segfault wrote:I'd say with GPT it is foolproof to boot in UEFI mode.
I'd say that so many existing UEFI implementations are so flawed that EFI boot is never foolproof even with GPT.

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: UEFI vs. BIOS vs. rEFInd

#7 Post by Deb-fan »

Been a minute since I've had a uefi/gpt system. Would prefer gpt over mbr just cause, no 3 primary + extended partition junk. Personally like grub, didn't at 1st,also thought it was an over complicated mess but isn't when someone learns about it and gets used to it. Refind has a pretty boot screen with icons though grub2's can no doubt be customized. Never bothered learning how. So many ways someone can go about this really think try some and see what you like.
Most powerful FREE tech-support tool on the planet * HERE. *

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: UEFI vs. BIOS vs. rEFInd

#8 Post by Segfault »

@p.H

Whatever your issue is, my condolences. Sometimes grabbing a shovel and digging a hole to plant a tree can be a relief. For each their own, but you have to learn to diagnose yourself. People around you will be happier, too, once you get rid of chips on your shoulder.

vmclark
Posts: 187
Joined: 2008-07-30 15:16
Has thanked: 1 time

Re: UEFI vs. BIOS vs. rEFInd

#9 Post by vmclark »

Segfault wrote:Define what's the meaning of better.
If this is how much junk gets installed just to boot a kernel then Grub2 is the worst indeed. I personally use EFI stub kernel, no extra bootloader of any kind.
I like this idea a lot. It has one caveat that prevents me from using it. The size needed to boot multiple distros.
So I just use my own grub.cfg file instead and don't bother with all the script nonsense to get what you need to boot.

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

Re: UEFI vs. BIOS vs. rEFInd

#10 Post by p.H »

vmclark wrote:It (EFI stub kernel) has one caveat that prevents me from using it. The size needed to boot multiple distros.
Do you mean that the kernel and initramfs files for multiple installations would take too much space on the EFI partition ?
Can't you use a bigger EFI partition ?

vmclark
Posts: 187
Joined: 2008-07-30 15:16
Has thanked: 1 time

Re: UEFI vs. BIOS vs. rEFInd

#11 Post by vmclark »

Yes, I know I could, but I'm not going to. I would have to rearrange too many partitions. My comment was just that.

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

Re: UEFI vs. BIOS vs. rEFInd

#12 Post by p.H »

vmclark wrote:I would have to rearrange too many partitions.
What do you mean ?

Post Reply