Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stuck on emerge gentoo-sources [emerge -s sources is empty]
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
neptunus10000
n00b
n00b


Joined: 05 Dec 2003
Posts: 9

PostPosted: Wed Sep 28, 2005 6:38 am    Post subject: Stuck on emerge gentoo-sources [emerge -s sources is empty] Reply with quote

Hello,

I'm installing gentoo from stage1. If I want to do emerge gentoo-sources it is complanning that there is not file. " * Unable to find kernel sources at /usr/src/linux "

The command ls -l /usr/src gifs a empty output. So no file's in there. If I try

cd /usr/src
rm linux
ln -s linux-<TAB>

there is also no options for linux-<TAB>. This is normal I think because ls -l /usr/src is and empty output.

I hope I don't hava to start over again with the installation.

Thanks for the help
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Wed Sep 28, 2005 7:03 am    Post subject: Reply with quote

Did you try to create this synmbolic link with no target and emerge gentoo-sources again?

Just a guess, though!
Back to top
View user's profile Send private message
neptunus10000
n00b
n00b


Joined: 05 Dec 2003
Posts: 9

PostPosted: Wed Sep 28, 2005 7:41 am    Post subject: Reply with quote

loki99 wrote:
Did you try to create this synmbolic link with no target and emerge gentoo-sources again?

Just a guess, though!


The folder is empty so it was nog possible to make al link. I really don't now what to do next.
Back to top
View user's profile Send private message
Sleipnir
Guru
Guru


Joined: 20 Sep 2005
Posts: 372
Location: Germany

PostPosted: Wed Sep 28, 2005 7:49 am    Post subject: Reply with quote

I assume that you are booting from the livecd!? So make sure you mounted your
gentoo partition and changerooted successfully!? Then try an
Code:
emerge sync

and then find out if you can find some sources with
Code:
emerge search sources

If you found a kernel that fits your needs check what is required via
Code:
emerge -p <your-sources>

and install it.
_________________
A)bort, R)etry, I)nfluence with large hammer.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Sep 28, 2005 8:05 am    Post subject: Reply with quote

Can you please post the full exact output of the command "emerge gentoo-sources"
Back to top
View user's profile Send private message
neptunus10000
n00b
n00b


Joined: 05 Dec 2003
Posts: 9

PostPosted: Wed Sep 28, 2005 8:57 am    Post subject: Reply with quote

When the installation is normal, the file's are normaly in de /usr/src folder? If this is so, then I have to start over again. Because mabye I did something wrong.
Back to top
View user's profile Send private message
neptunus10000
n00b
n00b


Joined: 05 Dec 2003
Posts: 9

PostPosted: Wed Sep 28, 2005 1:17 pm    Post subject: Reply with quote

neptunus10000 wrote:
When the installation is normal, the file's are normaly in de /usr/src folder? If this is so, then I have to start over again. Because mabye I did something wrong.


When I do emerge -s sources I get a list of 20 options but non of them is installed. Is my installion fucked up or can I download the correct kernel I want to use en compile it?
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Sep 28, 2005 1:23 pm    Post subject: Reply with quote

Everything you have stated all seems to point to the fact that you have not emerged gentoo-sources. As I asked you before, what happens when you "emerge gentoo-sources". Does it finish or is there an error? If there is an error, please post it.

If you want you can just take the vanilla kernel from www.kernel.org and use that.
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Wed Sep 28, 2005 1:25 pm    Post subject: Reply with quote

Please do provide more information. We have no means of telling you what is wrong as long as we are not able to read the error messages!

You could either copy the important parts by hand, or you could use Knoppix as an installation medium which would allow you to copy and paste or you do what NeddySeagoon suggested in an other thread:

NeddySeagoon wrote:

Write command outputs to a file then copy the files to another media, like floppy.
e.g.
Code:
 ls -al /boot > boot.txt
creates boot.txt contating the contents of the command
On a dual boot PC, you can wtite to a FAT (FAT12/16/32) partition.

As a last resort you can reformat your swap partition as FAT32, since you won't need it until ndiswrapper is running, then turn it back to swap. With it being converted to FAT32, you can use it to pass files between Windows and Linux.
Back to top
View user's profile Send private message
neptunus10000
n00b
n00b


Joined: 05 Dec 2003
Posts: 9

PostPosted: Wed Sep 28, 2005 3:30 pm    Post subject: Reply with quote

mark_alec wrote:
Everything you have stated all seems to point to the fact that you have not emerged gentoo-sources. As I asked you before, what happens when you "emerge gentoo-sources". Does it finish or is there an error? If there is an error, please post it.

If you want you can just take the vanilla kernel from www.kernel.org and use that.


SORRY I made a error in the typing work. emerge gentoo-source is not emerge gentoo-sources OEPS

sorry AGAIN
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