Bug#494589: grub-setup fails with "error message = file not found"
Edward Allcutt
emallcut at gleim.com
Wed Aug 13 15:53:27 UTC 2008
I initially reported this as Debian bug #494589 [0]
Felix Zielcke asked me to forward this report to this mailing list.
Reproduced with latest upstream SVN (rebuilt r1802 today).
Failing command:
grub-setup -vv --directory=/boot/grub --device-map=/boot/grub/device.map
'(hd0)' >grub-setup.log 2>&1
grub-setup.log is available at [1]
/boot/grub/core.img exists and was created normally by grub-install. I
looked at the parameters passed to grub-mkimage and it was using the
correct modules (ext2 gpt biosdisk). I've run sync and
unmounted/remounted /boot but that doesn't help.
grub-fstest seems to have no problem with reading from the filesystem:
# grub-fstest /dev/sda1 ls /grub/core.img
core.img
# grub-fstest /dev/sda1 blocklist /grub/core.img
655432+55,655487[0-414]
# grub-fstest /dev/sda1 cmp /grub/core.img /boot/grub/core.img; echo $?
0
/dev/sda is partitioned using GPT. /boot is a normal ext3 filesystem on
/dev/sda1.
I've made the MBR [2] and sda1 (about 38MB) [3] available.
Final note: this exact setup worked just fine when I installed this
system in mid-June. I can probably figure out the version of grub2 on
the install CD if that would help.
[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494589
[1] http://dev.teamgleim.com/~emallcut/grub2/grub-setup.log
[2] http://dev.teamgleim.com/~emallcut/grub2/sda.mbr.gz
[3] http://dev.teamgleim.com/~emallcut/grub2/sda1.gz
--
Edward Allcutt
More information about the Pkg-grub-devel
mailing list