[Bug 857548] Re: no longer possible to select GRUB Legacy by preseeding
Colin Watson
cjwatson at canonical.com
Sat Sep 24 12:32:59 UTC 2011
grub-installer (1.68ubuntu1) oneiric; urgency=low
* Resynchronise with Debian (preseeding change in 1.68 fixes LP: #857548).
Remaining changes:
- Show the grub menu and raise the menu timeout if other operating
systems are installed (only for GRUB Legacy right now).
- Remove splash boot parameter unless debian-installer/framebuffer=true
and debian-installer/splash=true.
- If / or /boot are on a removable device, install GRUB there by
default.
- Only mount /target/proc if it isn't already mounted.
- Support setting OVERRIDE_UNSUPPORTED_OS in the environment to force
grub-installer to use its default MBR selection method despite there
being unsupported operating systems on the disk.
- Support grub-installer/bootdev_directory preseeding to make use of the
relative path feature of grub4dos, so that we can point grub4dos at
part of a disk for Wubi. Setting this disables normal grub
installation, but still generates a device.map (for GRUB Legacy only);
it also hides the menu.
- Handle cases where /boot is bind-mounted.
- Add support for writing an GRUB Legacy MBR on each disk in an
mdadm-managed RAID providing /boot. (GRUB 2 can handle this already.)
- Properly make use of output from os-prober to configure the booting of
other operating systems on dmraid arrays. Attempt to guess where in
the device map the array belongs, by substituting the first drive in
the dmraid array for the dmraid array device node itself, and removing
any reference to other member disks of the array.
- Go back to using update-grub -y for GRUB Legacy for now; our grub
package is a bit old and still requires this.
- Default to grub2 for GPT systems.
- Allow grub/grub2 choice for ext4, though still default to grub2.
- If /boot is on an MD device and we're using GRUB 2, install GRUB there
rather than (hd0); GRUB 2 will interpret that as meaning that it needs
to install to each of the RAID members.
- If using GRUB 2 and installing to a RAID device any of whose
components are partitions, then default to installing to the MBRs of
each of the containing disks, since GRUB 2 will refuse to install to
the partition devices.
- On i386/efi and amd64/efi subarchitectures, install grub-efi and purge
grub, grub-legacy, and grub-pc; elsewhere, purge grub-efi*.
- Add a preseedable grub-installer/timeout template to adjust the
initial GRUB timeout.
- Install GRUB to the SATA RAID or multipath device when /boot is on
such a device, rather than installing to the first hard disk.
- Remove grub-gfxpayload-lists in situations where we need to remove
grub-pc.
- Remove 'quiet' from target system command line if
debian-installer/quiet is set to false.
- When /boot is on a loopback device (i.e. Wubi), install GRUB there.
* Simplify /proc and /sys mounting; make sure they're consistently mounted
for the entire life of grub-installer, and consistently unmounted on
exit (LP: #851704).
-- Colin Watson <cjwatson at ubuntu.com> Fri, 23 Sep 2011 21:29:13 +0100
** Changed in: grub-installer (Ubuntu Oneiric)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/857548
Title:
no longer possible to select GRUB Legacy by preseeding
Status in “grub-installer” package in Ubuntu:
Fix Released
Status in “grub-installer” source package in Natty:
Triaged
Status in “grub-installer” source package in Oneiric:
Fix Released
Bug description:
Some systems still require the use of GRUB Legacy; a notable one is
Xen guests where the host is using PV-GRUB configured to read from
/boot/grub/menu.lst, a not uncommon hosting company setup. It used to
be possible to force the installer to do this by preseeding grub-
installer/grub2_instead_of_grub_legacy=false, and this was supported
up to grub-installer 1.59. Unfortunately, in 1.60, Debian stopped the
warning message attached to that debconf template from being displayed
even in expert mode, but forgot to preserve the ability to preseed
that template.
I fixed this in grub-installer 1.68 in Debian unstable, and have
proposed a suitable patch for Debian squeeze (http://lists.debian.org
/debian-release/2011/09/msg00394.html). I intend to merge this into
Oneiric. Natty is also affected, so I will upload a suitable patch
there as well.
As usual for installer changes, testing this fix before it reaches
natty-updates will require using the boot parameter apt-
setup/proposed=true.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/857548/+subscriptions
More information about the foundations-bugs
mailing list