Comment 14 for bug 140713

Revision history for this message
Anthony Liguori (anthony-codemonkey) wrote :

Unfortunately there was a small bug in my previous patch. I should have used a 16 bit mov instead of a 32 bit mov or else data would potentially leak from ebx into esp. Turns out that in practice, the high bits of ebx were zero so everything still worked.

To test out the patch, I took a gutsy-desktop CD (tribe 4 I believe), mounted it via loopback (mount -oloop,ro gutsy-desktop-i386.iso /mnt). I then copied (via cp -ra /mnt iso) to another working directory.

Applying this patch to the gfxboot source package (apt-get source gfxboot), then doing a make install. Then rebuild the gfxboot-theme-ubuntu package from source (apt-get source gfxboot-theme-ubuntu), and copy the bootlogo into the staged iso (cp gfxboot-theme-ubuntu-0.4.3/install/bootlogo iso/isolinux/bootlogo).

Finally, I built a new ISO with mkisofs (mkisofs -R -b isolinux/isolinux.bin -c isolinux/boot.cat -J -no-emul-boot -boot-load-size 4 -boot-info-table -o gutsy-remastered.iso iso).