Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yabootconfig can't find kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
animalssj
n00b
n00b


Joined: 03 Jun 2004
Posts: 11

PostPosted: Mon Jul 05, 2004 6:25 am    Post subject: yabootconfig can't find kernel Reply with quote

after I install everything, I get to the last step, yabootconfig, then it says I need to tell it where the kernel is. I installed 2000.1 via the gentoo installation handbook verbatim, and I always get that error at that point.
What gives? any suggestions?
Back to top
View user's profile Send private message
DaNIsH
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 197
Location: Melbourne, Australia.

PostPosted: Mon Jul 05, 2004 7:00 am    Post subject: Reply with quote

Do you have a symlink /usr/src/linux pointing to /usr/src/linux-<version> ?
If not:
ln -s /usr/src/linux-<version>/ /usr/src/linux
_________________
Adopt an unanswered post today
Back to top
View user's profile Send private message
animalssj
n00b
n00b


Joined: 03 Jun 2004
Posts: 11

PostPosted: Mon Jul 05, 2004 7:08 am    Post subject: symlink error? Reply with quote

thats a little unclear, because when i emerge the kernel, then make the kernel, it compiles, and is named ppc-development-sources-2.6.5-r1. Do I rename that myself? That's where it confuses me.
Back to top
View user's profile Send private message
DaNIsH
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 197
Location: Melbourne, Australia.

PostPosted: Mon Jul 05, 2004 7:16 am    Post subject: Reply with quote

Sorry, basically you need a symlink, which is kind of like a shortcut in windows, to point to your linux kernel. In your case this is: /usr/src/ppc-development-sources-2.6.5-r1/

So to do this you would:
Code:
ln -s /usr/src/ppc-development-sources-2.6.5-r1/ /usr/src/linux

This creates a link, of symlink type, that points to /usr/src/ppc-development-sources-2.6.5-r1/ from /usr/src/linux

Then type:
Code:
ls -l /usr/src/

and verify that the linux symlink is pointing there.

Generally most applications try to follow your /usr/src/linux symlink to access your kernel. So if you update your kernel you would have to change the symlink to point to it.
_________________
Adopt an unanswered post today


Last edited by DaNIsH on Mon Jul 05, 2004 7:26 am; edited 1 time in total
Back to top
View user's profile Send private message
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Mon Jul 05, 2004 7:24 am    Post subject: Reply with quote

animalssj


deleted your dubble post.

greetings
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
animalssj
n00b
n00b


Joined: 03 Jun 2004
Posts: 11

PostPosted: Mon Jul 05, 2004 7:30 am    Post subject: Reply with quote

ahh thanks. Also, for a powerbook 15 inch, 1.5 ghz system, would i use the stage3-g4 or the stage3-ppc? Just to eliminate any possible errors.
Back to top
View user's profile Send private message
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Mon Jul 05, 2004 7:41 am    Post subject: Reply with quote

I'd use the ppc one (always use that one) but then again i go from stage one...

dunno frankly...


greetings
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
Immortal Q
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 241
Location: Silicone Valley

PostPosted: Mon Jul 05, 2004 8:03 am    Post subject: Reply with quote

animalssj wrote:
ahh thanks. Also, for a powerbook 15 inch, 1.5 ghz system, would i use the stage3-g4 or the stage3-ppc? Just to eliminate any possible errors.


I'd guess the -G4 one: -ppc was probably compiled with compatibility for G3s, PPC60x, and the non-mac PPC platforms (IBM i-series, etc) that may or may not slow down your machine. However, either would run on your machine without any problems, and since you're doing a stage3, you're not likely too concerned about compile tuning. :wink:
_________________
Osmos.org
Now with 20% fewer rabid primates.
Back to top
View user's profile Send private message
animalssj
n00b
n00b


Joined: 03 Jun 2004
Posts: 11

PostPosted: Mon Jul 05, 2004 7:40 pm    Post subject: Reply with quote

ok i did the symlink exactly how you showed, but now i get this.
Code:
yabootconfig: Cannot find a kernel, please locate one
Enter path to a kernel image:

this happens everytime.
What now?
ps thanks for all the help :)
Back to top
View user's profile Send private message
DaNIsH
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 197
Location: Melbourne, Australia.

PostPosted: Tue Jul 06, 2004 12:30 am    Post subject: Reply with quote

