Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-18-2003, 12:12 AM
|
#1
|
Member
Registered: Dec 2002
Location: Ellensburg, WA
Distribution: Sabayon Linux 3.5
Posts: 48
Rep:
|
Gentoo 1.4 x86 grub install problems
I spent the day installing then reinstalling Gentoo 1.4 x86 20030807
ultimately upon reboot, I found the error message 15 file not found.
I installed the 2.4.20-r3 kernel.
The mobo is an abit be6-ii.
The partition table is /dev/hda1 /boot 250 mb
/dev/hda2 /swap 1000 mb
/dev/hda3 /reiserfs 5000 mb
I followed all of the installation notes to the letter. This machine is linux only, I wanted to avoid any dual booting issues.
Code listing 23.2: GRUB on the MBR
grub> root (hd0,0) (Your boot partition)
grub> setup (hd0) (Where the boot record is installed; here, it is the MBR)
here's the grub.conf:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux (genkernel)
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.4.20-r3 root=/dev/hda3
initrd (hd0,0)/boot/initrd-2.4.20-r3
I used all grp packages. This distro was released about ten days before this posting.
This whole mess seems very familiar since I came across the same problem about four months ago with the april release of gentoo. The grp seemed to help since I could install without downloading new packages. But alas I could not get it to boot.
Help.
Please.
|
|
|
08-18-2003, 12:26 AM
|
#2
|
Member
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86
Rep:
|
There's nothing obviously syntatically wrong with that boot code but I'd just check to make sure your kernel version is perfect. Did you use genkernel to build it? I remember the default kernel (gentoo sources) being 2.20.9-r5-gentoo but I'm sure you compiled it differently. That seems like the only thing it could be.
|
|
|
08-18-2003, 07:05 PM
|
#3
|
Member
Registered: Dec 2002
Location: Ellensburg, WA
Distribution: Sabayon Linux 3.5
Posts: 48
Original Poster
Rep:
|
I used genkernel and built the gaming kernel. 2.4.20-r3. Except I didn't emerge sync or have the machine networked while installing.
|
|
|
08-18-2003, 08:59 PM
|
#4
|
Member
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86
Rep:
|
If you built the gaming kernel you may want to try using
kernel-2.4.20-gaming-r3
and
initrd-2.4.20-gaming-r3
It may not work but it is worth a shot. Gentoo names the kernels with kernelnum-sourcetype-rX.
|
|
|
08-18-2003, 11:18 PM
|
#5
|
Member
Registered: Dec 2002
Location: Ellensburg, WA
Distribution: Sabayon Linux 3.5
Posts: 48
Original Poster
Rep:
|
I tried that, it seems that I overlooked it in my previous attempts. Perhaps my kernel install was botched, I pointed the bootloader to the kernel, alas error 15 pops up again. Also the compilation process popped up some errors, and warninig messages. Thanks for holding my hand folks, this is going to take some time.
|
|
|
08-18-2003, 11:23 PM
|
#6
|
Member
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86
Rep:
|
Ok, well the quick fixes don't look like they're going to work.
Let's have a look at what's in your boot folder first.
Boot gentoolive
mkdir /mnt/linux
mount /dev/hdXY /mnt/linux
cd mnt
cd linux
cd boot
ls
What do we got?
|
|
|
08-19-2003, 02:18 AM
|
#7
|
Member
Registered: Aug 2003
Location: Los Angeles
Distribution: gentoo
Posts: 52
Rep:
|
I'm almost certain that the error is in grub.conf. I had the same problem last time I installed gentoo and fixed it, but I can't remember what I did...
Stupid question. You're sure that's the name of your kernel? If you're following the install directions exactly it would be:
kernel (hd0,0)/boot/bzImage root=/dev/hda3
probably this isn't the case, but...
|
|
|
08-19-2003, 08:27 PM
|
#8
|
Member
Registered: Dec 2002
Location: Ellensburg, WA
Distribution: Sabayon Linux 3.5
Posts: 48
Original Poster
Rep:
|
After following instructions above, /mnt/boot has 0 files.
here's the install docs from the gentoo website, kernel instructions and all.
Settings:
compile optimization: 1 processor(s)
source tree: /usr/src/linux-2.4.20-gaming-r3
config: gentoo (customized)
config loc: /etc/kernels/config-2.4.20-gaming-r3
initrd config: (default) /etc/kernels/settings
* Running "make oldconfig"... [ ok ]
* Logging to /var/log/genkernel.log... [ ok ]
* Starting 2.4.20-gaming-r3 build... [ ok ]
* Running "make dep"... [ ok ]
* Running "make bzImage"... [ ok ]
* Running "make modules"... [ ok ]
* Running "make modules_install"... [ ok ]
* Moving bzImage to /boot/kernel-2.4.20-gaming-r3... [ ok ]
* Building busybox... [ ok ]
* Creating initrd... [ ok ]
* Build completed successfully!
* Please specify /boot/kernel-2.4.20-gaming-r3 and /boot/initrd-2.4.20-gaming-r3
* when customizing your boot loader configuration files.
this is also what printed on the screen after compiling the kernel.
|
|
|
08-19-2003, 11:41 PM
|
#9
|
Member
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86
Rep:
|
Ok well you defeinitely need to have the "gaming" in there from now on, but you said it still didn't work like that, right?
Also a revision to my instructions above, I didn't realize that you had an extra boot partition. So just trying mounting /dev/hda1 if you haven't already. Also remember that the way grub sees partition numbers starts indexing at 0, where the /dev method starts indexing at 1.
|
|
|
08-19-2003, 11:46 PM
|
#10
|
Member
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86
Rep:
|
Here is just a boot block of what your linux part should look like in grub.conf:
title=Gentoo Linux (genkernel)
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.4.20-gaming-r3 root=/dev/hda3
initrd (hd0,0)/boot/initrd-2.4.20-gaming-r3
This block assumes that your have a seperate boot partiton at /dev/hda1, a Probably swap partition at /dev/hda2 and definitely a main partition at /dev/hda3. If this is all correct and you have correctly generated the kernel I really don't see the problem.
|
|
|
08-20-2003, 06:58 PM
|
#11
|
Member
Registered: Dec 2002
Location: Ellensburg, WA
Distribution: Sabayon Linux 3.5
Posts: 48
Original Poster
Rep:
|
It looks as thoug I made a syntax error after all. kernel-2.4.-20-gaming-r3 instead of kernel-2.4.20gaming-r3. Dumb a** newbies anyway,huh?
|
|
|
08-20-2003, 06:59 PM
|
#12
|
Member
Registered: Dec 2002
Location: Ellensburg, WA
Distribution: Sabayon Linux 3.5
Posts: 48
Original Poster
Rep:
|
Also nothing but love for you all for helping me, holding my hand and all.
|
|
|
All times are GMT -5. The time now is 11:39 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
|
|