View previous topic :: View next topic |
Author |
Message |
megalomax n00b
Joined: 06 Feb 2003 Posts: 52 Location: germany
|
Posted: Thu Feb 06, 2003 3:35 am Post subject: grub (again) and error 15 |
|
|
Hi there.
Sorry to bring up this stupid grub (again), but I just can't find a solution to this problem of mine...
He goes:
I did a fresh stage3 install of gentoo1.4rc2 of the livecd. Everything went fine but after the reboot grub exits with error 15: can't find root...
my system setup:
1x 40 G HD
hda1: NT(1)
hda2: NT(2)
hda5: boot
hda6: swap
hda7: /
my menu.lst:
default 0
timeout 30
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,4)
kernel /boot/bzImage root=/dev/hda7
title=Windows NT
root (hd0,0)
chainloader +1
------
Boot screen is fine, Windows also boots...
Is it possible that this is a kernel problem ?!? I searched the forums but couldn't come up with an answer (actually got quite confused with all this grub stuff going on).
thanx for any hint guys! |
|
Back to top |
|
|
fruers n00b
Joined: 02 Feb 2003 Posts: 12 Location: Australia
|
Posted: Thu Feb 06, 2003 5:31 am Post subject: |
|
|
Is your boot partition reiserfs? |
|
Back to top |
|
|
megalomax n00b
Joined: 06 Feb 2003 Posts: 52 Location: germany
|
Posted: Thu Feb 06, 2003 11:32 am Post subject: |
|
|
Hi
no, actually my /-dir is reiserfs, /boot was set to /ext2. Any clue about what`s goin on??? |
|
Back to top |
|
|
Dragon561 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 112
|
Posted: Thu Feb 06, 2003 1:22 pm Post subject: |
|
|
I had the same problem as you. This is your current configuration: Code: | title=Gentoo Linux
root (hd0,4)
kernel /boot/bzImage root=/dev/hda7 |
This is what it needs to be: Code: | title=Gentoo Linux
root (hd0,4)
kernel /bzImage root=/dev/hda7 |
Try that, I hope it works. |
|
Back to top |
|
|
megalomax n00b
Joined: 06 Feb 2003 Posts: 52 Location: germany
|
Posted: Thu Feb 06, 2003 2:27 pm Post subject: |
|
|
Thanks for the reply
I tried your lines - unfortunately with no effect. I still get the error:
Code: | Booting 'Gentoo Linux'
root (hd0,4)
Filesystem type is ext2fs, partition type 0x83
kernel /bzImage root=/dev/hda7
Error 15: File not found
Press any key to continue...
|
Last time I had the exact same message - just with the line:
Code: | kernel /boot/bzImage root=/dev/hda7
|
Do you (by any chance) know, if this could be caused by a bad kernel config? 'Cause I'm not really sure if I screwed up my initial kernel config (too many options for a noob I guess )...
Or is the message indicating, as I would assume, that my filesystem or mounting or whatever is wrong ?!?
Please help me auta here guys I desperately need to get some sleep this week |
|
Back to top |
|
|
megalomax n00b
Joined: 06 Feb 2003 Posts: 52 Location: germany
|
Posted: Thu Feb 06, 2003 2:54 pm Post subject: |
|
|
Sorry guys:
if there's no kernel to boot from even gentoo won't boot - I guess ???
for some obscure reason the bzImage wasn#t located in the /boot partion, although I'm sure I followed the guide ?!?
Is it possible to copy a file and no error occures if the destination is not mounted or something ?!?
Anyway. Have to redo my kernel (as I stated above some bad options)...
But big kudos to the people tryon to help me out. Thanx a lot. I promise I will improve my skills right away
Maybe I#ll be back for some kernel konfig probs...
Cheers |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Feb 06, 2003 7:21 pm Post subject: |
|
|
megalomax wrote: | Is it possible to copy a file and no error occures if the destination is not mounted or something ?!? | Exactly. It goes to the directory on the surrounding partition, in this case, the /boot directory on your root partition. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Dragon561 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 112
|
Posted: Sat Feb 08, 2003 9:42 pm Post subject: |
|
|
Yea, u gotta make sure your boot partition is mounted. Before you copy over your new kernel, you must type:
If your fstab is right, it should mount correctly. Copy over the kernel, configure your grub.conf by how you had it before and try the way I suggested. ONe of them should work. Good luck. |
|
Back to top |
|
|
Dragon561 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 112
|
Posted: Sat Feb 08, 2003 9:44 pm Post subject: |
|
|
O, i thought u were stil having probs. Soryy. Nice job for getting it solved. |
|
Back to top |
|
|
|