I'm guessing you've compiled the kernel?
If so path to kernel image will be: /boot/<whatever you cped bzImage to>

I probably should have asked what yabootconfig did before going through the symlink process ;)
_________________
Adopt an unanswered post today
Back to top
View user's profile Send private message
animalssj
n00b
n00b


Joined: 03 Jun 2004
Posts: 11

PostPosted: Tue Jul 06, 2004 3:30 am    Post subject: Reply with quote

yeah your right. I use yaboot config, and i point it to what the manual told me to name the symlink, even what you told me, and it says,
unable to determine ... aborting...
im losing my marbles man. I've installed this many many many times, only to get stumped at the linkup to yaboot! Any more suggestions?
I'll be glad to pay someone to help/install this for me.
thanks for your help. :roll:
Back to top
View user's profile Send private message
DaNIsH
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 197
Location: Melbourne, Australia.

PostPosted: Tue Jul 06, 2004 6:28 am    Post subject: Reply with quote

The /usr/src/linux symlink isn't what yaboot wants you to point it to, sorry for the missguidance there.
yaboot wants the kernel image, which if you've followed the installation handbook should be /boot/kernel-<version>.

http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1&chap=7
Is the chapter that covers kernel compilation.
_________________
Adopt an unanswered post today
Back to top
View user's profile Send private message
Immortal Q
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 241
Location: Silicone Valley

PostPosted: Tue Jul 06, 2004 7:09 am    Post subject: Reply with quote

Not sure if this is your issue, but you might try running yabootconfig after exiting the chroot environment and using the --chroot option instead - this let yabootconfig find everything automagically for me.
_________________
Osmos.org
Now with 20% fewer rabid primates.
Back to top
View user's profile Send private message
animalssj
n00b
n00b


Joined: 03 Jun 2004
Posts: 11

PostPosted: Tue Jul 06, 2004 7:20 am    Post subject: Reply with quote

I used those instructions verbatim. I still have the yaboot config issue. I am going to try to chroot out of the environment, it sounds like it might work.

...

No, it won't let me unmount the volumes.
:?
Back to top
View user's profile Send private message
Immortal Q
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 241
Location: Silicone Valley

PostPosted: Tue Jul 06, 2004 7:31 am    Post subject: Reply with quote

animalssj wrote:
I used those instructions verbatim. I still have the yaboot config issue. I am going to try to chroot out of the environment, it sounds like it might work.

...

No, it won't let me unmount the volumes.
:?

Yeah, that seems to be par for the course on this LiveCD - can you umount everything manually? I suspect the /dev binding is what causes all this trouble.
_________________
Osmos.org
Now with 20% fewer rabid primates.
Back to top
View user's profile Send private message
castor
n00b
n00b


Joined: 06 Jul 2004
Posts: 1

PostPosted: Tue Jul 06, 2004 11:22 am    Post subject: Reply with quote

i had the same problems using liveCD 2004.1.

once i configured yaboot manually everything worked fine.

be careful while unmounting. the ppc-instructions tell you to unmount
/mnt/gentoo/boot, which was never mounted. instead unmount /mnt/gentoo/dev.
Back to top
View user's profile Send private message
cronus4d
n00b
n00b


Joined: 25 Jul 2004
Posts: 2

PostPosted: Sun Jul 25, 2004 10:13 am    Post subject: yabootconfig not working with kernel image Reply with quote

i am having the same problem where yabootconfig will not read my kernel image. i tried the symlink, direct link, evertyhing, and it still wont work. i am going to try genkernel to get this crap working. any pointers. thanks
Back to top
View user's profile Send private message
HeirPixel
n00b
n00b


Joined: 25 Jun 2004
Posts: 2
Location: USA / GA

PostPosted: Sun Jul 25, 2004 5:18 pm    Post subject: Reply with quote

When I exit chroot, I can no longer use the "yabootconfig" command. When I chroot back in, I get the "yabootconfig: Could not determine necessary information, aborting..." error again.
_________________
Why did the chicken cross the Mobius strip? To get to the same side!
Back to top
View user's profile Send private message
HeirPixel
n00b
n00b


Joined: 25 Jun 2004
Posts: 2
Location: USA / GA

PostPosted: Sun Jul 25, 2004 5:30 pm    Post subject: Reply with quote

Actually, I think I just found my answer HERE.
_________________
Why did the chicken cross the Mobius strip? To get to the same side!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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