Installing grub on '/dev/md126p1 system doesn't boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Installed, xenial, machine wont boot.
machine has
lspci ...
00:1f.2 RAID bus controller: Intel Corporation SATA Controller [RAID mode] (rev 02)
two disks that show up as sda/b
pxe net install, preseed disk options:
d-i user-setup/
# d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-
# This makes partman automatically partition without confirmation.
d-i partman-md/confirm boolean true
d-i partman-
d-i partman/
d-i partman/confirm boolean true
d-i partman/
d-i grub-installer/
d-i grub-installer/
Installer syslog shows:
May 31 22:03:46 grub-installer: info: Installing grub on '/dev/md126p1'
May 31 22:03:46 grub-installer: info: grub-install does not support --no-floppy
May 31 22:03:46 debconf: --> INPUT low grub-installer/
May 31 22:03:46 debconf: <-- 30 question skipped
May 31 22:03:46 debconf: --> GO
May 31 22:03:46 debconf: <-- 0 ok
May 31 22:03:46 debconf: --> GET grub-installer/
May 31 22:03:46 debconf: <-- 0 false
May 31 22:03:46 grub-installer: info: Running chroot /target grub-install --force "/dev/md126p1"
May 31 22:03:46 grub-installer: Installing for i386-pc platform.
May 31 22:03:59 grub-installer: grub-install: warning: File system `ext2' doesn't support embedding.
May 31 22:03:59 grub-installer: grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
May 31 22:03:59 grub-installer: Installation finished. No error reported.
May 31 22:03:59 grub-installer: info: grub-install ran successfully
May 31 22:03:59 debconf: --> GET grub-installer/
May 31 22:03:59 debconf: <-- 0 true
May 31 22:04:00 debconf: --> PROGRESS STEP 1
May 31 22:04:00 debconf: <-- 0 OK
I booted the installer into rescue mode:
~ # mount /dev/md126p1 /target
~ # chroot /target grub-install --force "/dev/md126p1"
Installing for i386-pc platform.
grub-install: error: cannot find a device for /boot/grub (is /dev mounted?).
~ # mount relatime, size=404492k, mode=755) size=2002416k, nr_inodes= 500604, mode=755) noexec, relatime, gid=5,mode= 620,ptmxmode= 000) data=ordered)
rootfs on / type rootfs (rw)
none on /run type tmpfs (rw,nosuid,
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,
devpts on /dev/pts type devpts (rw,nosuid,
/dev/md126p1 on /target type ext4 (rw,relatime,