From: Michael Prokop Date: Wed, 1 Dec 2010 00:03:54 +0000 (+0100) Subject: templates/boot/grub/grub.cfg: drop insmod part_{msdos,gpt} as it breaks booting X-Git-Tag: v0.12.0~8 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=09667d4a67057707f959e2b667ad4d7da36fd2b3 templates/boot/grub/grub.cfg: drop insmod part_{msdos,gpt} as it breaks booting If the modules part_msdos and part_gpt are insmod-ed then booting with grub (manifold ISO boot) fails with "unaligned pointer 0x........'. The issue can be reproduced with either realâ„¢ hardware or using qemu/kvm via restricting memory to ~64MB (using '-m 64') but won't be present if using something like 512MB memory in the virtual machine. Thanks to Axel Beckert for a bugreport and to Thorsten Glaser for locating the source of the bug. Testing: issue940 Thanks: Thorsten Glaser --- diff --git a/templates/boot/grub/grub.cfg b/templates/boot/grub/grub.cfg index 0f4d683..da9c6b4 100644 --- a/templates/boot/grub/grub.cfg +++ b/templates/boot/grub/grub.cfg @@ -20,10 +20,6 @@ else set menu_color_highlight=black/yellow fi -# make sure we can access partitions -insmod part_msdos -insmod part_gpt - if [ ${iso_path} ] ; then set loopback="findiso=${iso_path}" fi