View previous topic :: View next topic |
Author |
Message |
BIGEE1212 n00b
Joined: 03 Nov 2006 Posts: 26
|
Posted: Sat Nov 04, 2006 10:14 pm Post subject: [SOLVED] Grub Help [SOLVED] |
|
|
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 |
|
|
dambacher Apprentice
Joined: 11 Feb 2003 Posts: 289 Location: Germany
|
Posted: Sat Nov 04, 2006 10:20 pm Post subject: |
|
|
The file looks ok, but
You did not say, what's the problem
Did you install grub the way the handbook said?
Does grub load and present a boot prompt, maybe an error message? |
|
Back to top |
|
|
BIGEE1212 n00b
Joined: 03 Nov 2006 Posts: 26
|
Posted: Sat Nov 04, 2006 10:22 pm Post subject: |
|
|
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 |
|
|
dambacher Apprentice
Joined: 11 Feb 2003 Posts: 289 Location: Germany
|
Posted: Sat Nov 04, 2006 10:33 pm Post subject: |
|
|
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 |
|
|
BIGEE1212 n00b
Joined: 03 Nov 2006 Posts: 26
|
Posted: Sat Nov 04, 2006 10:40 pm Post subject: |
|
|
sorry that was a typo... it is not rooth, it is in fact root.. |
|
Back to top |
|
|
dambacher Apprentice
Joined: 11 Feb 2003 Posts: 289 Location: Germany
|
Posted: Sat Nov 04, 2006 10:47 pm Post subject: |
|
|
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 |
|
|
BIGEE1212 n00b
Joined: 03 Nov 2006 Posts: 26
|
Posted: Sat Nov 04, 2006 10:52 pm Post subject: |
|
|
nope they are zeros.... what exactly does this error message mean? that my grub file has a typo somewhere? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Nov 04, 2006 10:59 pm Post subject: |
|
|
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 |
|
|
BIGEE1212 n00b
Joined: 03 Nov 2006 Posts: 26
|
Posted: Sat Nov 04, 2006 11:00 pm Post subject: |
|
|
nope i in fact did use hd... |
|
Back to top |
|
|
dambacher Apprentice
Joined: 11 Feb 2003 Posts: 289 Location: Germany
|
Posted: Sat Nov 04, 2006 11:01 pm Post subject: |
|
|
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 |
|
|
BIGEE1212 n00b
Joined: 03 Nov 2006 Posts: 26
|
Posted: Sat Nov 04, 2006 11:03 pm Post subject: |
|
|
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 |
|
|
dambacher Apprentice
Joined: 11 Feb 2003 Posts: 289 Location: Germany
|
Posted: Sat Nov 04, 2006 11:08 pm Post subject: |
|
|
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 |
|
|
BIGEE1212 n00b
Joined: 03 Nov 2006 Posts: 26
|
Posted: Sat Nov 04, 2006 11:12 pm Post subject: |
|
|
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 |
|
|
BIGEE1212 n00b
Joined: 03 Nov 2006 Posts: 26
|
Posted: Sat Nov 04, 2006 11:14 pm Post subject: |
|
|
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 |
|
|
dambacher Apprentice
Joined: 11 Feb 2003 Posts: 289 Location: Germany
|
Posted: Sat Nov 04, 2006 11:15 pm Post subject: |
|
|
Then Happy booting! I go to sleep now. |
|
Back to top |
|
|
dambacher Apprentice
Joined: 11 Feb 2003 Posts: 289 Location: Germany
|
Posted: Sat Nov 04, 2006 11:16 pm Post subject: |
|
|
Oh, wait.
You just copied it and did not rename it?
then it is called bzImage .-)
maybe you should get some sleep, too |
|
Back to top |
|
|
BIGEE1212 n00b
Joined: 03 Nov 2006 Posts: 26
|
Posted: Sat Nov 04, 2006 11:19 pm Post subject: |
|
|
HAHAH Thanks, yeah i need some sleep bad... had a 12 hour work day. |
|
Back to top |
|
|
microtechno Apprentice
Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Sun Nov 05, 2006 3:12 am Post subject: |
|
|
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 |
|
|
microtechno Apprentice
Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Tue Nov 07, 2006 12:06 am Post subject: |
|
|
Hi
I managed to find the problem
My IDE wasnt installed in the kernel
It now all works. |
|
Back to top |
|
|
|