[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to get started with developing grub2

From: Richard Retanubun
Subject: how to get started with developing grub2
Date: Wed, 17 Feb 2010 09:20:57 -0500
User-agent: Mozilla-Thunderbird (X11/20090706)


I am getting started with developing grub2 (v1.96 from debian stable) to port 
some grub1 custom modifications
that was done on the existing products and well, I'm a bit lost.

I followed this patch thread to learn how to add a new command

So I ported that patch to v1.96 and run configure, make and make install (and 
got stuff in /usr/local)

then I go to /usr/local/bin and run grub-mkimage -o mycore.img (it it supposed 
to make a new /boot/grub/core.img?)
then I noticed the size of the binary is smaller (/boot/grub/core.img is 24275; 
mine is 18242)

So what am I missing and how can I install my custom grub2 with the new/custom 
modules on top of
my existing grub2 (still chainloading from grub1)

Apologies if this has been asked before, can't seem to find it in the mailing 
If there is any docs written on these topics somewhere, kindly point me to it.

Thank you for everyone's time.

- Richard

reply via email to

[Prev in Thread] Current Thread [Next in Thread]