this post was submitted on 07 Jan 2024
14 points (93.8% liked)

linuxmemes

26313 readers
24 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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.
  • 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, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    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 remove France.

    founded 2 years ago
    MODERATORS
     
    top 20 comments
    sorted by: hot top controversial new old
    [–] pryre@lemmy.world 2 points 2 years ago (1 children)

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

    [–] BeigeAgenda@lemmy.ca 0 points 2 years ago (1 children)

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

    [–] Vash63@lemmy.world 1 points 2 years ago (1 children)

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

    [–] BeigeAgenda@lemmy.ca 1 points 2 years ago

    Fair enough I don't miss the old BIOS.

    [–] possiblylinux127@lemmy.zip 2 points 2 years ago* (last edited 2 years ago) (2 children)
    [–] db2@lemmy.world 1 points 2 years ago (2 children)

    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 1 points 2 years ago (1 children)

    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 1 points 2 years 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.

    [–] droans@lemmy.world 0 points 2 years ago (1 children)

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

    [–] db2@lemmy.world 0 points 2 years ago (1 children)

    MBR is also a partitioning table.

    [–] onlinepersona@programming.dev -1 points 2 years ago
    [–] 0x4E4F@sh.itjust.works 0 points 2 years ago (1 children)

    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 1 points 2 years ago

    Yeah cause that's the only benefit 🙄

    [–] krnl386@lemmy.ca 0 points 2 years ago (2 children)

    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.

    [–] Legisign@lemm.ee 1 points 2 years ago (2 children)

    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.

    [–] krnl386@lemmy.ca 0 points 2 years ago (1 children)

    Actually grub 0.x series had much more useful rescue shell tab completion than the latest release. You could easily list all boot devices, partitions, and even filesystems and their contents. All from the rescue shell. Consequently, you could boot into Linux and reinstall grub in the MBR to fix it. All that without using a boot CD/USB! Good luck doing that with the latest version of grub and UEFI.

    Also getting into the BIOS on legacy firmware was also very simple. On most machines it’s the three finger salute followed by either F1, Delete or rarely F11 or F12.

    The boot process was simple, and the BIOS had just one simple task: load and execute the first 512 bytes of the disk that was designated as the boot device. That’s it.

    [–] 0x4E4F@sh.itjust.works 1 points 2 years ago

    Asus --> Del - Enter BIOS, F8 - Boot menu (very confusing since Windows also uses F8 for the recovery mode boot menu, so you have to press F8, then when the boot menu appears, chose the boot device, then have one hand on Enter and the other on F8 again, so that you hit Enter and start tapping like crazy on F8 to enter the rescue mode menu... annoying as hell)

    GigaByte --> Del or F2 - Enter BIOS, F12 - Boot menu, Alt + F10 - Copy main BIOS to backup BIOS

    MSI --> Del or F2 - Enter BIOS, F11 - Boot menu

    ASRock --> Del or F2 - Enter BIOS, F11 or F10 - Boot menu

    Biostar --> Del - Enter BIOS, F9 - Boot menu

    Intel --> F2 - Enter BIOS, F10 or F12 - Boot menu

    I used to remember some of the brand name PCs as well, but time has gotten the best of me 🤷.

    The boot process was simple, and the BIOS had just one simple task: load and execute the first 512 bytes of the disk that was designated as the boot device. That’s it.

    This is actually what I love about MBR nowadays. It's simple enough so no one wants to mess with it and render the rig unbootable and obscure enough so no one (MS) actually checks if there is anything there that might trigger warnings (non-MS code).

    [–] 0x4E4F@sh.itjust.works 0 points 2 years ago (1 children)

    You just fix grub with a live usb, it's not that difficult.

    [–] Legisign@lemm.ee 1 points 2 years ago

    “Not that difficult” but still more difficult than being able to boot without a separate live USB drive.

    [–] rab@lemmy.ca 1 points 2 years ago

    I work in IT for many years and I think your last sentence is very true. And is also why the industry is so lucrative haha