Skip to contentSkip to conversation

I'm a newb, looking for guidance

DISCUSSION Jay Sullivan 3 participants 6 messages Nov 30, 2008 – Dec 2, 2008

lore
Share & tools
lore
#0 lore raw

Hi, I'm very interested in helping out with the grub project, but I don't know where to begin! I've been interested in the project for a long time, but I try to respect people's time and I don't like to ask stupid questions until I've searched hard for the answers by myself. I've tried very hard to find good documentation for GRUB, but, erm......all of the decent tutorials out there are incomplete at best, and many of them make too many assumptions to be very helpful. I've read many tutorials but it seems like each one conflicts with the others.

First of all, I'm having trouble even understanding the grub architecture, and most of that is because I am constantly seeing conflicting information all over the internet due to the common fact that many people are ambiguous with which branch of grub they are referring to. Also, there seems to be a plague of broken and outdated links.

In general, though, I've found that grub is extremely underdocumented; but of the reading material which I have found to be at all helpful, there is a MAJOR tendency to overcomplicate things. I have a background in C and x86 assembly programming, and have had my fair share of device driving programming. I enjoy helping others track down bugs in their code, and I love writing idiot-proof tutorials (being the idiot that I am).

I'm not afraid to sit down and read thousands of lines of code if that's what it takes to be up to date with the project. I just want to make sure I'm not headed in the wrong direction or anything.

I remember reading a LONG time ago that the ETA for GRUB-2.0 was "November 2008," and so I expected to start seeing a lot more tutorials devoted to helping people prepare for it, but this hasn't happened as quickly as I'd hoped. So I figured I would try to delve into the project and see what's REALLY going on.

I've only been using linux for a little over a year, and before that was a windows programmer (yes, I'm ashamed of my past), so I know I won't be much help as far as programming anything useful anytime soon. I can, however, offer to seek and hunt down typos or inconsistencies in the code comments, that is unless the grub team is against that idea. I think proper documentation is the key to any project's long term survival, and I take comments seriously and expect them to be unambiguous and at the same time not superfluous.

So then, there's a grub forest of source code files, and I'm ready to walk in. I'll probably get lost in the woods sometime, so I'd appreciate it if anyone know of a trail I could follow. Thanks!

-- Jay Sullivan ([email protected])

#1 lore raw

Hi Jay,

Welcome on the board!

Quoted 8 lines · Jay Sullivan

Hi, I'm very interested in helping out with the grub project, but I don't know where to begin! I've been interested in the project for a long time, but I try to respect people's time and I don't like to ask stupid questions until I've searched hard for the answers by myself. I've tried very hard to find good documentation for GRUB, but, erm......all of the decent tutorials out there are incomplete at best, and many of them make too many assumptions to be very helpful. I've read many tutorials but it seems like each one conflicts with the others.

I assume you are wanting to help with GRUB 2.

Well we have wiki.

http://grub.enbug.org/
http://grub.enbug.org/ContributingChangesToGrub

This is supposed to be central point for developer oriented information. There are parts that are outdated. So if you see something weird or would like to know something better, please ask so we can improve the wiki.

Quoted 5 lines

First of all, I'm having trouble even understanding the grub architecture, and most of that is because I am constantly seeing conflicting information all over the internet due to the common fact that many people are ambiguous with which branch of grub they are referring to. Also, there seems to be a plague of broken and outdated links.

For GRUB 2 there exists only one official development branch (there are others but basically we want to keep it as one branch). Idea for GRUB 2 is to promote other people to contribute patches to upstream.

Quoted 10 lines

In general, though, I've found that grub is extremely underdocumented; but of the reading material which I have found to be at all helpful, there is a MAJOR tendency to overcomplicate things. I have a background in C and x86 assembly programming, and have had my fair share of device driving programming. I enjoy helping others track down bugs in their code, and I love writing idiot-proof tutorials (being the idiot that I am).

I'm not afraid to sit down and read thousands of lines of code if that's what it takes to be up to date with the project. I just want to make sure I'm not headed in the wrong direction or anything.

Ask what you want to know :)

Quoted 5 lines

I remember reading a LONG time ago that the ETA for GRUB-2.0 was "November 2008," and so I expected to start seeing a lot more tutorials devoted to helping people prepare for it, but this hasn't happened as quickly as I'd hoped. So I figured I would try to delve into the project and see what's REALLY going on.

