Slashdot Mirror


GRUB 2.00 Bootloader Officially Released

An anonymous reader writes "After being in development for more than a decade, GRUB2 was released today as stable. The mailing list announcement covers new features including a standard theme, support for new file-systems, ports to new CPU architectures, new driver coverage, better EFI support, and many other new features that have materialized over the years of development to succeed GRUB Legacy."

17 of 163 comments (clear)

  1. Pfttt by Severus+Snape · · Score: 5, Insightful

    They should have declared it stable long ago, when all the major distros have adopted it for release after release it's time to move on. Sure, there must have still been bugs but that's where point releases come in handy.

    1. Re:Pfttt by Anonymous Coward · · Score: 5, Insightful

      See "stable" shouldn't even mean bug free when you're talking about releases. It's not like you can really guarantee that your software has zero (or even very few) bugs.

      "Stable" should mean "We're neither going to add new features nor remove existing ones"... meaning you don't have to worry about compatibility issues... so exactly, yes, point releases. The ones you can feel safe they're not going to break anything that used to work.

  2. LILO by manoweb · · Score: 4, Insightful

    I still like LILO better.

    1. Re:LILO by GNULinuxGuy · · Score: 4, Informative

      I might agree with you had GRUB ever failed me. :)

      --
      Earn Cash and Prizes, and get free stuff!
    2. Re:LILO by omnichad · · Score: 5, Funny

      Ah, yes - LILO. The friendly bootloader with helpful error messages like L or LI.

    3. Re:LILO by Anonymous Coward · · Score: 5, Funny

      yeah because grub's error reporting is awesome

      OH GOD WHAT HAPPENED HERE IS A SHELL
      type help for more
      > help

      boot dontboot squeak ripple clown jump error what no boot-alt boot-queue list-devices list-devices-differently help

      >

  3. finally! by manicpop · · Score: 5, Funny

    I'm glad GRUB2 is finally finished! Now we can finally move on to scrapping the entire thing and spending years on GRUB3.

  4. Re:This is it. by heypete · · Score: 4, Informative

    Not for long, though.

  5. Re:This is it. by Severus+Snape · · Score: 5, Insightful

    What Ubuntu has been referring to as Grub2 was Grub1.9x, a pre-release of Grub2. What the OP means is their dropping it because of legal issues around GPLv3, on Windows 8 approved hardware they won't be able to keep the private signing key, private which would result in their certificates being revoked. http://www.extremetech.com/computing/131628-canonical-explains-decision-to-ditch-grub-2-on-uefi-systems

  6. Just in time to say good-bye by Anonymous Coward · · Score: 5, Interesting

    The amusing thing about this is, with secure boot coming out GRUB2 will probably be tossed out in favour of a boot loader with a more liberal license. Ubuntu has already stated they are dropping GRUB2, I imagine other distros will follow in the next few years.

    1. Re:Just in time to say good-bye by 10101001+10101001 · · Score: 5, Insightful

      The amusing thing about this is, with secure boot coming out GRUB2 will probably be tossed out in favour of a boot loader with a more liberal license.

      Yes, the "amusing thing"* that people would want to have as much possible information about their boot system, which is precisely where things like MBR trojans or what will possible be the new "secure boot" versions. And that more "liberal license" than the GPLv3 is only more "liberal" for the OEMs/MS/Vendors in that it gives them more freedom to say while being less liberal in what a user can do.

      Ubuntu has already stated they are dropping GRUB2, I imagine other distros will follow in the next few years.

      I really hope they don't. I hope they are as vocal and as loud as possible. You know why? Because I can only see "Secure Boot" having flaws in it and being used by malware. I can only see "Secure Boot" turning into "Secure ID" or some other BS and people becoming angry when it backfires. I really hope some distros stick to their guns even if they appear to be Richard Stallman-like crazy because the truth is, they're the only sane ones and the only way to prove that in the long-term is keep arguing for sanity, not kowtow to the craziness just because it'll point out you're different and make people realize the absurdity of the "Secure Boot" option. Yes, if even after all that, computers still keep coming out with TPM and it becomes as far as mandated for internet access, I can see even the die-hards buying a TPM machine. They'll just tunnel through it with their own VPN and try to continue to use their uninfected machines. In the end, I just hope TPM as a whole dies. The technology could be used for so many good things. But, the two powers involved who keep pushing TPM--government (legislative and executive branches, actually) and corpratists--are hardly the groups I'd put any long-term faith in, let alone short-term faith, when it comes to considerations of freedom or liberty at the individual level.

      *Yet again, another one of Richard Stallman's speculations holds out as coming true with TPM and is precisely one of the reasons why the GPLv3 software requires the encryption keys used for execution. The fact that some distributions are so quick to brush aside the clear implications of having to avoid GPLv3 code over precisely that issue and to just consider some of Stallman's speculations on the outcome...is just stupid. And this comes with the point that TPM isn't inherently bad; it's just that by nearly every implementation, it doesn't work to foremost given the actual user the keys and the control but instead the hardware/software producers the keys and the control.

      --
      Eurohacker European paranoia, gun rights, and h
  7. Re:This is it. by KiloByte · · Score: 4, Informative

    Yes, UEFI Secure Boot means precisely that: you can't use any Linux but Red Hat and Ubuntu, official kernels only. Microsoft agreed to sign their official kernels to have more ammunition in the inevitable antitrust suit. A pox on Ubuntu for cooperating here!

    GPL3 on Grub works as designed here: it stops any DRM, disallowing unmodifiable bootloaders and kernels.

    --
    The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
  8. GPLv3 violation by DrYak · · Score: 4, Informative

    To boot in non secure mode:
    - yup, GRUB2 does support EFI.

    To boot in secure-mode:
    - technically yes, practically not so easy.
    To boot in secure-mode, GRUB2 need to be signed.
    As per GPLv3, GRUB2 needs to publish the private key, so any one could rebuilt his/her very own version of GRUB2, sign it, and replace the previous one.
    But due to the way microsoft license its keys and signing, GRUB won't be allowed to publish said key, thus can't abid GPLv3. Thus no version of GRUB2 signed with microsoft key.

    Then two other possibilities remain:
    - Canonical will get efilinux signed with microsoft keys. So GRUB2 has to be made bootable from efillinux (efilinux is rather primitive, it just loads a kernel from a set collection of blocks from the device and run it. It shouldn't be too much difficult to have efilinux load and execute a GRUB2's "stage 1.5" or "stage 2").
    Thus efilinux is the part that needs to be signed with microsoft's key (and efilinux's license makes it possible. Although that also means that you won't be able to hack it).

    - Canonical is trying to setup its own scheme of signing, a much more open-source friendly way. And trying to get motherboard manufacturer to include canonical's signing keys into the mobo's secure boot.
    On motherboards that feature also Canonical's key, one could use a GRUB2 binary signed with canonical's key. As per GPLv3: canonical needs to provide some way so an end user can sign his/her new custom version of GRUB2 to replace the original own.

    Now the funny part:
    - GRUB2 can load coreboot (an opensource firmware) payloads, so it could also load SeaBIOS (a legacy BIOS implementation as a coreboot payload).
    - GRUB2 can also load windows XP's boot loader.
    So if any of the above is possible (either chainloading efilinux to grub2, or signing grub2 in a gplv3 compatible way). That means that grub2 could be used to boot windows XP on secure-boot hardware. (with seabios providing the legacy bios compatibility, and windows XP's ntldfr being loaded from grub2).

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  9. Original Grub is still better by Anonymous Coward · · Score: 4, Interesting

    Rarely have I seen a bigger pile of shit than the configuration for grub 2. The config for grub 1 was so simple... and it *almost* made sense. They should have dropped the hurd device naming, but kept the grub.conf format we all know and love. This was another bit of software someone just had to rewrite. Now you have to generate a new configuration after any change.

    Only thing I hate worse is systemd.

  10. Re:To prevent boot-time rootkit installation by raap · · Score: 5, Insightful

    No. It is designed to generate a chain of trust from the BIOS (UEFI) up to the operating system including drivers. So if you change anything in this chain, DRM-plagued media will refuse to play! It's all about the ability to play content withot the user being able to grab that content or do anything else with it. If it would be about preventing root kits, then the master keys could be in the hand of the user.

  11. Re:This is it. by dgatwood · · Score: 4, Interesting

    GPL3 on Grub works as designed here: it stops any DRM, disallowing unmodifiable bootloaders and kernels.

    No, not really. As designed, it was intended to prevent hardware vendors from designing hardware with locked-down Linux installations. In this case, it is trying (unsuccessfully) to prevent enthusiasts from being able to install locked-down Linux on off-the-shelf ARM hardware without breaking their ability to switch back to Windows. The fact that you also won't be able to install non-locked-down Linux on that hardware is a secondary issue. It's a clear case of the GPLv3 acting against the right to tinker solely for reasons of ideological purity—the right to change everything or the right to change nothing.... That's truly backwards in my book.

    The fact of the matter is that not enough people care about running Linux to convince manufacturers to push back on Microsoft over the ARM UEFI Secure Boot mandate. There is exactly one way to guarantee the right to tinker, and that is to get people from the geek community elected to governing bodies so that they can propose and pass legislation that mandates that right. Any other strategies are doomed to failure. It doesn't even have to be federal law. If the State of California passed a law saying that all electronic devices purchased using California tax dollars must provide a way for the user to install alternative operating systems without removing the user's ability to run the OS that came with it, Microsoft's attempts at mandating non-disableable UEFI Secure Boot on ARM would go down like a lead balloon even if no other legislature adopted such a provision.

    --

    Check out my sci-fi/humor trilogy at PatriotsBooks.

  12. ISO loopback mounting by xororand · · Score: 4, Informative

    GRUB2 is cabable of mounting ISO images and loading contained kernels.

    That means you can save unmodified liveCD ISO images on a boot partition with GRUB2 and load them directly.
    This is not a CD or DVD emulator but simply loopback access, as if you'd mount it in Linux with mount -o loop foo.iso /bar.

    If you want to retain the individual boot menus of your liveCDs, you need to recreate them with GRUB2 syntax.

    Fortunately some, albeit very few, live CDs ship with a loopback.cfg for this purpose nowadays.
    Off the top of my head, new Ubuntu releases and GRML do so. GRML was one of the first.

    http://michael-prokop.at/blog/2011/01/07/booting-iso-images-from-within-grub2/
    http://www.supergrubdisk.org/wiki/Loopback.cfg
    http://grml.org/