Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Grub Help [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
BIGEE1212
n00b
n00b


Joined: 03 Nov 2006
Posts: 26

PostPosted: Sat Nov 04, 2006 10:14 pm    Post subject: [SOLVED] Grub Help [SOLVED] Reply with quote

Hey all, I'm having a lot of trouble with my grub file.... here it is

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

title=Gentoo Linux
root (hd0,0)
kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/sda3

Any ideas?
My partition layout is
Linux Boot sda1
Swap sda2
Root sda3

I just copied it direct from the handbook assuming it would work... but i can't see whats wrong with it.


Last edited by BIGEE1212 on Sat Nov 04, 2006 11:26 pm; edited 2 times in total
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Sat Nov 04, 2006 10:20 pm    Post subject: Reply with quote

The file looks ok, but

You did not say, what's the problem :wink:

Did you install grub the way the handbook said?
Does grub load and present a boot prompt, maybe an error message?
Back to top
View user's profile Send private message
BIGEE1212
n00b
n00b


Joined: 03 Nov 2006
Posts: 26

PostPosted: Sat Nov 04, 2006 10:22 pm    Post subject: Reply with quote

whoops... yes there is an error message when i boot

root (hd0,0)

Error 23: Error while parsing number

Press any key to continue...




When i press "any key" it takes me back to the splash screen....
oo yeah, its also an scsi drive if that means anything.
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Sat Nov 04, 2006 10:33 pm    Post subject: Reply with quote

dambacher wrote:
The file looks ok, but


Maybo not, I read rooth=. this would not be ok.


info grub - troubleshooting sais:
Quote:
23 : Error while parsing number
This error is returned if GRUB was expecting to read a number and
encountered bad data.
Back to top
View user's profile Send private message
BIGEE1212
n00b
n00b


Joined: 03 Nov 2006
Posts: 26

PostPosted: Sat Nov 04, 2006 10:40 pm    Post subject: Reply with quote

sorry that was a typo... it is not rooth, it is in fact root..
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Sat Nov 04, 2006 10:47 pm    Post subject: Reply with quote

I did some typos, too.
But speaking of typos.
Maybe you check if your root () entry has really Zeros "0" or maybe Ooohs ?
Back to top
View user's profile Send private message
BIGEE1212
n00b
n00b


Joined: 03 Nov 2006
Posts: 26

PostPosted: Sat Nov 04, 2006 10:52 pm    Post subject: Reply with quote

nope they are zeros.... what exactly does this error message mean? that my grub file has a typo somewhere?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Nov 04, 2006 10:59 pm    Post subject: Reply with quote

BIGEE1212 wrote:
oo yeah, its also an scsi drive if that means anything.

A common mistake for people with SCSI or SATA drives is to try (sd0,0). This is wrong, because all harddrives are called "hd" by GRUB.
Back to top
View user's profile Send private message
BIGEE1212
n00b
n00b


Joined: 03 Nov 2006
Posts: 26

PostPosted: Sat Nov 04, 2006 11:00 pm    Post subject: Reply with quote

nope i in fact did use hd...
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Sat Nov 04, 2006 11:01 pm    Post subject: Reply with quote

yes, something is wrong with this config. But I can't see neither.

Try to comment out the splash screen to sort this out

Try to submit the commands "root..." and "kernel..." by hand.
Back to top
View user's profile Send private message
BIGEE1212
n00b
n00b


Joined: 03 Nov 2006
Posts: 26

PostPosted: Sat Nov 04, 2006 11:03 pm    Post subject: Reply with quote

LOL, i just re wrote my grub file and made sure i didn't make any typos... now im getting a different error upon booting

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/sda3

Error 15: File not found

Press any key to continue.
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Sat Nov 04, 2006 11:08 pm    Post subject: Reply with quote

ok, one step ahead - it searches for the kernel on the harddisk and finds a file system.
check the kernel file name. it may be wrong. or you copied your kernel to the wrong location.
Back to top
View user's profile Send private message
BIGEE1212
n00b
n00b


Joined: 03 Nov 2006
Posts: 26

PostPosted: Sat Nov 04, 2006 11:12 pm    Post subject: Reply with quote

ok i just realized i completely forgot to do

cp /usr/src/linux/arch/i386/boot/bzImage /boot


so now im doing that we'll see how it goes
Back to top
View user's profile Send private message
BIGEE1212
n00b
n00b


Joined: 03 Nov 2006
Posts: 26

PostPosted: Sat Nov 04, 2006 11:14 pm    Post subject: Reply with quote

All right, i did the step i just mentioned, and im still getting the same exact error message...

how do i check the name of the kernel? becuase it may be completely wrong and im not aware of it.
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Sat Nov 04, 2006 11:15 pm    Post subject: Reply with quote

Then Happy booting! I go to sleep now.
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Sat Nov 04, 2006 11:16 pm    Post subject: Reply with quote

Oh, wait.

You just copied it and did not rename it?
then it is called bzImage .-)

maybe you should get some sleep, too :wink:
Back to top
View user's profile Send private message
BIGEE1212
n00b
n00b


Joined: 03 Nov 2006
Posts: 26

PostPosted: Sat Nov 04, 2006 11:19 pm    Post subject: Reply with quote

HAHAH Thanks, yeah i need some sleep bad... had a 12 hour work day.
Back to top
View user's profile Send private message
microtechno
Apprentice
Apprentice


Joined: 17 Apr 2006
Posts: 224
Location: Adelaide, Australia

PostPosted: Sun Nov 05, 2006 3:12 am    Post subject: Reply with quote

Hi
I am having the same problem
I installed gentoo and the first error message I have forgotten.
So i tried to redo my kernel using make menuconfig this did something because not i get the same error message as BIGEE1212
Code:
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/kernel-2.6 root=/dev/hda3

Error 15: File not found

Press any key to continue...


pressing any key then goes back to the grub screen.
I am not meaning to hijack this post.
Back to top
View user's profile Send private message
microtechno
Apprentice
Apprentice


Joined: 17 Apr 2006
Posts: 224
Location: Adelaide, Australia

PostPosted: Tue Nov 07, 2006 12:06 am    Post subject: Reply with quote

Hi
I managed to find the problem
My IDE wasnt installed in the kernel
It now all works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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