alt installer: Running 'grub-install --no-floppy "(hd0)"' failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub-installer
daily alt installer
loader
Oct 8 00:14:39 debconf: <-- 0 OK
Oct 8 00:14:39 grub-installer: info: Installing grub on '(hd0)'
Oct 8 00:14:39 grub-installer: info: grub-install supports --no-floppy
Oct 8 00:14:39 grub-installer: info: Running chroot /target grub-install --no-
floppy "(hd0)"
Oct 8 00:14:39 grub-installer: You shouldn't call /sbin/grub-install. Please ca
ll /usr/sbin/
Oct 8 00:14:39 grub-installer:
Oct 8 00:14:39 grub-installer: /dev/sdb1 does not have any corresponding BIOS d
rive.
Oct 8 00:14:39 grub-installer: error: Running 'grub-install --no-floppy "(hd0
)"' failed.
Oct 8 00:14:39 debconf: --> SUBST grub-installer/
d0)
/target/boot/grub # df
Filesystem 1k-blocks Used Available Use% Mounted on
tmpfs 516452 36 516416 0% /dev
/dev/sdb1 10325748 3066020 6735208 31% /target
/dev/sdb1 10325748 3066020 6735208 31% /dev/.static/dev
tmpfs 516452 36 516416 0% /target/dev
/target/boot/grub # mount
rootfs on / type rootfs (rw)
none on /proc type proc (rw)
tmpfs on /dev type tmpfs (rw)
sysfs on /sys type sysfs (rw)
fusectl on /sys/fs/
/dev/sdb1 on /target type ext3 (rw,relatime,
/dev/sdb1 on /dev/.static/dev type ext3 (rw,relatime,
tmpfs on /target/dev type tmpfs (rw)
it
~ # chroot /target grub-install --no-floppy "(hd0)"
/dev/sdb1 does not have any corresponding BIOS drive.
~ # chroot /target grub-install --no-floppy "(hd0)" --root-directory=/ --recheck grub/device. map.
Probing devices to guess BIOS drives. This may take a long time.
Installing GRUB to (hd0) as (hd0)...
Installation finished. No error reported.
This is the contents of the device map //boot/
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/sda
(hd1) /dev/sdb
Before the install the box did not boot. It would hang at
bios POST...
Grub loading stage 1.5.
Grub loading, please wait
Error 2.
then I ran the ibex-alt-install, got the error, tried various grub commands, all would report an error until the last one containing --recheck. Then I rebooted. So I can not say for sure that the final one is the one that fixed it. There is a chance that something else fixed it that I am unaware of.