View previous topic :: View next topic |
Author |
Message |
lfdk n00b
Joined: 01 Apr 2010 Posts: 25 Location: Denmark
|
Posted: Thu Apr 01, 2010 2:46 pm Post subject: Code Listing 2.19: Install a kernel source, compile it and i |
|
|
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 |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Thu Apr 01, 2010 3:11 pm Post subject: |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9691 Location: almost Mile High in the USA
|
Posted: Thu Apr 01, 2010 3:16 pm Post subject: |
|
|
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 |
|
|
lfdk n00b
Joined: 01 Apr 2010 Posts: 25 Location: Denmark
|
Posted: Thu Apr 01, 2010 7:04 pm Post subject: new cd same problem |
|
|
now i tried this cd install-x86-minimal-20100216 and i got the same problem... |
|
Back to top |
|
|
Raptor85 Apprentice
Joined: 29 Dec 2007 Posts: 208
|
Posted: Thu Apr 01, 2010 7:21 pm Post subject: Re: Code Listing 2.19: Install a kernel source, compile it a |
|
|
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 |
|
|
lfdk n00b
Joined: 01 Apr 2010 Posts: 25 Location: Denmark
|
Posted: Thu Apr 01, 2010 9:03 pm Post subject: |
|
|
From chroot mode! |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Thu Apr 01, 2010 9:50 pm Post subject: |
|
|
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 |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Apr 01, 2010 10:32 pm Post subject: |
|
|
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 |
|
|
lfdk n00b
Joined: 01 Apr 2010 Posts: 25 Location: Denmark
|
Posted: Fri Apr 02, 2010 1:22 am Post subject: |
|
|
Ok il try the handbook!
About this "-C" is not written in the quick guide! |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Apr 02, 2010 1:33 am Post subject: |
|
|
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 |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Fri Apr 02, 2010 4:46 pm Post subject: |
|
|
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 |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Apr 02, 2010 6:08 pm Post subject: |
|
|
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 |
|
|
|