GRUB 1.99~rc2 released
Hello, all
I'm proud to announce the release of GNU GRUB version 1.99~rc2.
This time we include the ability of GRUB to be firmware on Yeeloong.
This is also the first time we officially include ZFS and BtrFS support.
This is a prerelease. I was able to personaly verify that following ports are functional: i386-pc, mipsel-yeeloong (including as firwmare), sparc64-ieee1275, powerpc-ieee1275. Additionaly automated tests were done with qemu.
However I can't verify everything myself. So please give it a good test, especially if you have a particular hardware, configuraton or requirements.
The release file is bigger than it should be because of autogeneration issues. Other than the size these issues have no impact but their fixing is scheduled for next release.
GRUB, also known as the GRand Unified Bootloader, is a modular, portable bootloader that supports a number of platforms, including standard BIOS-based
PCs, IEEE-1275 platforms (such as the OLPC and some PowerPC/Sparc64 hardware), coreboot, the free (as in freedom) pre-boot initialization framework, and Yeeloong, free (as in freedom) Loongson-2F-based (MIPS compliant CPU) laptop.
Other major improvements include (extract from NEWS file):
* Keyboard layouts support.
* Parser for GRUB Legacy configuration files.
* Extend vbeinfo' and vbetest' commands to non-VBE graphics, as videoinfo' and videotest'.
* New lsefisystab', lssal', and `lsefimmap' commands on EFI platforms.
* Support explicit user claim that a device is BIOS-visible. Devices listed in device.map will be assumed to be readable using only BIOS facilities, rather than anything more complex such as LVM or RAID.
* New bash-completion script for GRUB utilities.
* Use ACPI to shut down if possible.
* New `lsacpi' command.
* New --boot-directory' option to grub-install', grub-reboot', and grub-set-default', with clearer semantics than the previous `--root-directory' option.
* Rename CD-ROM device to "cd" on BIOS platforms.
* Transparent decompression filters.
* Simpler PXE image generation. New `grub-mknetdir' utility to generate netboot directory trees.
* New relocator. Allows for more kernel support and more straightforward loader writing.
* Handle USB pendrives exposed as floppies.
* New Automake-based build system.
* Add `sendkey' command (i386-pc only).
* Support 1.x versions of mdadm metadata.
* Fix corruption when reading Reiserfs directory entries.
* Bidirectional text and diacritics support.
* Change grub-mkdevicemap to emit /dev/disk/by-id/ names where possible on GNU/Linux.
* Add `grub-mkconfig' support for Xen with Linux.
* Add `grub-mkconfig' support for initrd images on Fedora 13.
* Support >3GiB and <16MiB RAM in i386-qemu.
* Add support for Cirrus 5446 and Bochs video cards.
* Load more appropriate video drivers automatically in `grub-mkconfig'.
* USB improvements, including hotplugging/hotunplugging, hub support, and USB serial support.
* AMD Geode CS5536 support.
* Extensive updates to the Texinfo documentation.
* Add `grub-probe' support for the btrfs filesystem, permitting / to reside on btrfs as long as /boot is on a filesystem natively supported by GRUB.
* Handle symbolic links under /dev/mapper on GNU/Linux.
* Handle installation across multiple partition table types.
* Add `cmostest' command (i386/x86_64 only).
* Add support for DM-RAID disk devices on GNU/Linux.
* Remove grub-mkisofs'. grub-mkrescue' now uses GNU xorriso to build CD images.
* `grub-mkrescue' support for EFI, coreboot, and QEMU platforms.
* Unify grub-mkimage', grub-setup', and `grub-install' source code across platforms.
* Fix VGA (as opposed to VBE) video driver, formerly a terminal driver.
* Add menu hotkey support.
* Add support for the nilfs2 filesystem.
* grub-probe' and grub-mkconfig' support for NetBSD.
* Support setting a background image in `grub-mkconfig'.
* Support multiple terminals in `grub-mkconfig'.
* Regexp support.
* MIPS multiboot2 support.
* Multiboot2 tag support.
* sunpc partition table support.
* Add a number of new language features to GRUB script: for', while', until', elif', function parameters, break', continue', shift', multi-line quoted strings, positional parameters with setparams', return', filename wildcard expansion, and !'.
* Support nested partition tables. GRUB now prefers to name partitions in the form (hd0,msdos1,bsd1)' rather than (hd0,1,a)'.
* Speed up consecutive hostdisk operations on the same device.
<http://www.gnu.org/software/grub/>
A source tarball for the new release can be found at:
http://alpha.gnu.org/gnu/grub/grub-1.99~rc2.tar.gz
and its GPG detached signature [*]:
http://alpha.gnu.org/gnu/grub/grub-1.99~rc2.tar.gz.sig
[*] You can use either of the above signature files to verify that the corresponding file (without the .sig suffix) is intact. First, be sure to download both the .sig file and the corresponding tarball. Then, run a command like this:
gpg --verify grub-1.99~rc2.tar.gz.sig
If that command fails because you don't have the required public key, then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys E82E4209
and rerun the `gpg --verify' command.
This release was bootstrapped with the following tools:
Autoconf 2.68
Automake 1.11.1
GCC 4.4 is the recommended version for building it, although any version starting with 4.1.3 is supported in this release.
I hope you enjoy using GRUB as much as we enjoyed developing it.
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Hi Vladimir,
congratulations for the new release candidate.
The announcement reads really impressive.
[...]
Quoted 2 lines
* Keyboard layouts support.
I have been really waiting for this, how do I use it?
regards & thanks in advance
--
Bernhard
A message that is not in the archive (sent off-list or not yet received): [email protected]
When is luks going to be added so we can encrypt the boot partition also?
On Apr 21, 2011 3:48 AM, "Treutwein Bernhard" < [email protected]> wrote:
Hi Vladimir,
congratulations for the new release candidate.
The announcement reads really impressive.
[...]
Quoted 2 lines
* Keyboard layouts support.
I have been really waiting for this, how do I use it?
regards & thanks in advance
--
Bernhard
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Luks inclusion (was Re: GRUB 1.99~rc2 released)
Quoted 3 lines · Craig Sparks
When is luks going to be added so we can encrypt the boot partition also?
I've cleaned the patch (took a lot of time), not because I believe it's a useful feature but since it has become an often requested one. The branch is available at
http://bzr.savannah.gnu.org/r/grub/branches/luks/ .
You need to set GRUB_LUKS_ENABLE=y. Beware that:
a) Crypto in GRUB is much less performant than in kernel due to inavailability of many accelerated instructions. So prepare for key recovery taking considerable time or decrease key strengthening.
b) You'll need to enter passphrase twice. Once for GRUB, once for OS.
c) Encrypting doesn't guarantee integrity. Your /boot can be tempered with even if it's encrypted and GRUB has no way of finding it out. Encryption is about secrecy and /boot doesn't contain anything secret.
d) core is unencrypted (since BIOS has no encryption support)
e) core needs a much bigger embedding zone
f) no writing to luks as of now.
But even regardless of all that criticism which puts this as low-priority, I'm fed up with feature requests and since unless it's activated manually LUKS in GRUB doesn't kick in, I've done the cleanup. Now you do the tests and report the results back
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
[RFT] LUKS and GELI (was Re: Luks inclusion)
Hello all. I've added both LUKS and GELI (except version-0, big-endian volumes, keyfiles and HMAC) to my luks branch
Quoted 5 lines
I've cleaned the patch (took a lot of time), not because I believe it's a useful feature but since it has become an often requested one. The branch is available at
http://bzr.savannah.gnu.org/r/grub/branches/luks/ .
You need to set GRUB_LUKS_ENABLE=y. Beware that:
It was renamed to GRUB_CRYPTODISK_ENABLE=y
Quoted 15 lines
a) Crypto in GRUB is much less performant than in kernel due to inavailability of many accelerated instructions. So prepare for key recovery taking considerable time or decrease key strengthening.
b) You'll need to enter passphrase twice. Once for GRUB, once for OS.
c) Encrypting doesn't guarantee integrity. Your /boot can be tempered with even if it's encrypted and GRUB has no way of finding it out. Encryption is about secrecy and /boot doesn't contain anything secret.
d) core is unencrypted (since BIOS has no encryption support)
e) core needs a much bigger embedding zone
f) no writing to luks as of now.
But even regardless of all that criticism which puts this as low-priority, I'm fed up with feature requests and since unless it's activated manually LUKS in GRUB doesn't kick in, I've done the cleanup. Now you do the tests and report the results back
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Keyboard layouts (was Re: GRUB 1.99~rc2 released)
In reply to Treutwein BernhardQuoted 3 lines
I have been really waiting for this, how do I use it?
ckbcomp /usr/share/X11/xkb/symbols/ch | grub-mklayout -o /boot/ch.gkb
in grub.cfg:
keymap /boot/ch.gkbterminal_input at_keyboard
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
grub-mklayout - Unknown key KP_Comma (was: Keyboard layouts & previously: Re: GRUB 1.99~rc2 released)
Dear Vladimir,
thanks for your quick reply and sorry for my late answer (I've been off for Easter vacations) ...
[...]
Quoted 2 lines
Quoted 1 line
ckbcomp
/usr/share/X11/xkb/symbols/ch| grub-mklayout -o/boot/ch.gkb
I'm getting (after fetching, ./configure && make) when I'm trying to use it:
ckbcomp /usr/share/X11/xkb/symbols/de | ./grub-mklayout -o de.gkb Unknown key KP_Comma
Unknown key KP_Comma
Unknown key KP_Comma
Unknown key KP_Comma
These error messages appear to come from grub-mklayout, since ckbcomp /usr/share/X11/xkb/symbols/de > /dev/null doesn't produce them.
May I ignore these messages?
BTW: I tried the whole with a HD installed grml (Hello Wien, see http://www.grml.org, kernel 2.6.31 glibc 2.9).
Signature · 2 lines
Regards
BernhardRe: grub-mklayout - Unknown key KP_Comma
Quoted 11 lines · Treutwein Bernhard
ckbcomp
/usr/share/X11/xkb/symbols/de| ./grub-mklayout -o de.gkb Unknown keyKP_Comma
Unknown keyKP_Comma
Unknown keyKP_Comma
Unknown keyKP_CommaThese error messages appear to come from grub-mklayout, since ckbcomp
/usr/share/X11/xkb/symbols/de>/dev/nulldoesn't produce them.May I ignore these messages?
yes
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
RE: Keyboard layouts
In reply to Vladimir 'φ-coder/phcoder' SerbinenkoHi Vladimir,
now I had success in using
Quoted 1 line
ckbcomp
/usr/share/X11/xkb/symbols/de| grub-mklayout -o/boot/de.gkb
and
Quoted 3 lines
in grub.cfg:
keymap/boot/ch.gkbterminal_inputat_keyboard
but I had to boot grml (a Debian sid based recovery distro) to create the de.gkb file. Normally I'm using TinyCore for testing Grub-2, but TinyCore only has the BusyBox kmap file format. There are hints (see:
http://forum.tinycorelinux.net/index.php?topic=9730.msg52949#msg52949)
that the kmap format is essentially the loadkeys format in a more compact form.
Do you know a way to convert the kmap format used by BusyBox to the format expected by Grub-2?
regards
--
Bernhard