I would assume 2006 but hey :). So basically there are things to be done. There are different roles of developers. Some of them are developing specific features, and some of them are trying to catch up with features of GRUB legacy, and some just trying to follow the "roadmap" for GRUB 2. Which is kinda zapped at this time.

Keypoint here is, what are your interests? What do you want to work on.

Some pointers that we see missing:

https://savannah.gnu.org/task/?group=grub
http://grub.enbug.org/TodoList

Oh.. before you start coding. Better start discussion on this list because there might be others working on the same thing, or there might be some ideas from long term developers how it should be made.

Quoted 8 lines

I've only been using linux for a little over a year, and before that was a windows programmer (yes, I'm ashamed of my past), so I know I won't be much help as far as programming anything useful anytime soon. I can, however, offer to seek and hunt down typos or inconsistencies in the code comments, that is unless the grub team is against that idea. I think proper documentation is the key to any project's long term survival, and I take comments seriously and expect them to be unambiguous and at the same time not superfluous.

Don't be shamed by your past. It is good to have variable development background.

Documentation for GRUB 2 is missing so I have nothing against updating that one.

However just walking the source code and trying to understand everything
might be boring task. So I would prefer that take some of the bugs and
see how they work (or why they wont) and then discuss it. Please skip bug reports about GRUB legacy and look at GRUB 2 issues if you go that path.

https://savannah.gnu.org/bugs/?group=grub

Thanks,
Vesa Jääskeläinen

#2 lore raw

Thank you for responding in such detail, it helps a lot. Right now I'm not sure what I'm interested in -- I'm interested in everything.
I'm going to try to install the current svn of grub2 to an test computer that I have, and see what works and what doesn't.

Quoted 119 lines · Vesa Jääskeläinen

Hi Jay,

Welcome on the board!

Quoted 2 lines · Jay Sullivan

Hi, I'm very interested in helping out with the grub project, but I don't know where to begin! I've been interested in the project for a long

time,

Quoted 1 line

but I try to respect people's time and I don't like to ask stupid

questions

Quoted 1 line

until I've searched hard for the answers by myself. I've tried very hard

to

Quoted 1 line

find good documentation for GRUB, but, erm......all of the decent

tutorials

Quoted 1 line

out there are incomplete at best, and many of them make too many

assumptions

Quoted 2 lines

to be very helpful. I've read many tutorials but it seems like each one conflicts with the others.

I assume you are wanting to help with GRUB 2.

Well we have wiki.

http://grub.enbug.org/
http://grub.enbug.org/ContributingChangesToGrub

This is supposed to be central point for developer oriented information. There are parts that are outdated. So if you see something weird or would like to know something better, please ask so we can improve the wiki.

Quoted 1 line

First of all, I'm having trouble even understanding the grub

architecture,

Quoted 1 line

and most of that is because I am constantly seeing conflicting

information

Quoted 1 line

all over the internet due to the common fact that many people are

ambiguous

Quoted 1 line

with which branch of grub they are referring to. Also, there seems to be

a

Quoted 1 line

plague of broken and outdated links.

For GRUB 2 there exists only one official development branch (there are others but basically we want to keep it as one branch). Idea for GRUB 2 is to promote other people to contribute patches to upstream.

Quoted 1 line

In general, though, I've found that grub is extremely underdocumented;

but

Quoted 1 line

of the reading material which I have found to be at all helpful, there is

a

Quoted 1 line

MAJOR tendency to overcomplicate things. I have a background in C and

x86

Quoted 7 lines

assembly programming, and have had my fair share of device driving programming. I enjoy helping others track down bugs in their code, and I love writing idiot-proof tutorials (being the idiot that I am).

I'm not afraid to sit down and read thousands of lines of code if that's what it takes to be up to date with the project. I just want to make sure I'm not headed in the wrong direction or anything.

Ask what you want to know :)

Quoted 1 line

I remember reading a LONG time ago that the ETA for GRUB-2.0 was

"November

Quoted 4 lines

2008," and so I expected to start seeing a lot more tutorials devoted to helping people prepare for it, but this hasn't happened as quickly as I'd hoped. So I figured I would try to delve into the project and see what's REALLY going on.

I would assume 2006 but hey :). So basically there are things to be done. There are different roles of developers. Some of them are developing specific features, and some of them are trying to catch up with features of GRUB legacy, and some just trying to follow the "roadmap" for GRUB 2. Which is kinda zapped at this time.

