grub-installer ignores "bootdev" setting in preseed file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Debian) |
Fix Released
|
Unknown
|
|||
grub-installer (Ubuntu) |
Fix Released
|
Undecided
|
Dave Chiluk | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Dave Chiluk |
Bug Description
I am installing an Ubuntu system with two disks attached; I want the
OS to be installed on the second disk /dev/sdb; the first disk
/dev/sda is currently completely empty (not even partitioned). The
install process works fine, but then GRUB ignores the line:
d-i grub-installer/
and complains that it cannot write to /dev/sda (because it does not
even have a partition table).
Same happens if I use GRUB's own notation "(hd1)" instead of /dev/sdb
in the preseed file.
If I omit the "grub-installer
stops to ask me if I want to install GRUB on sda or sdb.
The issue can be replicated with virtual machines: add two disks (one
of the empty / zeroed out), and instruct the preseed to install on the
second one.
I think this is the same as Debian bug #666974, but I'm filing it
separately as I'm not sure what/how much is changed in Ubuntu's
version of D-I. See: http://
Preseed options used for partitioning / target selection:
### Partitioning
d-i partman-auto/method string lvm
d-i partman-
# do not ask for confirmation, ever
d-i partman-
d-i partman-lvm/confirm boolean true
d-i partman-
d-i partman-
d-i partman-md/confirm boolean true
d-i partman-
d-i partman-
d-i partman/
d-i partman/confirm boolean true
d-i partman/
d-i partman/
GRUB-related preseed options:
### Boot loader installation
d-i grub-installer/
d-i grub-installer/
d-i grub-installer/
affects: | debian-installer (Ubuntu Precise) → grub-installer (Ubuntu Precise) |
Changed in grub-installer (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in grub-installer (Debian): | |
status: | Unknown → New |
Changed in grub-installer (Debian): | |
status: | New → Fix Released |
Changed in grub-installer (Ubuntu Precise): | |
status: | Confirmed → Fix Released |
status: | Fix Released → Confirmed |
assignee: | Dave Chiluk (chiluk) → nobody |
Status changed to 'Confirmed' because the bug affects multiple users.