GRUB compile problem..

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
rigidbody
Posts: 10
Joined: Sat Sep 03, 2011 11:47 am

GRUB compile problem..

Post 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..:)
Last edited by rigidbody on Sun Sep 04, 2011 1:13 pm, edited 1 time in total.
claesson92
Posts: 10
Joined: Wed Jun 06, 2007 12:26 am

Re: GRUB compile problem..

Post 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
    ...
rigidbody
Posts: 10
Joined: Sat Sep 03, 2011 11:47 am

Re: GRUB compile problem..

Post 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..
claesson92
Posts: 10
Joined: Wed Jun 06, 2007 12:26 am

Re: GRUB compile problem..

Post 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.
Attachments
grub.tar.bz2
(55.73 KiB) Downloaded 62 times
rigidbody
Posts: 10
Joined: Sat Sep 03, 2011 11:47 am

Re: GRUB compile problem..

Post 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..
User avatar
miker00lz
Member
Member
Posts: 144
Joined: Wed Dec 08, 2010 3:16 am
Location: St. Louis, MO USA

Re: GRUB compile problem..

Post 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.
rigidbody
Posts: 10
Joined: Sat Sep 03, 2011 11:47 am

Re: GRUB compile problem..

Post 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..:)
rigidbody
Posts: 10
Joined: Sat Sep 03, 2011 11:47 am

Re: GRUB compile problem..

Post by rigidbody »

here is the log files..
Attachments
configure.txt
(20.36 KiB) Downloaded 57 times
rigidbody
Posts: 10
Joined: Sat Sep 03, 2011 11:47 am

Re: GRUB compile problem..

Post by rigidbody »

oh really sorry.
make out put is greater than 64kb .it is not allowing me to update that size of file.
rigidbody
Posts: 10
Joined: Sat Sep 03, 2011 11:47 am

Re: GRUB compile problem..

Post by rigidbody »

here is the make out put..

thank you very much for reply..:D
Attachments
make.txt.gz
(26.04 KiB) Downloaded 64 times
rigidbody
Posts: 10
Joined: Sat Sep 03, 2011 11:47 am

Re: GRUB compile problem..

Post by rigidbody »

thank you very much berkus..
i will try for GRUB1.
thanks again..:D
Post Reply