Bug#586621: new situation

cep cep at cepcasa.info
Wed Jun 23 15:33:33 UTC 2010


Le 22/06/2010 08:42, cep a écrit :
> Le 22/06/2010 05:37, Julien Plissonneau Duquène a écrit :
>>
>> Corruption happens in
>> util/i386/pc/grub-setup.c line 320
>> strcpy (prefix, new_prefix);
>> where prefix is a pointer to somewhere in core_img in memory that will
>> not
>> be written back to disk but will be later compared to a tmp_img read
>> through grub fs functions.
>> . . .
>
> # grub-install --grub-setup=/bin/true '(hd0,msdos2)'
> # echo -en '(,msdos2)/boot/grub' | dd of=/boot/grub/core.img bs=1
> seek=540 conv=notrunc
> # grub-setup --verbose --force /dev/sda2
>
> are ok and it boots.
>

Having tested the workaround now leads the installation without error. I 
jointsles the logs of :

# grub-setup -vvv '(hd0,msdos2)' >grub-setup.log 2>grub-setup.stderr.log

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-setup.log
Type: text/x-log
Size: 47589 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100623/e34441fe/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-setup.stderr.log
Type: text/x-log
Size: 7013 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100623/e34441fe/attachment-0003.bin>


More information about the Pkg-grub-devel mailing list