LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   building GRUB (or anything else) (https://www.linuxquestions.org/questions/linux-newbie-8/building-grub-or-anything-else-506198/)

vic11r 11-30-2006 07:20 AM

building GRUB (or anything else)
 
Well, probably, it's a simple question.
I downloaded GRUB 1.95 source code and wanted to build it. In INSTALL, there is a note that it requires certain components.
Okay, I have RHEL v4 fully installed, but do not know what I have and what I don't have.
So I tried to run configure, and it required some LZ0 library (version 1.05 or above).
Would anyone tell where I can get it. Or where can I get a fully built working GRUB 1.95?
And if I get that library, how many more will I have to search for to get configure working? And where to look for them?
And why at gnu.org they only got the source code version?

acid_kewpie 11-30-2006 07:27 AM

you already HAVE grub working just fine. you couldn't be *in* rhel4 if you didn't as it is it's default boot loader.

if you're just getting used to linux you should not need to compile *ANYTHING*. if you think you do, chance are you're reading the wrong information.

mufy 11-30-2006 07:35 AM

Hey dude,

Why do you want to build a GRUB in the first place? It comes by default. There is absolutely no head-banging you need to do, but you do need to install Linux with the most common options of course.

The Grand Unified Boot-loader (GRUB) is the first screen that you encounter with line like:

Red Hat Enterprise Linux 4 2.6.9-22 (or something like that - varies from distros-to-distros).

So don't lose sleep on that, okay dude :-)!

pixellany 11-30-2006 09:58 AM

OP wants to install the **newest** GRUB---What will become version 2.
(With v. 1 stuck at 0.97 for past umpteen years, do we believe that 2.0 will ever happen?...sorry, mind wandering.)

To the original question:
  • If you search in Google using the exact name of the missing library, you should find it.
  • No guarantee how many libraries you will have to hunt for--expecially using a relatively old distro.
  • Pre-built binary---search Google
  • Why doesn't GNU release binaries---Still in development??

acid_kewpie 11-30-2006 10:12 AM

Quote:

Originally Posted by pixellany
OP wants to install the **newest** GRUB---What will become version 2.

I don't think so, i think it's more a case of confusino and misinformation.

vic11r 12-01-2006 06:15 AM

Allright, I see I'm not doing the right thing.
I liked GRUB so much (after working with other boorloaders) that I wanted to install the latest version. I misunderstood the fact that 1.95 is just a pre-release/unstable/in_whatever_else_way_unready version.
So I'll finish wasting time and use my GRUB 0.95.

Sorry, I confused LZO(-o) with LZ0(-zero) and therefore was unable to google the LZO library.

saikee 12-01-2006 07:22 PM

I have once built Grub 0.97 into every BSD I could lay my hand on.

It is a 10 minutes job by following Appendix A of the Grub Manual. Think there are only 4 to 5 lines of terminal commands to type.

Personally I couldn't name any improvement 0.97 Grub may need apart from the recognition of USB devices.

The last task I set for Grub was to boot 2 Vista without the need to install a Linux and it passed with flying colour.


All times are GMT -5. The time now is 06:01 PM.