LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-07-2006, 02:09 PM   #1
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Rep: Reputation: 31
Grub Guru's advise needed to install Gentoo???


after several days of installing gentoo, i've come to a sudden stop. I have followed the installation docs at www.gentoo.org to the letter and still im not able to boot. everytime i boot i get error15: file not found.

i have 250gb SATA drive and created the following the partitions

/sda1 /boot
/sda2 /swap
/sda3 /root
/sda4 /home

here is my grub.conf file:

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

Title=Gentoo Linux 2.6.14
root (hd0,0)
kernel /boot/kernel-2.6.14-gentoo-r5 root=/dev/sda3 vga=0x318 video=vesafb:mtrr,ywrap or video=vesafb:mtrr,ywrap,1024x768-32@85

cd /boot
ls
bzImage config-2.6.14-gentoo-r5 grub kernel-2.6.14-gentoo-r5 lost+found

i have tried everything possible, i've googled for error15: file not found and tried the suggested solutions to no avail. i really want to test gentoo, but im beginning to get alittle frustrated. if anyone can think of anything, i will appreciated. also, if you need any additional info, please let me know
 
Old 01-07-2006, 02:31 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Don't let the boot loader dictate whether you can use your OS or not

Feel free to use Lilo. It may feel archaic at first, but it's simplicity helps when Grub just confuses you.

If you really want to troubleshoot this:
When you boot the live-CD and chroot into your new install (after doing all the preliminary steps) what happens when you run:
grub-install

Do you get any errors, if so, what are they?

I run a pretty un-sliced setup, and my grub.conf works, so it might be something to do with where /boot is living and what you are specifying for your root line. Something to note is that your filesystems aren't mounted according to /etc/fstab at the point that Grub is trying to load your kernel; so your root (hd0,0) line may be the culprit here.

Cool
 
Old 01-07-2006, 04:39 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You could try changing the kernel line from:

kernel /boot/kernel-2.6.14-gentoo-r5

to

kernel (hd0,0)/kernel-2.6.14-gentoo-r5

That's how SuSE sets it up. Don't know if it will make a differenct. But it's worth a try.
 
Old 01-07-2006, 04:46 PM   #4
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
thanks for the reply, i've already done grub-install, and there were no errors. i installed grub because it was listed on the installation manual, but maybe i'll try lilo. do you think if i install lilo without removing grub, it will create a problem? about the fstab, i didnt understand what you said. here is my fstab

/dev/sda1 /boot ext2 noauto,noatime
/dev/sda3 /root ext3 noatime
/dev/sda4 /home ext3 noatime
/dev/sda2 none swap sw
/dev/fd0 mnt/floppy iso9660 noauto,ro

none /proc proc defaults
none /dev/shm tmpfs defaults

hope this helps
 
Old 01-07-2006, 04:49 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
/etc/fstab is a file on the filesystem. The filesystem is not mounted when Grub is trying to load a kernel, so it doesn't know if /boot is on a seperate partition (so you have to tell it exactly what partition your kernel lives on and in what directory, which is done with kernel (hd0,0) but might be different with your partition layout).

You can safely have both lilo and grub co-existing, but it's better to just choose 1. Once you run /sbin/lilo (after editing your /etc/lilo.conf) you will install Lilo into your MBR, overwriting grub.

Cool
 
Old 01-07-2006, 07:54 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
How about putting a # infront of this fellow to disable it. It simplfies the matter a bit.
Code:
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
The other possibility is the complicated parameters passed at kernel boot time. I would simplify it with this modification (in red and blue)


Code:
Title=Gentoo Linux 2.6.14
root (hd0,0)
#kernel /boot/kernel-2.6.14-gentoo-r5 root=/dev/sda3 vga=0x318 video=vesafb:mtrr,ywrap or video=vesafb:mtrr,ywrap,1024x768-32@85
kernel /boot/kernel-2.6.14-gentoo-r5 ro root=/dev/sda3
worth a try.

I don't have a problem with Lilo and has used it to boot its maximum of 27 systems. However I know Grub is pretty reliable and much simpler to work with than Lilo, as it is booting over 100 systems for me in the box.

Last edited by saikee; 01-07-2006 at 07:55 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install rpm on gentoo, /bin/sh needed aeruzcar Linux - Software 3 06-15-2005 12:42 PM
Advise needed for installing Linux with ASRock P4S61 alxwind Linux - Hardware 0 02-21-2005 03:21 PM
Kernel upgrade error advise needed andy18 Linux - Newbie 14 08-27-2004 12:44 PM
Laptop kernel recompile, attempt #2. Guru advise needed please.. Pcghost Linux - General 3 04-10-2003 05:15 PM
Internet cafe set-up advise needed synfield Linux - Networking 3 03-25-2003 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration