1015
top 50 comments
sorted by: hot top controversial new old
[-] possiblylinux127@lemmy.zip 72 points 11 months ago* (last edited 11 months ago)
[-] db2@lemmy.world 37 points 11 months ago

GPT you mean. Linux can boot in a non-EFI machine that has GPT disk partitions.. Windows can't because it's dumb.

[-] Max_P@lemmy.max-p.me 32 points 11 months ago

Yes but by doing so you're using the same principles as MBR boot. There's still this coveted boot sector Windows will attempt to take back every time.

What's nice about EFI in particular is that the motherboard loads the file from the ESP, and can load multiple of them and add them to its boot menu. Depending on the motherboard, even browse the ESP and manually go execute a .efi from it.

Which in turn makes it a lot less likely to have bootloader fuckups because you basically press F12 and pick GRUB/sd-boot and you're back in. Previously the only fix would be boot USB and reinstall syslinux/GRUB.

[-] taladar@sh.itjust.works 10 points 11 months ago

I just had a bug on both of my EFI computers where they wouldn't boot any more and a grub-install fixed it, apparently the regular update processes do not update the version on the ESP for some reason and my assumption is that it became incompatible with the modules in /boot

Adding an EFI Boot Entry for netboot.xyz after it happened on the first one really helped fix the second one though.

[-] frokie@lemmy.world 18 points 11 months ago

I’m not having an AI boot my computer!

[-] droans@lemmy.world 14 points 11 months ago

GPT is a partitioning table. EFI is a bootloader firmware interface.

[-] db2@lemmy.world 3 points 11 months ago

MBR is also a partitioning table.

[-] onlinepersona@programming.dev 4 points 11 months ago
[-] possiblylinux127@lemmy.zip 4 points 11 months ago

No I mean EFI. It is a much simpler than MBR.

[-] avidamoeba@lemmy.ca 4 points 11 months ago

Not sure if serious.

[-] 0x4E4F@sh.itjust.works 3 points 11 months ago

Not in my experience... and apparently a lot of people that dual boot 🤷.

My main boot partitions are far from the 2TB threshold of MBR, I'm not that rich.

[-] c0mbatbag3l@lemmy.world 6 points 11 months ago

Yeah cause that's the only benefit 🙄

load more comments (5 replies)
[-] pryre@lemmy.world 28 points 11 months ago

Start using and efistub and never worry about boot loaders again!

[-] vox@sopuli.xyz 35 points 11 months ago

systemd-boot is a reasonable compromise. i like it

[-] pryre@lemmy.world 11 points 11 months ago

The reality is that a bootloader will seemingly always be needed to account for difficult BIOS' and legacy setups (I'm looking at you, dual-booted Ubuntu 20.04).

[-] BeigeAgenda@lemmy.ca 11 points 11 months ago

Naah I just disable secure boot altogether, then you don't have to worry about all that TPM security theatre.

[-] Vash63@lemmy.world 21 points 11 months ago

You don't need secure boot to use EFI. It's better all around regardless of SB.

[-] BeigeAgenda@lemmy.ca 4 points 11 months ago

Fair enough I don't miss the old BIOS.

[-] 0x4E4F@sh.itjust.works 4 points 11 months ago* (last edited 11 months ago)

Yeah, but Windows 11 needs it.

Can be disabled though. Easiest way - use Rufus when burning the USB.

Fun fact, you can also install Win11 in MBR mode, no UEFI needed whatsoever.

[-] Crack0n7uesday@lemmy.world 18 points 11 months ago

Do we really ever fix the bootstrap, or does the bootstrap fix us?

[-] krnl386@lemmy.ca 17 points 11 months ago

Ah yes, simplicity. MBR, with all its limitations had one killer feature: it was extremely simple.

UEFI, as powerful as it is, is the opposite of simple. Many moving parts, so many potential failure points. Unfortunately, it seems like modern software is just that: more complex and prone to failure.

[-] 0x4E4F@sh.itjust.works 6 points 11 months ago

Exactly why old devices are so hard to break - they're incredibly simple.

To be honest, I see nothing wrong with MBR boot, it does the job, I'll use it till I can or till it doesn't do the job I want/need.

[-] Legisign@lemm.ee 3 points 11 months ago

True, but… When MBR Grub drops to rescue or doesn’t appear at all, it’s not only difficult (at least for newbies) but somewhat random if you can actually boot a given OS. With EFI Grub, I’ve often managed to boot using BIOS boot override to launch a usable Grub configuration.

load more comments (5 replies)
[-] BeigeAgenda@lemmy.ca 15 points 11 months ago

