Bug#695500: d-i-n-i: #695500 is apparently a grub-mkimage (or debian-installer) bug
Steven Chamberlain
steven at pyro.eu.org
Fri Dec 6 14:19:07 UTC 2013
Hi!
On 06/12/13 13:41, Colin Watson wrote:
> [...] i386-pc
> prefixes the image with diskboot.img, while i386-pc-pxe prefixes the
> image with pxeboot.img.
Prefixes core.img with diskboot.img?? I know that i386-pc-pxe prefixes
with pxeboot.img however. After that we had this weird thing:
cat $(GRUB_MODDIR)/pxeboot.img $(TEMP_NETBOOT_DIR)/core.img \
> $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/grub2pxe
As far as I remember, that would produce the same output as if
i386-pc-pxe had been used, except for a sed hack which is applied to
core.img first:
sed -i -e 's/\x02\xb0\xad\x1b/\x03\xb0\xad\x1b/'
$(TEMP_NETBOOT_DIR)/core.img
Since that sed hack is no longer needed as of GRUB 2.00, I've been
waiting for it to migrate to testing, then intended to clean up the
whole thing with this commit:
http://lists.debian.org/1374529181-96367-2-git-send-email-steven@pyro.eu.org
Regards,
--
Steven Chamberlain
steven at pyro.eu.org
More information about the Pkg-grub-devel
mailing list