<div dir="ltr">In RedHat kickstart, you can code pre installation scripts to lay down the partitions on exact starting boundaries. Does debian have anything like that? We used this feature to insure that partitions were efficiently aligned for better performance under VMware.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 21, 2013 at 4:28 PM, David L. Anselmi <span dir="ltr">&lt;<a href="mailto:anselmi@anselmi.us" target="_blank">anselmi@anselmi.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I ran into a case where the grub2 core.img is bigger than the 32kB gap between the MBR and first<br>
partition.  There are lots of discussions about making the gap bigger.<br>
<br>
Does anyone know how to make the core.img smaller?  Or is it already optimized?<br>
<br>
I haven&#39;t found a way to control what modules are included in it.<br>
<br>
 From grub-install --debug I found the mkimage command:<br>
<br>
/usr/bin/grub-mkimage -d /usr/lib/grub/i386-pc -O i386-pc --output=/boot/grub/i386-pc/core.img<br>
--prefix=&#39;(lvm/vg0-root)/boot/grub&#39; biosdisk ext2 part_msdos part_msdos lvm<br>
<br>
If the list at the end are the only modules included then it seem unlikely it can be shrunk.  Using<br>
various values of -C didn&#39;t change the core.img size.<br>
<br>
Dave<br>
<br>
_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Collins Richey<br>     If you fill your heart with regrets of yesterday and the worries <br>     of tomorrow, you have no today to be thankful for.
</div>