This is a discussion on Grub Install problem within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi. I'm running a new system with a fresh install of FreeBSD 5.2.1 on i386, with GCC 3.3.3 and ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi. I'm running a new system with a fresh install of FreeBSD 5.2.1 on i386, with GCC 3.3.3 and have been trying to install the GRUB 0.94 boot loader. Got the .tar.gz file, untarred it, and ran the configure script from the grub-0.94 directory with no special options. Typed make and ran into a message saying couldn't compile stage1. I looked around at all the makefiles in the directories (stage1, stage2, utils, docs, grub) and did make and then make install in each dir. After doing this in the grub directory, I could run the grub program, and after going this in the docs directory I could run man pages, and after make and make install in the utils directory I could (try) and run grub-install and grub-terminfo, meaning these programs and docs compiled nicley. It's the stage1 and 2 directories that are giving me problems. After typing just make (not make install) at the base (grub-0.94) directory make gives a message: don't know how to make stage1. Stop. I go into the stage1 directory and try make there with the exact same message: don't know how to make stage1. Stop. I go into the stage2 directory and try make there and make says: don't know how to make pre_stage2. Stop. I try to install grub nonetheless and after running grub-install /dev/ad0a1a (the partision I want grub on) I get the message: /usr/local/share/grub/i386-unknown/stage1: Not found. Needless to say, no luck installing grub. I have tried make clean in all the directories, and tried again with no avial. The man pages and online docs were not helpful in this regard (although they were in other times I've used grub). My guess is, once the pre_stage2 compiles, stage1 will compile, and the stage1 file will be found by the grub installer? How can I get this pre stage 2 to compile, what am I missing? Am I doing something wrong? I am not a developer, but did peek in the makefiles, configure scripts, and installer scripts and did not find anything strange. How can I install grub? TIA, ShadowEyez |
| ||||
| On Sat, 10 Apr 2004 17:23:42 +0000, ShadowEyez wrote: > Hi. > I'm running a new system with a fresh install of FreeBSD 5.2.1 on i386, with > GCC 3.3.3 and have been trying to install the GRUB 0.94 boot loader. > Got the .tar.gz file, untarred it, and ran the configure script from the > grub-0.94 directory with no special options. Typed make and ran into a > message saying couldn't compile stage1. I looked around at all the > makefiles in the directories (stage1, stage2, utils, docs, grub) and did > make and then make install in each dir. > > What for? This isn't in any README I've seen. Make is run at the top level only. If something fails along the way, trace down the error message. > > After doing this in the grub > directory, I could run the grub program, and after going this in the > docs directory I could run man pages, and after make and make install in > the utils directory I could (try) and run grub-install and > grub-terminfo, meaning these programs and docs compiled nicley. It's > the stage1 and 2 directories that are giving me problems. > > After typing just make (not make install) at the base (grub-0.94) > directory make gives a message: don't know how to make stage1. Stop. I > go into the stage1 directory and try make there with the exact same > message: don't know how to make stage1. Stop. I go into the stage2 > directory and try make there and make says: don't know how to make > pre_stage2. Stop. > > I try to install grub nonetheless and after running grub-install > /dev/ad0a1a (the partision I want grub on) I get the message: > /usr/local/share/grub/i386-unknown/stage1: Not found. Needless to say, > no luck installing grub. I have tried make clean in all the > directories, and tried again with no avial. The man pages and online > docs were not helpful in this regard (although they were in other times > I've used grub). My guess is, once the pre_stage2 compiles, stage1 will > compile, and the stage1 file will be found by the grub installer? How > can I get this pre stage 2 to compile, what am I missing? Am I doing > something wrong? I am not a developer, but did peek in the makefiles, > configure scripts, and installer scripts and did not find anything > strange. > > How can I install grub? > > TIA, > ShadowEyez > Caveat: I am not running FreeBSD. Notice part of my response above. Are you compiling this under FreeBSD? Because this is comp.os.linux.setup can you boot into gnu/linux? I just downloaded 0.94 and compiled it using gcc 3.3.3. As root, I did this (after unpacking the archive, ftp://alpha.gnu.org/gnu/grub/grub-0.94.tar.gz ): bash# cd /usr/src/grub-0.94 bash# ./configure bash# make bash# make install bash# cd /boot/grub bash# cp /usr/local/share/grub/i386-pc/* . bash# grub grub> root (hd0,1) grub> setup (hd0) grub> quit bash# No errors were reported. Notice: parameters used within grub shell are system dependant. -- This crowd has gone deadly silent, a Cinderella story outta nowhere. Former greenskeeper and now about to become the Masters Champion. Just a cinderella boy... http://us.imdb.com/title/tt0080487/quotes |