FS#29928 - Grub install failure, testing ISO
Attached to Project:
Release Engineering
Opened by Greg Sutcliffe (gwmngilfen) - Thursday, 17 May 2012, 11:24 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 05 August 2012, 15:00 GMT
Opened by Greg Sutcliffe (gwmngilfen) - Thursday, 17 May 2012, 11:24 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 05 August 2012, 15:00 GMT
|
Details
Using archlinux-2012.05.17_04-00-01-netinstall-dual.iso,
QEMU-KVM x86_64 machine, IDE Disk on /dev/sda, automated
install.
At the end of the install, grub-install will fail: /dev/mapper/../dm-0 does not have any corresponding BIOS drive. It looks like the grub stage files aren't being copied into /mnt/boot/grub, which might be related. This can be worked around as follows: chroot /mnt /bin/bash grub-install --recheck /dev/sda I'm not yet sure why the installer environment behaves differently to chroot. On a Virtio Disk (/dev/vda) then this workaround doesn't function, and you cannot boot the system. |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 05 August 2012, 15:00 GMT
Reason for closing: Won't fix
Additional comments about closing: No longer relevant.
Sunday, 05 August 2012, 15:00 GMT
Reason for closing: Won't fix
Additional comments about closing: No longer relevant.
I've written a patch which fixes it: https://mailman.archlinux.org/pipermail/arch-releng/2012-May/002552.html
grub-install --recheck --root-directory=/mnt /dev/sda