LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-12-2004, 08:14 AM   #1
n5k
LQ Newbie
 
Registered: Mar 2004
Location: Sandnes, Norway
Distribution: Gentoo
Posts: 9

Rep: Reputation: 0
Problems with Gentoo install/grub/boot


I've just installed Gentoo 2004.0 (with the 2.6.3 kernel), but I'm experiencing some problems:
I got the error that devfs wasn't supported, so I did the following:

# cd /usr/src/linux
# make menuconfig

- enabled the devfs support and the "mount at boot" option and exited and saved

# make install
# cp arch/i386/boot/bzImage /boot/linux-2.6.3

Then I edited Grub, to match the kernel. Here's my grub.conf:

default 0
timeout 15
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2004.0
root (hd0,0)
kernel (hd0,0)/linux-2.6.3 root=/dev/hda3

This file is exactly the same as the one I had before, only I changed the last line to match with the name of my new kernel.

Now...when I boot, I get the error "file not found" for the kernel (after I've pressed <enter> in Grub.

What can I do about this?

I've checked that the file (linux-2.6.3) exists in /boot

(please keep in mind that I am a n00b when you explain )
 
Old 03-12-2004, 08:28 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
double check the spelling
or you can do this: when you're in the grub menu type 'c' to get a prompt, enter
Code:
GRUB> root (hd0,0)
GRUB> kernel / <tab>
that should give you a list of files it can see
 
Old 03-12-2004, 08:32 AM   #3
n5k
LQ Newbie
 
Registered: Mar 2004
Location: Sandnes, Norway
Distribution: Gentoo
Posts: 9

Original Poster
Rep: Reputation: 0
It can't see the new kernel...only the first one, where the devfs isn't supported...
 
Old 03-12-2004, 09:03 AM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
then copy it again, make sure you copy it to the right place
 
Old 03-12-2004, 09:08 AM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Also, make sure that /boot is mounted when you copy the new kernel to that location!

Since the default in Gentoo is not to mount /boot at startup it is possible to actually copy the kernel image to /boot when it isn't mounted - effectively copying it to the / file system instead to the /boot filesystem.


Håkan
 
Old 03-12-2004, 09:29 AM   #6
n5k
LQ Newbie
 
Registered: Mar 2004
Location: Sandnes, Norway
Distribution: Gentoo
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks!

The problem were the mounting.
I've been so stressed and trying - rebooting - trying - rebooting over and over again, and didn't think of the mounting

Now...the big X...hehe...you'll probably hear from me again
 
  


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
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 04:50 PM
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 06:25 AM
Gentoo Error can't boot with Grub therapture Linux - Distributions 4 02-14-2005 11:07 AM
Gentoo 1.4 x86 grub install problems Joe_Bogarde Linux - Newbie 11 08-20-2003 05:59 PM

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

All times are GMT -5. The time now is 11:13 PM.

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