Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-26-2009, 03:33 PM
|
#1
|
|
Member
Registered: Mar 2009
Location: Hong Kong
Distribution: Fedora
Posts: 184
Rep:
|
Is there a way to compile Grub (1.96) on a x86_64-system?
As the title says I am trying to compile Grub 1.96 on a x86_64 system.
There is some compilation-problem and from what I read something expects to be compiled 32-bit.
Can't provide the actual error right now, but in a few hours the system should be finished compiling and then I can test and post the error if necessary.
So, does anybody here know if there is a way to compile Grub? The system is a pure 64-bit system, not multi-lib.
|
|
|
|
03-27-2009, 01:24 AM
|
#2
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,965
|
If you mean 0.96, then nope. You can only compile it as a 32 bits program. Hence, you can compile it on an x86_64 system, but only if you have all the needed libs for 32 bits. The headers will be the same though, so no problem in that department. Gentoo does this.
However, is there a reason why you do really need to install it on the system? You can just install it on the boot sector using a livecd and forget about it. Unlike with lilo, you don't need to run grub each time that you modify your grub.conf, so once installed you can just forget about it.
If you truly mean 1.96 (what's to be grub2 one day), then I have no idea, but I thought that one of the advantages of grub2 was that it compiled in many architectures, and not only x86. So my guess is that it should work in amd64.
Last edited by i92guboj; 03-27-2009 at 01:27 AM.
|
|
|
|
03-27-2009, 04:41 AM
|
#3
|
|
Member
Registered: Mar 2009
Location: Hong Kong
Distribution: Fedora
Posts: 184
Original Poster
Rep:
|
Yes, I really mean 1.96, the version that some day in a distant future is supposed to turn become Grub2.
Thing is that I am working on a LFS-based distro which is installed by a pile of shell-scripts. I already have Lilo in there, but wanted to offer Grub as an alternative.
I'm not even sure anymore why I actually decided to use 1.96. I think it wasn't just to have the latest version, I think it was something about filesystem-support.
My system is finally done now, so I can test around and see what I can do about this problem, and two problems I just ran into on this last test, but these I don't really worry about. The only thing giving me a headache is Grub.
Maybe I'll try it the "Lilo-way", using the Bin86-package to compile the parts which have to be 32-bit.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:45 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|