Keypoint here is, what are your interests? What do you want to work on.

Some pointers that we see missing:

https://savannah.gnu.org/task/?group=grub
http://grub.enbug.org/TodoList

Oh.. before you start coding. Better start discussion on this list because there might be others working on the same thing, or there might be some ideas from long term developers how it should be made.

Quoted 1 line

I've only been using linux for a little over a year, and before that was

a

Quoted 1 line

windows programmer (yes, I'm ashamed of my past), so I know I won't be

much

Quoted 2 lines

help as far as programming anything useful anytime soon. I can, however, offer to seek and hunt down typos or inconsistencies in the code

comments,

Quoted 4 lines

that is unless the grub team is against that idea. I think proper documentation is the key to any project's long term survival, and I take comments seriously and expect them to be unambiguous and at the same time not superfluous.

Don't be shamed by your past. It is good to have variable development background.

Documentation for GRUB 2 is missing so I have nothing against updating that one.

However just walking the source code and trying to understand everything
might be boring task. So I would prefer that take some of the bugs and
see how they work (or why they wont) and then discuss it. Please skip bug reports about GRUB legacy and look at GRUB 2 issues if you go that path.

https://savannah.gnu.org/bugs/?group=grub

Thanks,
Vesa Jääskeläinen

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw

Okay! I realized now that I would like to install the newest version of grub2 to a USB drive. Can anyone recommend to me the best way to do this? This seems like a good idea since if it fails to boot, I can easily fallback to my harddrive's bootloader.

I'd like to point out that I'm currently having trouble getting started with grub2 development. The reason is that I currently have grub-legacy installed to my system, and I can't figure out how to get grub2 working properly and I have a feeling that they are conflicting. I have downloaded GRUB-1.96, and configured and successfully ran makefile, but if I run make-install will I overwrite grub-legacy? If not, how can I access the grub2 shell? I've attempted to install it but /usr/local/bin/grub still holds grub-legacy. Do I chainload core.img? Am I doing this whole thing wrong? Thanks and I'm sorry if I'm asking stupid questions =)

Quoted 139 lines · Jay Sullivan

Thank you for responding in such detail, it helps a lot. Right now I'm not sure what I'm interested in -- I'm interested in everything.
I'm going to try to install the current svn of grub2 to an test computer that I have, and see what works and what doesn't.

Quoted 127 lines · Vesa Jääskeläinen

Hi Jay,

Welcome on the board!

Quoted 1 line · Jay Sullivan

Hi, I'm very interested in helping out with the grub project, but I

don't

Quoted 1 line

know where to begin! I've been interested in the project for a long

time,

Quoted 1 line

but I try to respect people's time and I don't like to ask stupid

questions

Quoted 1 line

until I've searched hard for the answers by myself. I've tried very

hard to

Quoted 1 line

find good documentation for GRUB, but, erm......all of the decent

tutorials

Quoted 1 line

out there are incomplete at best, and many of them make too many

assumptions

Quoted 2 lines

to be very helpful. I've read many tutorials but it seems like each one conflicts with the others.

I assume you are wanting to help with GRUB 2.

Well we have wiki.

http://grub.enbug.org/
http://grub.enbug.org/ContributingChangesToGrub

This is supposed to be central point for developer oriented information. There are parts that are outdated. So if you see something weird or would like to know something better, please ask so we can improve the wiki.

Quoted 1 line

First of all, I'm having trouble even understanding the grub

architecture,

Quoted 1 line

and most of that is because I am constantly seeing conflicting

information

Quoted 1 line

all over the internet due to the common fact that many people are

ambiguous

Quoted 1 line

with which branch of grub they are referring to. Also, there seems to be

a

Quoted 1 line

plague of broken and outdated links.

For GRUB 2 there exists only one official development branch (there are others but basically we want to keep it as one branch). Idea for GRUB 2 is to promote other people to contribute patches to upstream.

Quoted 1 line

In general, though, I've found that grub is extremely underdocumented;

but

Quoted 1 line

of the reading material which I have found to be at all helpful, there

is a

Quoted 1 line

MAJOR tendency to overcomplicate things. I have a background in C and

x86

Quoted 2 lines

