Bug#561294: core.img is unusually large, grub-pc fails to install grub mbr

Thomas Fjellstrom tfjellstrom at shaw.ca
Thu Dec 17 20:38:11 UTC 2009


On Fri December 18 2009, Miguel Landaeta wrote:
> There are 32.5 kilobytes before the start of the first partition
> on a disk.  So, you better repartition your disk to begin on the
> second cylinder or beyond there and you will gain more space to
> store your grub2 core.img there, OR the grub people find a way to
> compress the core.img in that tiny space at the beginning of the
> disk.
> 
> In order to setup full disk encryption with grub2 (grub2+luks+lvm2),
> I had to partition my boot disk in that way (my first partition
> begins at the second cylinder). BTW, in the beginning of the
> following howto
>  (http://tech.xerces.com/full-system-encryption-for-linux.geek) there is
>  a brief comment about this problem.
> 

My core.img file is 31.13KB in size. Also the auto generated grub.conf seems 
to include a "raid" module that probably isn't needed? (it also includes 
mdraid and lvm) Is there a way I can remove it?

And as I mentioned, I asked about this in the #grub channel on 
irc.freenode.net and they seemed to hint at the fact that debian's grub 
package is known to make the driver modules larger in size that stock grub 
does.

-- 
Thomas Fjellstrom
tfjellstrom at shaw.ca





More information about the Pkg-grub-devel mailing list