Skip to contentSkip to conversation

GRUB 1.99 released

DISCUSSION Vladimir 'φ-coder/phcoder' Serbinenko 2 participants 4 messages May 14, 2011 – May 15, 2011

lore
Share & tools
lore
#0 lore raw

Hello, all

I'm proud to announce the release of GNU GRUB version 1.99.

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.

In order to show the work done on stabilizing the whole project I decided to move it to ftp.gnu.org from alpha.gnu.org. Congratulations to whole team

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, EFI-based x86 systems, 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://ftp.gnu.org/gnu/grub/grub-1.99.tar.gz

or

http://ftp.gnu.org/gnu/grub/grub-1.99.tar.xz

and its GPG detached signature [*]:

http://ftp.gnu.org/gnu/grub/grub-1.99.tar.gz.sig

or

http://ftp.gnu.org/gnu/grub/grub-1.99.tar.xz.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.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.

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
#1 lore raw
Quoted 4 lines · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all

I'm proud to announce the release of GNU GRUB version 1.99.

All patches that were approved as "post-1.99" are good to go.

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
#2 lore raw
In reply to Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 3 lines · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all

I'm proud to announce the release of GNU GRUB version 1.99.

Congratulations on the release. As one who builds almost everything form source, the download and build went very smoothly. Thank you.

I want to share some nits with you. Use them or ignore them as you please.

-- Bruce

1. The install creates an empty directory: /usr/share/grub

2. There were several trivial build warnings:

grub_script.yy.h:293: warning: 'yy_flex_strncpy' declared 'static' but never defined grub_script.yy.c:2241: warning: unused parameter 'yyscanner'
grub_script.yy.c:2482: warning: unused parameter 'yyscanner'
config.status: WARNING: 'util/grub.d/10_linux.in' seems to ignore the --datarootdir setting config.status: WARNING: 'util/grub.d/20_linux_xen.in' seems to ignore the --datarootdir setting config.status: WARNING: 'util/grub-install.in' seems to ignore the --datarootdir setting config.status: WARNING: 'util/grub-mknetdir.in' seems to ignore the --datarootdir setting fs/btrfs.c: In function 'grub_btrfs_read_logical':
fs/btrfs.c:592: warning: 'err' may be used uninitialized in this function grub_script.yy.h:293: warning: 'yy_flex_strncpy' declared 'static' but never defined grub_script.yy.c: In function 'yy_fatal_error':
grub_script.yy.c:2241: warning: unused parameter 'msg'
grub_script.yy.c:2241: warning: unused parameter 'yyscanner'
grub_script.yy.c: At top level:
grub_script.yy.c:2279: warning: no previous prototype for 'yyget_column' grub_script.yy.c:2322: warning: no previous prototype for 'yyset_column' grub_script.yy.c: In function 'yy_flex_strncpy':
grub_script.yy.c:2482: warning: unused parameter 'yyscanner' lib/libgcrypt-grub/cipher/camellia.c:450: warning: no previous prototype for 'camellia_setup128' lib/libgcrypt-grub/cipher/camellia.c:661: warning: no previous prototype for 'camellia_setup256' lib/libgcrypt-grub/cipher/camellia.c:947: warning: no previous prototype for 'camellia_setup192' lib/libgcrypt-grub/cipher/camellia.c: In function 'camellia_setup192':
lib/libgcrypt-grub/cipher/camellia.c:951: warning: implicit declaration of function 'memcpy' lib/libgcrypt-grub/cipher/camellia.c: At top level:
lib/libgcrypt-grub/cipher/camellia.c:969: warning: no previous prototype for 'camellia_encrypt128' lib/libgcrypt-grub/cipher/camellia.c:1059: warning: no previous prototype for 'camellia_decrypt128' lib/libgcrypt-grub/cipher/camellia.c:1152: warning: no previous prototype for 'camellia_encrypt256' lib/libgcrypt-grub/cipher/camellia.c:1266: warning: no previous prototype for 'camellia_decrypt256' lib/libgcrypt-grub/cipher/rijndael.c: In function 'do_setkey':
lib/libgcrypt-grub/cipher/rijndael.c:173: warning: comparison between signed and unsigned lib/libgcrypt-grub/cipher/serpent.c: In function 'serpent_key_prepare':
lib/libgcrypt-grub/cipher/serpent.c:589: warning: comparison between signed and unsigned reed_solomon.c: Assembler messages:
reed_solomon.c:2: Warning: ignoring changed section attributes for .text

