Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Code Listing 2.19: Install a kernel source, compile it and i
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
lfdk
n00b
n00b


Joined: 01 Apr 2010
Posts: 25
Location: Denmark

PostPosted: Thu Apr 01, 2010 2:46 pm    Post subject: Code Listing 2.19: Install a kernel source, compile it and i Reply with quote

Hi I have a problem i'm installing gentoo 2008.0 and i got to Kernel Configuration

Code Listing 2.19: Install a kernel source, compile it and i

livecd etc # time emerge gentoo-sources

!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! it should point into a profile within /usr/portage/profiles/
!!! <you can safely ignore this massage when syncing. It's harmless.>

!!! if you have just changed your profile configuration, you should revent
!!! back to the previous configuration. due to your corrent profile being
!!! invalid, allowed actions are limited to --help, --info, --sync, and
!!! --version.

and i get this problem.

THX lfdk
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Thu Apr 01, 2010 3:11 pm    Post subject: Reply with quote

Gentoo 2008 is probably obsolete.
Anyway why use such an old one?
Dowload and burn to cd rescuecd and use it to install.
In my sig you'll find a link.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9691
Location: almost Mile High in the USA

PostPosted: Thu Apr 01, 2010 3:16 pm    Post subject: Reply with quote

Since you're using a 2008.0 install cd, this is ... ancient :) Try grabbing a later installer cd. Likely the latest copy of the portage tree no longer has a 2008 profile that the cd is referring to. You'll need to use a later one.

To try to fix it, take a look at what your /etc/make.profile is. Currently my /etc/make.profile is linked to:

/etc/make.profile -> ../usr/portage/profiles/default/linux/x86/10.0/desktop/

You can try this first, just make that symlink.

ln -sf ../usr/portage/profiles/default/linux/x86/10.0/desktop /etc/make.profile

If that doesn't work, you should go with the newer installer CD.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
lfdk
n00b
n00b


Joined: 01 Apr 2010
Posts: 25
Location: Denmark

PostPosted: Thu Apr 01, 2010 7:04 pm    Post subject: new cd same problem Reply with quote

now i tried this cd install-x86-minimal-20100216 and i got the same problem...
Back to top
View user's profile Send private message
Raptor85
Apprentice
Apprentice


Joined: 29 Dec 2007
Posts: 208

PostPosted: Thu Apr 01, 2010 7:21 pm    Post subject: Re: Code Listing 2.19: Install a kernel source, compile it a Reply with quote

lfdk wrote:

livecd etc # time emerge gentoo-sources

are you trying to emerge it from the CD itself, or from within the chroot?
Back to top
View user's profile Send private message
lfdk
n00b
n00b


Joined: 01 Apr 2010
Posts: 25
Location: Denmark

PostPosted: Thu Apr 01, 2010 9:03 pm    Post subject: Reply with quote

From chroot mode!
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Apr 01, 2010 9:50 pm    Post subject: Reply with quote

If you're within the chroot, i would tend to think portage didn't get correctly installed.

You sure you used a capital "C" when you did this?

Code:

tar xvjf /mnt/gentoo/portage-latest.tar.bz2 -C /mnt/gentoo/usr


if portage is installed correctly, and you chrooted, you simply should not get that error.

If you're sure you did that correctly, post the output of

Code:

eselect profile list

_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Apr 01, 2010 10:32 pm    Post subject: Reply with quote

I still use old Gentoo installCDs. As long as the box boots, then it's no problem to use it.
Besides the /etc/make.profile is unrelated to the installCD, it comes from the stage3 and the portage-snapshot anyway.

If you're new to Gentoo, don't use the Quick Install Guide.
Quick Install Guide wrote:
Important: New users should read the Handbook as it gives a better overview about the installation process. The Quick Install guide is designed for experienced users who just need a checklist to follow.

Just follow the Gentoo Handbook step-by-step, the profile is covered in Chapter 6.
Back to top
View user's profile Send private message
lfdk
n00b
n00b


Joined: 01 Apr 2010
Posts: 25
Location: Denmark

PostPosted: Fri Apr 02, 2010 1:22 am    Post subject: Reply with quote

Ok il try the handbook!

About this "-C" is not written in the quick guide!
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Apr 02, 2010 1:33 am    Post subject: Reply with quote

lfdk wrote:
About this "-C" is not written in the quick guide!


Exactly.
That's one of the many reasons why new users should always use the Handbook.

Have fun, and if you still have problems, do not hesitate to come back for more help. If you do, post the section of the handbook that is giving you trouble, the errors or warnings that you encountered, and describe any steps you have taken that deviate from the handbook.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Fri Apr 02, 2010 4:46 pm    Post subject: Reply with quote

Mike Hunt wrote:
I still use old Gentoo installCDs. As long as the box boots, then it's no problem to use it.
Besides the /etc/make.profile is unrelated to the installCD, it comes from the stage3 and the portage-snapshot anyway.


Actually I just ran into this issue myself.

(I don't know why I chose your post to quote other than to confirm, that's part of the portage snapshot. )

I moved all my stuff to BTRFS (danger is my middle name) last night as well dumped Windows 7 on a partition since feckin VMWare doesn't offer a linux vSphere client.

Anyway, I did the "gentoo stage4" deal, which as I started reading it realized is really nothing more than "hey, this is how you use TAR to backup your system!"

I blindly copied the stage4.excl contents, not realizing it omitted /usr/portage - so I had no portage installed when I entered the chroot.

As a result, /etc/make.profile was a broken symlink, rather, it pointed to a path under /usr/portage which of course doesn't exist until you install portage (to the correct directory)

If you slipped up, and have already chrooted into your gentoo install BEFORE correctly installing portage, you dont need to exit the chroot; just do tar /path/to/portage-latest.bz2 -C /usr instead (/mnt/gentoo/usr is correct outside the chroot, /usr is correct inside it)

errr...that's all that comes to mind for the time being.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Apr 02, 2010 6:08 pm    Post subject: Reply with quote

Exactly, Once chrooted the root is /
and before chrooting the root is /mnt/gentoo/

Forgetting that, I used to make silly mistakes, such as copy /etc/resolv.conf to /etc before chroot.

Cheers. :)
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