Getting an error while compiling grub
I'm trying to make a very minimal linux system for myself.
I get an error while trying to compile grub. The same happens for both versions 0.95 and 0.96. I'm using the linux from scratch live cd as a host enviroment. http://www.linuxfromscratch.org/livecd/ I'm afraid I have no idea where to start with this one. Thanks for your help ./configure --prefix=/hd/usr Code:
checking for a BSD-compatible install... /usr/bin/install -c Code:
make all-recursive |
you do not need to compile grub again.....just pinch a few files from a distro including a live cd.......it will depend on whether your kernel has inbuilt support or module support for certain formats.
so copy stage 1, stage 2 and most likely e2 if you are going mini and the executable grub off your cd or current system to install onto your hard drive use the command find / -name grub to find your executable and lib files off the cd etc then use a live cd to embed grub into mbr or your new partition. my signature has info on stuff if you do not know it. good luck |
Rpmbuild and compiling grub-0.97-13.src.rpm
Quote:
[Not talking about aus9] From what i can gather, Grub devs aren't the most accomodating. I wanted to contribute to Grub years ago, but was told to direct development into grub-2. Yeah, right. 5(?) years later and still never hear of grub-2. What's the story behind grub's development ? ~I'd~ love to be able to compile Grub with Graphical support. I have a couple of my own grub patches that i'd like to apply to fedora 7's grub.. Below is my problem. ...I'll take this forum home and see if i can help out Couling. Code:
Rpmbuild and compiling grub-0.97-13.src.rpm with graphics/splash support |
a long time ago, I discovered, even tho I am not a programmer that it was the stage 2 that gave splashimage support.
http://www.linuxquestions.org/questi...part-a-230389/ http://www.linuxquestions.org/questi...rt-two-230513/ sorry to patronise you..I thought you were just trying something too hard when there was an easier solution. Let me know how you go, I use Mdv but will do anything to help where I can. |
aus9, your comment got me wondering... if my distro wont compile grub, what version is installed on it: 0.97.
This made me realise there was a 0.97! Not sure why I missed it on the FTP site the first time, but it does compile. I can only assume that previous versions were written for earlier compiler versions. Thanks (and sorry to waste your time) |
Move along people, nothing to see
Yeah, grub-0.96 needs gcc 3.4 to compile, but grub-0.97 works fine with modern gcc-4. If you do have an older GCC handy you can (for example, if you had gcc-3.4 installed)
Code:
./configure --prefix=/hd/usr CC=gcc34 && make |
All times are GMT -5. The time now is 07:52 AM. |