Page 1 of 1

GRUB compile problem..

Posted: Sun Sep 04, 2011 7:40 am
by rigidbody
Hi..
I have downloaded grub source code from ftp://ftp.gnu.org/gnu/grub.
I have compiled that source code using ./configure then make command but i have not get any binary file.
Actually i want to use GRUB boot loader for my own Os.
please guide me.
I am very new here.

thanks in advance..:)

Re: GRUB compile problem..

Posted: Sun Sep 04, 2011 9:31 am
by claesson92
./configure does not actually compile GRUB. It simply prepares the building and makes sure you have all necessary tools and libraries.
After you have run configure you have to run make as well.

Code: Select all

./configure
    ...
make
    ...

Re: GRUB compile problem..

Posted: Sun Sep 04, 2011 12:39 pm
by rigidbody
yes i have run the $make command also.
then what i have to do to get the grub binary file or the files like stage1 stage2 etc..

Re: GRUB compile problem..

Posted: Sun Sep 04, 2011 12:53 pm
by claesson92
Then they should be in bin or a similar folder. If you are unable to find them, here are an archive containing stag1 and stage2 for GRUB 0.97. There also is binary releases on the FTP.

Re: GRUB compile problem..

Posted: Sun Sep 04, 2011 1:04 pm
by rigidbody
thank you for very much for the reply but it hardly help me actually i want to get binary file of grub-1.99 version.there is not any bin file after the compilation of the source file..

Re: GRUB compile problem..

Posted: Sun Sep 04, 2011 1:39 pm
by miker00lz
rigidbody wrote:thank you for very much for the reply but it hardly help me actually i want to get binary file of grub-1.99 version.there is not any bin file after the compilation of the source file..
if the compile didn't report any errors, the files ARE there... you just haven't found em. have a peek at the Makefile for clues.

Re: GRUB compile problem..

Posted: Sun Sep 04, 2011 1:51 pm
by rigidbody
yes it isn't throwing any error.
but i am new in this field if you elaborate your solution it will be more helpful for me ..

thanks..:)

Re: GRUB compile problem..

Posted: Mon Sep 05, 2011 2:18 am
by rigidbody
here is the log files..

Re: GRUB compile problem..

Posted: Mon Sep 05, 2011 3:16 am
by rigidbody
oh really sorry.
make out put is greater than 64kb .it is not allowing me to update that size of file.

Re: GRUB compile problem..

Posted: Mon Sep 05, 2011 3:21 am
by rigidbody
here is the make out put..

thank you very much for reply..:D

Re: GRUB compile problem..

Posted: Mon Sep 05, 2011 10:01 am
by rigidbody
thank you very much berkus..
i will try for GRUB1.
thanks again..:D