From 09667d4a67057707f959e2b667ad4d7da36fd2b3 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 1 Dec 2010 01:03:54 +0100 Subject: [PATCH] templates/boot/grub/grub.cfg: drop insmod part_{msdos,gpt} as it breaks booting MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- templates/boot/grub/grub.cfg | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.1.4