Was upgrading Devuan and something happened with grub-update, could be my btrfs subvol setup?

Anyway a rescue boot, chroot and grub-update later, and it's running great again.

[-] zaart@lemmy.tedomum.net 15 points 11 months ago

I once fucked up my grub.cfg, wrote over the part needed to unencrypt. Had no idea what had happened. Was a fun night :)

load more comments (3 replies)
[-] MapleEngineer@lemmy.world 14 points 11 months ago

Nuke the boot loader and burn your compiled code directly onto the bare metal the way the designers intended.

load more comments (2 replies)
[-] prettydarknwild@lemmy.world 12 points 11 months ago

i prefer EFI, MBR breaks easily and dual booting with it is horrible

[-] 0x4E4F@sh.itjust.works 5 points 11 months ago* (last edited 11 months ago)

I have litelarly never broken MBR boot while dual booting and I have done it for at least a decade now. Windows updates and everything, not once has MBR boot been broken for me.

load more comments (2 replies)
load more comments (1 replies)
[-] Classy@sh.itjust.works 8 points 11 months ago

I've been struggling with the boot loader for four days now and now my laptop boot loops and I can't even access my primary OS (still windows) and can only access Ubuntu via flash drive. So yeah this meme is too fucking on.

[-] 0x4E4F@sh.itjust.works 5 points 11 months ago

Chroot into the main Ubuntu partition from the live USB and update GRUB.

[-] WalJT@lemmy.world 8 points 11 months ago

Honestly can't remember the last time I had a bootoader issue. Don't get me wrong, I've broken plenty of other things.

[-] themelm@sh.itjust.works 12 points 11 months ago

Windows 7 used to thunderfuck grub at random every few updates just to keep everyone on their toes.

[-] flambonkscious@sh.itjust.works 3 points 11 months ago

Nice new verb you got there. Thunderfuck, indeed!

[-] okamiueru@lemmy.world 3 points 11 months ago

Did it stop after W7? I feel like it still does this at every opportunity, be that W10 or W11

[-] 0x4E4F@sh.itjust.works 1 points 11 months ago

UEFI boot is why this happens. In MBR, Windows doesn't check or update the MBR magic, thus GRUB is left alone.

[-] 0x4E4F@sh.itjust.works 2 points 11 months ago

Installed in MBR mode 🤨? Cuz Win7 does support GPT, but not UEFI boot AFAIK.

load more comments (2 replies)
[-] onlinepersona@programming.dev 7 points 11 months ago

MBR is so easy to understand. UEFI, has so many things to understand EFI, ESP, MOK, signing procedures and signing chains, ... it's just so darn complicated.

[-] cley_faye@lemmy.world 11 points 11 months ago
  • Disable secureboot
  • Things just work

And in the end you just remove the need for a physical attacker to use whatever vulnerability there is in your EFI implementation anyway.

load more comments (3 replies)
[-] 0x4E4F@sh.itjust.works 3 points 11 months ago

Yep. Plus, the less the firmware knows what you're booting, the better.

[-] SameOldInternet@lemmy.world 4 points 11 months ago* (last edited 11 months ago)

Started using UEFI booting with secure boot. Much easier to fix and work with.

[-] spez@sh.itjust.works 4 points 11 months ago

Can't relate to be honest, I have a life and use Fedora

[-] not_again@lemmy.world 4 points 11 months ago

I feel this.

Although my last bootloader is adventure was pretty easy...installed a completely separate drive for Linux and wanted to boot off of that drive (sdb). A bug in the Linux mint installer put the bootloader on my the windows drive instead (sda).

Was fairly straightforward to switch over though (change in fstab then installing grub). I use the bios boot selector (F11) for me to select either the win loader or my Linux mint efi.

Am switching over to Linux as primary driver. So tired of nags, ads, "switch to Edge", long updates, etc. love being able to ssh+x onto that (relatively beefy) box from my laptop and run ides and such.

[-] rickyrigatoni@lemm.ee 3 points 11 months ago

I had used Arch for years before and never once messed up my bootloader. What are yinz doing over there?

[-] Matthew@midwest.social 6 points 11 months ago

PA dripping off this comment

load more comments (1 replies)
load more comments (2 replies)
[-] TheFerrango@lemmy.basedcount.com 2 points 11 months ago

No need to fix it, the bootloader is safely installed on a write-protected floppy disk

[-] Unyieldingly@lemmy.world 2 points 11 months ago
load more comments
view more: next ›
this post was submitted on 07 Jan 2024
1015 points (100.0% liked)

linuxmemes

21586 readers
392 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 2 years ago
    MODERATORS