assembly programming, and have had my fair share of device driving programming. I enjoy helping others track down bugs in their code, and

I

Quoted 4 lines

love writing idiot-proof tutorials (being the idiot that I am).

I'm not afraid to sit down and read thousands of lines of code if that's what it takes to be up to date with the project. I just want to make

sure

Quoted 1 line

I'm not headed in the wrong direction or anything.

Ask what you want to know :)

Quoted 1 line

I remember reading a LONG time ago that the ETA for GRUB-2.0 was

"November

Quoted 2 lines

2008," and so I expected to start seeing a lot more tutorials devoted to helping people prepare for it, but this hasn't happened as quickly as

I'd

Quoted 1 line

hoped. So I figured I would try to delve into the project and see

what's

Quoted 1 line

REALLY going on.

I would assume 2006 but hey :). So basically there are things to be done. There are different roles of developers. Some of them are developing specific features, and some of them are trying to catch up with features of GRUB legacy, and some just trying to follow the "roadmap" for GRUB 2. Which is kinda zapped at this time.

Keypoint here is, what are your interests? What do you want to work on.

Some pointers that we see missing:

https://savannah.gnu.org/task/?group=grub
http://grub.enbug.org/TodoList

Oh.. before you start coding. Better start discussion on this list because there might be others working on the same thing, or there might be some ideas from long term developers how it should be made.

Quoted 1 line

I've only been using linux for a little over a year, and before that was

a

Quoted 1 line

windows programmer (yes, I'm ashamed of my past), so I know I won't be

much

Quoted 1 line

help as far as programming anything useful anytime soon. I can,

however,

Quoted 1 line

offer to seek and hunt down typos or inconsistencies in the code

comments,

Quoted 3 lines

that is unless the grub team is against that idea. I think proper documentation is the key to any project's long term survival, and I take comments seriously and expect them to be unambiguous and at the same

time

Quoted 1 line

not superfluous.

Don't be shamed by your past. It is good to have variable development background.

Documentation for GRUB 2 is missing so I have nothing against updating that one.

However just walking the source code and trying to understand everything
might be boring task. So I would prefer that take some of the bugs and
see how they work (or why they wont) and then discuss it. Please skip bug reports about GRUB legacy and look at GRUB 2 issues if you go that path.

https://savannah.gnu.org/bugs/?group=grub

Thanks,
Vesa Jääskeläinen

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#4 lore raw

Hi Jay,

After make install , you may proceed with grub-install "boot disk" and then do update grub so as to update the files in /boot/grub in accordance with grub2.

grub-install will change the /usr/local/bin/grub and other binaries to grub2.

Regards,

Viswesh

________________________________
From: Jay Sullivan <[email protected]>
To: The development of GRUB 2 <[email protected]>
Sent: Tuesday, 2 December, 2008 8:49:45 PM
Subject: Re: I'm a newb, looking for guidance

Okay! I realized now that I would like to install the newest version of grub2 to a USB drive.  Can anyone recommend to me the best way to do this?  This seems like a good idea since if it fails to boot, I can easily fallback to my harddrive's bootloader.

I'd like to point out that I'm currently having trouble getting started with grub2 development.  The reason is that I currently have grub-legacy installed to my system, and I can't figure out how to get grub2 working properly and I have a feeling that they are conflicting.  I have downloaded GRUB-1.96, and configured and successfully ran makefile, but if I run make-install will I overwrite grub-legacy? If not, how can I access the grub2 shell?  I've attempted to install it but /usr/local/bin/grub still holds grub-legacy.  Do I chainload core.img? Am I doing this whole thing wrong?  Thanks and I'm sorry if I'm asking stupid questions =)

On Mon, Dec 1, 2008 at 3:31 AM, Jay Sullivan <[email protected]> wrote:

Thank you for responding in such detail, it helps a lot.
Right now I'm not sure what I'm interested in -- I'm interested in everything.
I'm going to try to install the current svn of grub2 to an test computer that I have, and see what works and what doesn't.

On Sun, Nov 30, 2008 at 5:29 AM, Vesa Jääskeläinen <[email protected]> wrote:

Hi Jay,

Welcome on the board!

Quoted 8 lines · Jay Sullivan