#3 lore raw
Quoted 8 lines · Bruce Dubbs
Quoted 3 lines · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all

I'm proud to announce the release of GNU GRUB version 1.99.

Congratulations on the release. As one who builds almost everything form source, the download and build went very smoothly. Thank you.

Quoted 7 lines

I want to share some nits with you. Use them or ignore them as you please.

-- Bruce

1. The install creates an empty directory: /usr/share/grub

It's empty only if no freetype or no unifont was found

Quoted 6 lines

2. There were several trivial build warnings:

grub_script.yy.h:293: warning: 'yy_flex_strncpy' declared 'static' but never defined
grub_script.yy.c:2241: warning: unused parameter 'yyscanner' grub_script.yy.c:2482: warning: unused parameter 'yyscanner'

These warnings come from flex autogenerated code

Quoted 8 lines

config.status: WARNING: 'util/grub.d/10_linux.in' seems to ignore the --datarootdir setting
config.status: WARNING: 'util/grub.d/20_linux_xen.in' seems to ignore the --datarootdir setting
config.status: WARNING: 'util/grub-install.in' seems to ignore the --datarootdir setting
config.status: WARNING: 'util/grub-mknetdir.in' seems to ignore the --datarootdir setting

--datarootdir isn't supported by us (yet?).

Quoted 2 lines

fs/btrfs.c: In function 'grub_btrfs_read_logical':
fs/btrfs.c:592: warning: 'err' may be used uninitialized in this function

Spurious warning with your gcc. I'll silence it.

Quoted 10 lines

grub_script.yy.h:293: warning: 'yy_flex_strncpy' declared 'static' but never defined
grub_script.yy.c: In function 'yy_fatal_error':
grub_script.yy.c:2241: warning: unused parameter 'msg' grub_script.yy.c:2241: warning: unused parameter 'yyscanner' grub_script.yy.c: At top level:
grub_script.yy.c:2279: warning: no previous prototype for 'yyget_column' grub_script.yy.c:2322: warning: no previous prototype for 'yyset_column' grub_script.yy.c: In function 'yy_flex_strncpy':
grub_script.yy.c:2482: warning: unused parameter 'yyscanner'

ditto

Quoted 16 lines

lib/libgcrypt-grub/cipher/camellia.c:450: warning: no previous prototype for 'camellia_setup128' lib/libgcrypt-grub/cipher/camellia.c:661: warning: no previous prototype for 'camellia_setup256' lib/libgcrypt-grub/cipher/camellia.c:947: warning: no previous prototype for 'camellia_setup192' lib/libgcrypt-grub/cipher/camellia.c: In function 'camellia_setup192':
lib/libgcrypt-grub/cipher/camellia.c:951: warning: implicit declaration of function 'memcpy' lib/libgcrypt-grub/cipher/camellia.c: At top level:
lib/libgcrypt-grub/cipher/camellia.c:969: warning: no previous prototype for 'camellia_encrypt128' lib/libgcrypt-grub/cipher/camellia.c:1059: warning: no previous prototype for 'camellia_decrypt128' lib/libgcrypt-grub/cipher/camellia.c:1152: warning: no previous prototype for 'camellia_encrypt256'

Quoted 8 lines

lib/libgcrypt-grub/cipher/camellia.c:1266: warning: no previous prototype for 'camellia_decrypt256' lib/libgcrypt-grub/cipher/rijndael.c: In function 'do_setkey':
lib/libgcrypt-grub/cipher/rijndael.c:173: warning: comparison between signed and unsigned
lib/libgcrypt-grub/cipher/serpent.c: In function 'serpent_key_prepare':
lib/libgcrypt-grub/cipher/serpent.c:589: warning: comparison between signed and unsigned

These files copied verbatim from libgcrypt. They must be fixed there first.

Quoted 3 lines

reed_solomon.c: Assembler messages:
reed_solomon.c:2: Warning: ignoring changed section attributes for .text

Fixing this warning would require significant changes. They were too big to squeeze into 1.99.

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko