Bug#586621: Patch

Matt Kraai kraai at ftbfs.org
Sat Jul 3 19:24:43 UTC 2010


tag 586621 patch
thanks

Hi,

As Julien notes, on systems that don't allow embedding, the copy of
core.img in memory is modified before it's compared against the
version read directly from disk.  install_bsd_part and
install_dos_part, which are also used to modify the in-memory copy of
core.img, work around this by only being written to after comparing
core_img to what's on disk.  The attached patch does the same for
prefix, which allowed grub-setup to succeed on my system which was
previously exhibiting the problem.

On a probably unrelated note, when I boot, grub displays an

 error: file not found

error, dumps me into rescue mode, and I can't figure out how to
proceed (ls works but all insmod commands fail with the same error).
I assume this is unrelated, but I may be wrong (and would love for
help).

-- 
Matt                                              http://ftbfs.org/kraai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: copy-new_prefix-to-prefix-JIT.patch
Type: text/x-diff
Size: 1608 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100703/21153afc/attachment.patch>


More information about the Pkg-grub-devel mailing list