Hi, I'm very interested in helping out with the grub project, but I don't know where to begin!  I've been interested in the project for a long time, but I try to respect people's time and I don't like to ask stupid questions until I've searched hard for the answers by myself.  I've tried very hard to find good documentation for GRUB, but, erm......all of the decent tutorials out there are incomplete at best, and many of them make too many assumptions to be very helpful.  I've read many tutorials but it seems like each one conflicts with the others.

I assume you are wanting to help with GRUB 2.

Well we have wiki.

http://grub.enbug.org/
http://grub.enbug.org/ContributingChangesToGrub

This is supposed to be central point for developer oriented information. There are parts that are outdated. So if you see something weird or would like to know something better, please ask so we can improve the wiki.

Quoted 5 lines

First of all, I'm having trouble even understanding the grub architecture, and most of that is because I am constantly seeing conflicting information all over the internet due to the common fact that many people are ambiguous with which branch of grub they are referring to. Also, there seems to be a plague of broken and outdated links.

For GRUB 2 there exists only one official development branch (there are others but basically we want to keep it as one branch). Idea for GRUB 2 is to promote other people to contribute patches to upstream.

Quoted 10 lines

In general, though, I've found that grub is extremely underdocumented; but of the reading material which I have found to be at all helpful, there is a MAJOR tendency to overcomplicate things.  I have a background in C and x86 assembly programming, and have had my fair share of device driving programming.  I enjoy helping others track down bugs in their code, and I love writing idiot-proof tutorials (being the idiot that I am).

I'm not afraid to sit down and read thousands of lines of code if that's what it takes to be up to date with the project. I just want to make sure I'm not headed in the wrong direction or anything.

Ask what you want to know :)

Quoted 5 lines

I remember reading a LONG time ago that the ETA for GRUB-2.0 was "November 2008," and so I expected to start seeing a lot more tutorials devoted to helping people prepare for it, but this hasn't happened as quickly as I'd hoped.  So I figured I would try to delve into the project and see what's REALLY going on.

I would assume 2006 but hey :). So basically there are things to be done. There are different roles of developers. Some of them are developing specific features, and some of them are trying to catch up with features of GRUB legacy, and some just trying to follow the "roadmap" for GRUB 2. Which is kinda zapped at this time.

Keypoint here is, what are your interests? What do you want to work on.

Some pointers that we see missing:

https://savannah.gnu.org/task/?group=grub
http://grub.enbug.org/TodoList

Oh.. before you start coding. Better start discussion on this list because there might be others working on the same thing, or there might be some ideas from long term developers how it should be made.

Quoted 8 lines

I've only been using linux for a little over a year, and before that was a windows programmer (yes, I'm ashamed of my past), so I know I won't be much help as far as programming anything useful anytime soon.  I can, however, offer to seek and hunt down typos or inconsistencies in the code comments, that is unless the grub team is against that idea.  I think proper documentation is the key to any project's long term survival, and I take comments seriously and expect them to be unambiguous and at the same time not superfluous.

Don't be shamed by your past. It is good to have variable development background.

Documentation for GRUB 2 is missing so I have nothing against updating that one.

However just walking the source code and trying to understand everything might be boring task. So I would prefer that take some of the bugs and see how they work (or why they wont) and then discuss it. Please skip bug reports about GRUB legacy and look at GRUB 2 issues if you go that path.

https://savannah.gnu.org/bugs/?group=grub

Thanks,
Vesa Jääskeläinen

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

#5 lore raw
In reply to Jay Sullivan
Quoted 5 lines · Jay Sullivan

Okay! I realized now that I would like to install the newest version of grub2 to a USB drive. Can anyone recommend to me the best way to do this? This seems like a good idea since if it fails to boot, I can easily fallback to my harddrive's bootloader.

Quoted 9 lines

I'd like to point out that I'm currently having trouble getting started with grub2 development. The reason is that I currently have grub-legacy installed to my system, and I can't figure out how to get grub2 working properly and I have a feeling that they are conflicting. I have downloaded GRUB-1.96, and configured and successfully ran makefile, but if I run make-install will I overwrite grub-legacy? If not, how can I access the grub2 shell? I've attempted to install it but /usr/local/bin/grub still holds grub-legacy. Do I chainload core.img? Am I doing this whole thing wrong? Thanks and I'm sorry if I'm asking stupid questions =)

These might help you:
http://grub.enbug.org/TestingOnX86
http://grub.enbug.org/UseCases/Ubuntu

On first url there is example how to boot grub 2 from grub legacy.