On Fri, Sep 27, 2013 at 09:46:56AM -0500, Michael Lustfield wrote: > After upgrading to the latest version of grub-pc in Debian jessie, th core.img > file went from 32K to 36K. This makes it no longer possible to install grub to > the MBR. It seems that some of the modules are significantly larger than they > should be and this is making it impossible to install grub to what seems to be > a very common setup. The only thing extra I'm using is LVM. Adding RAID and > LVM > support should still keep core.img under the 32K limit. This is an issue on > over 400 systems for me, so just moving the first partition over and doing a > --force will not be an option, nor should it be required.
Note that systems that were installed with modern versions of the Debian installer aren't affected by this bug, since that aligns the first partition to a 1MB boundary by default; this is actually a good idea for performance reasons too so I recommend you look into converting your systems to that if at all possible since this isn't an easy bug to fix in any other way. I agree this is a real problem, though. Could I please see the exact size in bytes of /boot/grub/i386-pc/core.img so that I can make sure I'm comparing the right thing? I don't get quite the same figures as you in my local tests, and for this kind of thing every byte matters. It looks to me as though we're still a bit over the limit for biosdisk+ext2+part_msdos+lvm with a current upstream build, although only by 409 bytes rather than 1394 in my test system (2.00-18). Adding mdraid1x brings it up to 896 bytes with current upstream and 1394 with 2.00-18. -- Colin Watson [[email protected]] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

