Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no kernel sources symlink when i install on virtualbox
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
db_alleria
n00b
n00b


Joined: 25 Oct 2012
Posts: 2

PostPosted: Thu Oct 25, 2012 4:58 am    Post subject: no kernel sources symlink when i install on virtualbox Reply with quote

i installed gentoo by the handbook from official site ,
when i got into the step 7.b. Installing the Sources ,
the book says :Code Listing 2.2: Viewing the kernel source symlink,
When you take a look in /usr/src you should see a symlink called linux pointing to your kernel source.
but ,in my virtualbox, there is no such file! ,only a linux-3..3.38-gentoo directory in the src
and when i tried to use cd linux-3.3.38-gentoo and make menuconfig ,
an error occured , init/Kconfig:389: can't open file "kernel/irq/Kconfig"
how can i solve the problem?
Back to top
View user's profile Send private message
db_alleria
n00b
n00b


Joined: 25 Oct 2012
Posts: 2

PostPosted: Thu Oct 25, 2012 5:01 am    Post subject: Re: no kernel sources symlink when i install on virtualbox Reply with quote

db_alleria wrote:
i installed gentoo by the handbook from official site ,
when i got into the step 7.b. Installing the Sources ,
the book says :Code Listing 2.2: Viewing the kernel source symlink,
When you take a look in /usr/src you should see a symlink called linux pointing to your kernel source.
but ,in my virtualbox, there is no such file! ,only a linux-3..3.38-gentoo directory in the src
and when i tried to use cd linux-3.3.38-gentoo and make menuconfig ,
an error occured , init/Kconfig:389: can't open file "kernel/irq/Kconfig"
how can i solve the problem?

also i tried to make a new link file by :
ln -s linux linux-3.3.38-gentoo
or
ln linux linux-3.3.38-gentoo
the same errors occured
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Thu Oct 25, 2012 6:02 am    Post subject: Reply with quote

I would

emerge -C gentoo-sources
emerge gentoo-sources


ls -l /usr/src

and see if the problem persists.
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