lp:ubuntu/lucid/grub2

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/lucid/grub2
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Development

Recent revisions

66. By Colin Watson

Enclose all translated strings in grub.cfg in single quotes, and escape
them appropriately (LP: #552921).

65. By Colin Watson

* Only use the first word of GRUB_DISTRIBUTOR for --class, to avoid
  problems if somebody puts spaces in GRUB_DISTRIBUTOR (LP: #557606).
* Probe all devices in 'grub-probe --target=drive' if
  /boot/grub/device.map is missing (LP: #549980).
* Adjust hostdisk id for hard disks, allowing grub-setup to use its
  standard workaround for broken BIOSes (thanks to TJ for detailed
  investigation; LP: #555500).

64. By Colin Watson

Make sure GRUB_TIMEOUT isn't quoted unnecessarily (LP: #544890).

63. By Colin Watson

* Fix LVM/RAID probing in the absence of /boot/grub/device.map
  (LP: #525085, #527401).
* Backport my upstream patch to copy .mo files from /usr/share/locale to
  match where 'make install' puts them (LP: #537998).
* Look for .mo files in /usr/share/locale-langpack as well, in preference
  (LP: #537998).
* Don't generate /boot/grub/device.map during grub-mkconfig (we already
  suppressed it during grub-install, but then grub-mkconfig generated it
  shortly afterwards, producing confusing results).
* Don't run /etc/grub.d/README, even if it somehow ended up being
  executable (LP: #537123).

62. By Colin Watson

* Resynchronise with Debian (bug-fixes relative to previous snapshot
  release). Remaining changes:
  - Adjust for default Ubuntu boot options ("quiet splash").
  - Default to hiding the menu; holding down Shift at boot will show it.
  - Set a monochromatic theme for Ubuntu.
  - Apply Ubuntu GRUB Legacy changes to legacy update-grub script: title,
    recovery mode, quiet option, tweak how memtest86+ is displayed, and
    use UUIDs where appropriate.
  - Conflict with grub (<< 0.97-54) as well as grub-legacy.
  - Fix backslash-escaping in merge_debconf_into_conf.
  - Remove "GNU/Linux" from default distributor string.
  - Add crashkernel= options if kdump and makedumpfile are available.
  - If other operating systems are installed, then automatically unhide
    the menu. Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus
    if available to check whether Shift is pressed. If it is, show the
    menu, otherwise boot immediately. If keystatus is not available, then
    fall back to a short delay interruptible with Escape.
  - Allow Shift to interrupt 'sleep --interruptible'.
  - Don't display introductory message about line editing unless we're
    actually offering a shell prompt. Don't clear the screen just before
    booting if we never drew the menu in the first place.
  - Remove some verbose messages printed before reading the configuration
    file.
  - Suppress progress messages as the kernel and initrd load for
    non-recovery kernel menu entries.
  - Keep the loopback file open so that subsequent changes to the "root"
    environment variable don't affect it.
  - Change prepare_grub_to_access_device to handle filesystems
    loop-mounted on file images.
  - Ignore devices loop-mounted from files in 10_linux.
  - Show the boot menu if the previous boot failed, that is if it failed
    to get to the end of one of the normal runlevels.
  - Handle RAID devices containing virtio components.
  - Improve DM-RAID probing support.
  - Don't generate /boot/grub/device.map during grub-install by default.
  - Store grub-pc/install_devices as persistent device names under
    /dev/disk/by-id/.
  - Change priority to optional to match the priority of grub.
  - Shave eight bytes off the pre-partition-table part of boot.img.
  - Don't display "GRUB loading" unless Shift is held down.
  - Adjust versions of grub-doc and grub-legacy-doc conflicts to tolerate
    our backport of the grub-doc split.
  - Optimise hostdisk device handling, substantially speeding up
    grub-probe filesystem reads.

61. By Colin Watson

[ Colin Watson ]
* Update DM-RAID probing patch, removing some configure.ac cruft.
* Add patch from Colin King to shave eight bytes off the
  pre-partition-table part of boot.img.
* Don't display "GRUB loading" unless Shift is held down.
* Use light-gray as the default background for highlighted menu entries;
  white is not safe because some systems interpret the top bit as blink
  (thanks, proski; LP: #527334).
* Adjust versions of grub-doc and grub-legacy-doc conflicts to tolerate
  our backport of the grub-doc split (LP: #493968).
* Optimise hostdisk device handling, substantially speeding up grub-probe
  filesystem reads (LP: #425650).

60. By Colin Watson

Stop forcing gfxpayload=keep when CONFIG_FB_EFI=y, which it always is on
Ubuntu kernels; this apparently causes trouble with some KMS
framebuffers.

59. By Colin Watson

[ Michael Vogt ]
* Change the priority to optional to match the priority of grub. This
  prevents grub-pc getting removed in favour of grub (LP: #449679).

[ Colin Watson ]
* Stop the postinst failing if there are no devices.

58. By Colin Watson

* Resynchronise with Debian. Remaining changes:
  - Adjust for default Ubuntu boot options ("quiet splash").
  - Default to hiding the menu; holding down Shift at boot will show it.
  - Set a monochromatic theme for Ubuntu.
  - Apply Ubuntu GRUB Legacy changes to legacy update-grub script: title,
    recovery mode, quiet option, tweak how memtest86+ is displayed, and
    use UUIDs where appropriate.
  - Conflict with grub (<< 0.97-54) as well as grub-legacy.
  - Fix backslash-escaping in merge_debconf_into_conf.
  - Remove "GNU/Linux" from default distributor string.
  - Add crashkernel= options if kdump and makedumpfile are available.
  - If other operating systems are installed, then automatically unhide
    the menu. Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus
    if available to check whether Shift is pressed. If it is, show the
    menu, otherwise boot immediately. If keystatus is not available, then
    fall back to a short delay interruptible with Escape.
  - Allow Shift to interrupt 'sleep --interruptible'.
  - Don't display introductory message about line editing unless we're
    actually offering a shell prompt. Don't clear the screen just before
    booting if we never drew the menu in the first place.
  - Remove some verbose messages printed before reading the configuration
    file.
  - Suppress progress messages as the kernel and initrd load for
    non-recovery kernel menu entries.
  - Keep the loopback file open so that subsequent changes to the "root"
    environment variable don't affect it.
  - Change prepare_grub_to_access_device to handle filesystems
    loop-mounted on file images.
  - Ignore devices loop-mounted from files in 10_linux.
  - Show the boot menu if the previous boot failed, that is if it failed
    to get to the end of one of the normal runlevels.
  - Handle RAID devices containing virtio components.
  - Improve DM-RAID probing support.
* Don't generate /boot/grub/device.map during grub-install by default.
* Store grub-pc/install_devices as persistent device names under
  /dev/disk/by-id/. Migrate previous device names to that, with explicit
  confirmation in non-trivial cases to make sure we got the right ones. If
  the devices we were told to install to ever go away, ask again.
* If the user opts to install GRUB nowhere, make sure they really mean it.
* Backport disk read fixes from upstream.

57. By Colin Watson

* Build-depend on libdevmapper-dev for DM-RAID probing patch.
* Handle conversion of DM-RAID disk paths (as well as partition paths) to
  GRUB drive names.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers