View previous topic :: View next topic |
Author |
Message |
ShadowmageIX n00b
Joined: 12 Mar 2003 Posts: 4 Location: Paris
|
Posted: Mon Mar 17, 2003 11:51 pm Post subject: the case of the missing kernel |
|
|
Hey there,
After following the rather nice instructions that came with gentoo, I find myself at a bit of an impasse.
I've gotten myself to the end of the instructions and have rebooted, only to find that Grub gives me an:
Quote: |
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/bzImage root=/dev/hda6
Error 15: File not found
|
Now I'm assuming it can't find my bzImage? I checked by booting from a floppy distro I had lying around and afaik my bzImage is in /boot??
now, my boot partition is hda1, my swap is hda5 and my root partition is hda6 (don't ask)
what did I do wrong? _________________ -At The End Of Everything-
http://www.machine9.net/ |
|
Back to top |
|
|
ShadowmageIX n00b
Joined: 12 Mar 2003 Posts: 4 Location: Paris
|
Posted: Tue Mar 18, 2003 12:44 am Post subject: |
|
|
never mind folks, I fixed it _________________ -At The End Of Everything-
http://www.machine9.net/ |
|
Back to top |
|
|
ClippyHater Apprentice
Joined: 06 Nov 2002 Posts: 247 Location: Wisconsin
|
Posted: Tue Mar 18, 2003 12:44 am Post subject: |
|
|
What's your grub.conf look like? Here's my setup, hope it helps (don't laugh at all the partitions, I was playin' around!):
Partitions:
Code: |
/dev/hda1 /boot ext2
/dev/hda2 /usr reiserfs
/dev/hda3 swap
/dev/hda5 /
/dev/hda6 /var
/dev/hda7 /var/tmp
/dev/hda8 /tmp
/dev/hda9 /home
|
grub.conf:
Code: |
default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo GNU/Linux v1.4
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/hda5 idebus=66 hdd=ide-scsi
|
|
|
Back to top |
|
|
ClippyHater Apprentice
Joined: 06 Nov 2002 Posts: 247 Location: Wisconsin
|
Posted: Tue Mar 18, 2003 12:45 am Post subject: |
|
|
Doh! Saw your reply after I posted |
|
Back to top |
|
|
ShadowmageIX n00b
Joined: 12 Mar 2003 Posts: 4 Location: Paris
|
Posted: Wed Mar 19, 2003 9:01 am Post subject: seems this is not a unique problem |
|
|
After starting this thread yesterday, I've already received seven emails from people who have the same problem.
I did find a workaround, but it's hardly orthodox, I'd like it if some guru can have a look at this problem and tell use what went wrong.
After some closer inspection, I noticed something weird about my /boot...
in fact, cd /boot followed by ls yields this:
boot grub bzImage
root #
and joy, inside this mysterious "boot" directory inside /boot, we find:
boot grub bzImage
root #
so it seems kind of like an infinite loop. The reason why Grub cannot locate the bzImage file in /boot still eludes me.
My silly, and terribly unproper workaround is basically this:
- since we can't boot our kernel, put back the gentoo cdrom and boot from that.
- mount your harddrives, like you did when you installed.
- copy your /usr/src/linux/arch/i386/bzImage to / (or another directory you have in mind)
- edit your grub config file, like in the manual, but set the kernel= to match the place you just copied your bzImage to
(in my case, I temporarily copied it to /)
- reboot
that should boot your system.
Whilst I wait for a good explanatory post from a Guru (this is the first time I've EVER done manipulations like this, my last systems were RH8 and MDK 9!!!) I'll be off trying to get my Ethernet card back to work.[/list] _________________ -At The End Of Everything-
http://www.machine9.net/ |
|
Back to top |
|
|
jasonm Tux's lil' helper
Joined: 25 Feb 2003 Posts: 90 Location: Calgary, Canada... Eh!
|
Posted: Wed Mar 19, 2003 9:48 am Post subject: |
|
|
Hi ShadowmageIX,
Hope everything is working out now ?
The reason why you can't see anything in /boot, is because it is a symbolic link to /boot.
Don't know if you noticed in the the install doc (and in /etc/fstab), /boot is NOT mounted at bootup.
Hence, ls /boot (or cd /boot) shows the sym-link, shows the sym-link, shows the sym-link, shows the sym-link, etc, etc.
Just mount /boot, then cd into it
Don't know if that makes any sense !?
Anyhoo, good luck! _________________ Registered User # 323863
There is nothing new under the sun . . .
"Open source takes the bullshit out of software."
[small]~ Charles Ferguson on TechnologyReview.com[/small] |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Mar 19, 2003 11:41 pm Post subject: |
|
|
jasonm has this problem basically nailed. Check out this thread for more information.
Regards,
BonezTheGoon |
|
Back to top |
|
|
|
|
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
|
|