how to use GRUB as boot loader

If you are needing help, or have questions for the different assembly languages available.

Moderator: Moderators

Post Reply
rigidbody
Posts: 4
Joined: Sat Sep 03, 2011 5:54 pm

how to use GRUB as boot loader

Post by rigidbody » Sun Sep 04, 2011 1:44 pm

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 7:08 pm, edited 1 time in total.

Andyhhp
Moderator
Posts: 387
Joined: Tue Oct 23, 2007 10:05 am
Location: 127.0.0.1
Contact:

Re: how to use GRUB as boot loader

Post by Andyhhp » Sun Sep 04, 2011 5:58 pm

You will get the relevant binary files in /bin/ in your build dir.

~Andrew
Image

rigidbody
Posts: 4
Joined: Sat Sep 03, 2011 5:54 pm

Re: how to use GRUB as boot loader

Post by rigidbody » Sun Sep 04, 2011 7:09 pm

i am new in OS development can you tell me the location of the bin directory..

thank you very much..

Andyhhp
Moderator
Posts: 387
Joined: Tue Oct 23, 2007 10:05 am
Location: 127.0.0.1
Contact:

Re: how to use GRUB as boot loader

Post by Andyhhp » Sun Sep 04, 2011 7:12 pm

This is not so much OS dev knowledge than basic UNIX knowledge.

The directory you ran "./configure" and "make build" should have a subdirectory called bin.

~Andrew
Image

rigidbody
Posts: 4
Joined: Sat Sep 03, 2011 5:54 pm

Re: how to use GRUB as boot loader

Post by rigidbody » Sun Sep 04, 2011 7:46 pm

$ ./configure

$make build
make: *** No rule to make target `build'. Stop.

but it is working when
$ make
is entered.
but there is not any bin directory is created.:(

Andyhhp
Moderator
Posts: 387
Joined: Tue Oct 23, 2007 10:05 am
Location: 127.0.0.1
Contact:

Re: how to use GRUB as boot loader

Post by Andyhhp » Sun Sep 04, 2011 7:52 pm

then ./configure is not working

the whole point of automake is to make you a makefile which knows the standard commands - build and install being the key ones.

~Andrew
Image

Post Reply