View previous topic :: View next topic |
Author |
Message |
ajnabi Apprentice
Joined: 21 May 2004 Posts: 208
|
Posted: Mon Jun 13, 2005 11:01 pm Post subject: gentoo-sources is showing 2.4 not 2.6 kernels [SOLVED] |
|
|
Anybody know why I am getting a 2.4 kernel listed instead of 2.6?
See below.
Thanks,
ajnabi
Code: |
bash-2.05b# emerge -s sources
Searching...
[ Results for search key : sources ]
[ Applications found : 20 ]
...
sys-kernel/gentoo-sources
Latest version available: 2.4.28-r9
Latest version installed: 2.6.11-r4
Size of downloaded files: 31,453 kB
Homepage: http://www.kernel.org/ http://www.gentoo.org/
Description: Full sources including the Gentoo patchset for the 2.4 kernel tree
License: GPL-2
|
Last edited by ajnabi on Sun Nov 13, 2005 4:44 pm; edited 1 time in total |
|
Back to top |
|
|
KoKi n00b
Joined: 14 Aug 2004 Posts: 24 Location: Maribor, Slovenia
|
Posted: Mon Jun 13, 2005 11:14 pm Post subject: |
|
|
see the installing guide or 2.6 migration guide for the full answer. if u link your profile to 2005/2.4 your profile will still use the 2.4 kernel. link it to 2005. _________________ kann man(n) auch ne frau sein? |
|
Back to top |
|
|
ajnabi Apprentice
Joined: 21 May 2004 Posts: 208
|
Posted: Tue Jun 14, 2005 1:10 am Post subject: |
|
|
KoKi
Thanks KoKi.
Quote: |
see the installing guide or 2.6 migration guide for the full answer. if u link your profile to 2005/2.4 your profile will still use the 2.4 kernel. link it to 2005.
|
I don't see anything in the manual or migration guide about how to link make.profile to 2.6 kernel. I noticed /usr/portage/profiles/default-linux/x86/2005.0/2.6 does not exist. /usr/portage/profiles/default-linux/x86/2005.0/2.4 does so I tried making a 2.6 directory and linking it. The results are below:
Code: |
bash-2.05b# emerge -pv gentoo-sources
These are the packages that I would merge, in order:
!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?
|
The link is there but empty.
Code: |
bash-2.05b# ls -l /etc/make.profile
lrwxr-xr-x 1 root root 50 Jun 13 20:31 /etc/make.profile -> /usr/portage/profiles/default-linux/x86/2005.0/2.6
|
The question is what data goes there? Any help greatly appreciated.
Thanks,
ajnabi |
|
Back to top |
|
|
ajnabi Apprentice
Joined: 21 May 2004 Posts: 208
|
Posted: Tue Jun 14, 2005 1:26 am Post subject: |
|
|
KoKi,
Fixed it! I finally realized you were meaning to do this:
Code: |
ln -snf /usr/portage/profiles/default-linux/x86/2005.0 /etc/make.profile
|
Thanks,
ajnabi |
|
Back to top |
|
|
96140 Retired Dev
Joined: 23 Jan 2005 Posts: 1324
|
Posted: Tue Jun 14, 2005 1:29 am Post subject: |
|
|
That's very odd that you're getting the "ARCH is not set" message. I'd search the forums for threads with those keywords, but in the meantime, post the output of "emerge info". I suspect you're missing a key line or two from make.conf |
|
Back to top |
|
|
ajnabi Apprentice
Joined: 21 May 2004 Posts: 208
|
Posted: Tue Jun 14, 2005 3:23 am Post subject: |
|
|
I had done:
ln -snf /usr/portage/profiles/default-linux/x86/2005.0/2.6 /etc/make.profile
instead of:
ln -snf /usr/portage/profiles/default-linux/x86/2005.0 /etc/make.profile
Now it works |
|
Back to top |
|
|
|