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

Miguel Landaeta miguel at miguel.cc
Thu Dec 17 21:12:34 UTC 2009


On Fri, Dec 18, 2009 at 4:08 PM, Thomas Fjellstrom <tfjellstrom at shaw.ca> wrote:
> 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.

Ok, my core.img file was ~50KB so I had to repartition.

In your case, you could use grub-mkimage to generate a new core.img, remove
some unused modules and see if you image can fit.

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche





More information about the Pkg-grub-devel mailing list