Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB is a LIAR!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
robicorp
n00b
n00b


Joined: 27 Mar 2005
Posts: 4

PostPosted: Sun Mar 27, 2005 10:34 am    Post subject: GRUB is a LIAR!! Reply with quote

Hi, my name is Bill and I'm a soon-to-be alcoholic.

My addiction started when after spending hours setting up and compiling Gentoo, after trying to boot in for the first time GRUB says:

Error 15: file not found.

Now I know what you're going to say: "you didn't copy the kernel to /boot" or "your spelling is incorrect"

I'd appreciate those kinds of helpful comments but they would be wrong because:

boot # ls
System.map-2.6.9-gentoo-r1
initrd-2.6.9-gentoo-r1
kernel-2.6.9-gentoo-r1
boot

and my grub.conf looks like this:

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6
root (hd0,0)
kernel /kernel-2.6.9-gentoo-r1 root=/dev/hda3 video=vesafb:mtrr,ywrap,800x600-15@60

That video stuff is probably wrong but let's concentrate on the kernel.
At the GRUB prompt I've tried every combination of (hd0,0), (hd0,2), kernel /, kernel /boot/, etc.
Tab completion recognizes fd0 and hd0 as well as hd0,0 hd0,1 hd0,2 but for kernel / and kernel /boot/
all it returns is lost+found .keep boot grub. And no, kernel /boot/boot/ doesn't work either.

So let's check off our list, shall we:
Is the kernel in /boot - YES
Is the kernel spelled correctly - YES

Is the whisky bottle half full or half empty... hmmm?
Back to top
View user's profile Send private message
KeKen
n00b
n00b


Joined: 22 Feb 2004
Posts: 21
Location: Almere, NL

PostPosted: Sun Mar 27, 2005 10:39 am    Post subject: Reply with quote

Quote:
boot # ls
System.map-2.6.9-gentoo-r1 initrd-2.6.9-gentoo-r1
boot kernel-2.6.9-getnoo-r1


still looks like wrong spelling to me mate :(

since

Quote:
kernel /kernel-2.6.9-gentoo-r1 root=/dev/hda3 video=vesafb:mtrr,ywrap,800x600-15@60


hence the 'getnoo - gentoo'
_________________
~amd64 | CK-Sources 2.6.9-r2 | udev | gcc 3.4 | x.org 6.8.0 | gnome 2.8
Back to top
View user's profile Send private message
robicorp
n00b
n00b


Joined: 27 Mar 2005
Posts: 4

PostPosted: Sun Mar 27, 2005 10:41 am    Post subject: Reply with quote

No, that's a typo.

I edited it in my original post.

But you get points for trying.
Back to top
View user's profile Send private message
KeKen
n00b
n00b


Joined: 22 Feb 2004
Posts: 21
Location: Almere, NL

PostPosted: Sun Mar 27, 2005 10:58 am    Post subject: Reply with quote

lol, thx :)

oh well, it was worth a try ;)

maybe you can post your fstab?
_________________
~amd64 | CK-Sources 2.6.9-r2 | udev | gcc 3.4 | x.org 6.8.0 | gnome 2.8
Back to top
View user's profile Send private message
SimonKellett
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 88
Location: Darmstadt, Germany

PostPosted: Sun Mar 27, 2005 10:58 am    Post subject: Reply with quote

Does the splash screen show ?

Can you use the grub command line ?: if yes then try using the auto-complete (eg hit root (h<TAB> to see what Grub can find).
Back to top
View user's profile Send private message
martoni
Apprentice
Apprentice


Joined: 16 Jan 2004
Posts: 244
Location: Tyresö, Sweden

PostPosted: Sun Mar 27, 2005 11:00 am    Post subject: Reply with quote

I've got
Quote:

kernel=(hd0,0)/boot/kernel-2.6.9

in my grub.conf.

I might be confused but doesn't your line say that you have the kernel directly under / ?
Back to top
View user's profile Send private message
robicorp
n00b
n00b


Joined: 27 Mar 2005
Posts: 4

PostPosted: Sun Mar 27, 2005 11:12 am    Post subject: Reply with quote

If I try

grub> kernel=(hd0,0)/boot/kernel-2.6.9-gentoo-r1

I still get Error 15.

I get the splash screen, I can use the command line, I've already listed what auto-complete finds.

How do I look in Fstab from the liveCD?
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Sun Mar 27, 2005 11:43 am    Post subject: Reply with quote

you can boot of the livecd then mount your drives to /mnt/gentoo as per the install process then skip to chroot'ing and bam! your in your gentoo box via the livecd (has saved many a bad install!)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43012
Location: 56N 3W

PostPosted: Sun Mar 27, 2005 12:07 pm    Post subject: Reply with quote

robicorp,

You have two places called /boot on your system if you have a real boot partition.
In which one is your kernel ?

With the boot partition not mounted, do ls /boot, it should be empty.
now mount /boot and do
Code:
ls -al /boot

You need the symbolic link called boot that points to itself and all your kernel stuff should be here too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sun Mar 27, 2005 12:17 pm    Post subject: Reply with quote

Moved to Duplicate Threads in favor of https://forums.gentoo.org/viewtopic-t-122656.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum