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."
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.
Too bad though Ubuntu won't be using GRUB2
But, can it boot on Windows 8 approved hardware?
I still like LILO better.
I'm glad GRUB2 is finally finished! Now we can finally move on to scrapping the entire thing and spending years on GRUB3.
Does it install correctly on /dev/mapper RAID drives?
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.
Somehow when I read this I just heard crickets in the background.
I haven't thought of anything clever to put here, but then again most of you haven't either.
Quite frankly, I've had enough problems on the past few versions of Ubuntu 11-12 that I cringe every time there is a GRUB2 update. I've had software RAID systems refuse to boot (with GPT partitions), and systems with slash on LVM refuse to boot after GRUB2 updates.
The necessity for GRUB2, from what I understand, grew out of the "want" for a VGA video mode at boot so we could have an image on the boot menu (and other fancy things). The trouble I've gone through trying to keep it working though just isn't worth the eye candy IMO.
Join the Slashcott! Feb 10 thru Feb 17!
ISTR that Ubunto has decided to abandon Grub to be able to run on new Win8 EFI PCs that will only boot from MS signed bootloaders. Does this announcement change any of that or is Grub2 to be a tool for those not using Win8 compatible PCs?
Democracy is a sheep and two wolves deciding what to have for lunch. Freedom is a well armed sheep contesting the issue
I too love to have no functionality in my bootloader, and no recourse but to pull out a recovery drive/disc/etc if even the slightest thing goes wrong with boot configuration. Let's all boot like it was 1985! MS-DOS was advanced enough for anyone.
I prefer BURG. It blows GRUB's theming capabilities out of the water. With GRUB 2, the best I could do was get the tiny text normally bunched together in the top left corner of the screen to be not tiny, at least until the next kernel update, after messing around in text files for who knows how long. BURG is something else. It's got actual themes that actually looks great, and it's dead easy to configure too.
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 ]
Does it support this UEFI thing where Microsoft took control over the hardware market preventing open source OSes by requiring every OS to pay MS for a key to be able to boot it?
And why? I started using VMWare for Linux installs and I haven't encountered an instance where I needed dual-booting. Not implying that that's the only use for a boot loader.
I swear to God...I swear to God! That is NOT how you treat your human!
In the announcement they said GRUB 2.00 supports FreeDOS as a boot protocol. I'll have to test that out to see what they mean - it's not that hard to boot DOS. But I am thrilled that the GRUB developers recognized us with explicit support. And of course, all the extra technical details they've added in the 2.00 release. Thanks!
Also, I saw that GRUB 2.00 supports a few other "alternative" operating systems, including Ntldr/bootmgr (to load Windows bootloader) and Darwin 11 (Mac OS X Lion.)
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.
UEFI Secure Boot is designed to prevent a boot-time rootkit from executing. This can be one whose installer an inexperienced desktop PC administrator has unwittingly run, or one whose installer a compromised server process running with administrative privileges has run.
If it would be about preventing root kits, then the master keys could be in the hand of the user.
"Custom mode" on x86 puts the keys firmly in the user's hands. So on x86 at least, it is about rootkits.
I often change plug and unplug internal drives and maybe connect them in a different order than originally or maybe one less drive is attached than before. Booting then doesn't work because the drive that used to be "SDA" is now "SDB". I want to be able to list my boot partition using its name no matter what order it is in a list. Can the latest GRUB do this?
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. /bar.
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
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/
You can put me amongst the professional users of Ubuntu servers.
I use CentOS, Red Hat and SuSE Enterprise Linux(SLES) and FreeBSD as well. However, I find Ubuntu is the easiest to manage.
But, Ubuntu is not without its problems either. The LTS releases that I use, these are servers, are slow to fix bugs that are not security related. Some are never fixed which is insanely frustrating.
Also, Debian/Ubuntu seem to feel that they should rearrange packages which makes working with an application a bit different on Ubuntu than on any other distribution. This makes finding some files cumbersome and breaks my scripts.
Despite these issues, I would have been willing to use Ubuntu exclusively for professional use. However, I'm no longer sure about that thought. There seems to be a lot of change coming in the next LTS version. Change that doesn't seem to offer my servers much, if any, value.
Can't we all just boycott UEFI???
I mean really ... why not???
I've had always problems with Grub. Using Ubuntu, I often had to alter the config after every new version, to be able to boot a Windows partition. A lot of difficult, not self-explaining commands using grub-config or the fact, that the device names not always match the corresponding order in Grub let me truly hate this "software". After I switched to Slackware, I got LILO working out of the box and always doing what it should do: Booting my machine. Sometimes the old, established things are the best.
Why would i want to switch to that bloated piece of crap?
grub2 wont be the solution to secure boot anyway, so i will stay with grub 0.9 till i need to buy new hardware and to get past the secure boot crap...
It would be (even) more helpful if you quoted the part where the (supposed) grammatical error occured.
Or we could be waiting for the Hurd to be officially released, since the GNU folks appear to have finished all the other pieces that would make for a pure GNU sans (rather than slash) Linux OS.
use UUIDs and it can.
GRUB2 has a very nice feature set, but they have made a complete and total dogs breakfast of the configuration system. Now one needs to edit poorly-documented shell scripts and run an update script to 'compile' a new GRUB configuration file, or have it hosed at the next kernel update.
Of the three bootloaders I have spent significant time with, LILO, GRUB 1 (0.99 or whatever) and GRUB2, the latter is without doubt by far the worst to configure if you want anything other than the defaults.
"Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
You're forgetting about the times it just laughs at you with an LOL*
* Can actually happen if byte-order endian issues rear their lovely head
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
I don't see how an always-on, always-Microsoft configuration for Secure Boot would pass muster with a European Union that, unlike the US DOJ, actually has the testicular fortitude to fine Microsoft for its anticompetitive ways.
As someone who has experienced grub command line hell, I ask, is this progress?
Exactly. And I believe the ARM hardware vendors are balking at this 'requirement' called Secure Boot, the entire premise of which is a malware problem that was created by MS in the first place. Since the hardware guys are fighting this, MS came out with their vapour product called Surface, it an attempt to coerce them into accepting the bribe^W marketing money. It is all about killing your freedom to tinker on hardware you bought.
You are being MICROattacked, from various angles, in a SOFT manner.
Oh, how discreetly you attach words like "inevitably" to your predictions! How "futile" is arguing with you....!
I want to sneak in a question about GRUB to which I have tried long to find an answer, in vain:
GRUB can apparently have its settings changed just be editing a configuration file, unlike LILO which needs to be reinstalled with the configuration settings you want. My question is: - where are the Grub settings stored?
If it's in one of the partitions, then aren't you screwed if that partition is deleted? Suppose you have 3 partitions named Linux1, Linux2, Linux3 and you use GRUB to boot between them. If the config is stored on the Linux1 partition, then if there is an error or you wipe the Linux1 partition, then the entire drive can't boot, even if Linux2 and Linux3 are working fine! I mean, suppose you haven't used Linux1 for ages but the config files are there ...
Or is it replicated in all partitions? in that case, where is it stored on each partition?
Or can you put a GRUB config file on any partition, and it will find it? in that case, what happens if there are two conflicting configs on different partitions?
Or is it stored on the MBR just like LILO, and when the config file on the partition goes AWOL, GRUB will just use the MBR copy?
From what I can tell, the answer seems to be the first option, but I don't see how this makes GRUB a good thing if I'm beholden to a partition (Linux1 in this case) which may be obsolete and waiting to be wipe and installed over with the latest Linux distro.
404555974007725459910684486621289147856453481154 in hex is "You sank my Battleship?"
[GPG key in journal]
Usually the need to run the user-edited config file through a preprocessor / mangler is is a requirement imposed by your distro, not the upstream developers of the software. Red Hat, Debian, and their derivatives are the biggest offenders here.
You can always use a distro that doesn't do this, of course (Arch and Slackware come to mind) but then you have to configure everything by hand, not just the one part your previous distro handled badly.