View previous topic :: View next topic |
Author |
Message |
lomedhel n00b
Joined: 05 Aug 2005 Posts: 10 Location: Who cares, as long as we're together?
|
Posted: Fri Aug 05, 2005 11:03 am Post subject: Universal CD problem [SOLVED] |
|
|
OK, I know, I'm a little bold, going for Gentoo on my very first try of Linux...
First hi there people!
I searched thru the forums without success so I finally decided to ask:
I'm at the point 7.b. "Installing the Sources" of the manual. And when I try to do what it says get errors like this:
Code: | # emerge gentoo-sources
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-kernel/gentoo-sources-2.6-11-r3 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/genpatches-2.6-11.03-extras tar.bz2
.
.
.
!!! Couldn't download genpatches-2.6-11.03-extras tar.bz2. Aborting
|
With some lines of other internet-adresses in between.
I understand the cause of the error: I have no internet available on the computer I'm installing Gentoo(at least not now). But this is why I downloaded the Universal Package CD...
Now I kindly ask:
What can be done? How do I install the sources from the CD? Is that possible at all? If not, can I install my Modem on the chrooted environment to be able to dial-up to the internet?
Thank you very much!
BTW: I'm using a Athlon64 3000+ on a nForce4 mobo. If that helps. Of course I downloaded the CD for AMD64 architecture.
My shell looks like this
livecd / #
since I chrooted. Before it was
livecd root #
I can cd to any of them freely, as well as to a my livecd-directories and a whole lot of others.
Cheers and the Best
Sam
Last edited by lomedhel on Mon Aug 08, 2005 3:46 pm; edited 1 time in total |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Aug 05, 2005 11:41 am Post subject: |
|
|
That same section of the Handbook explains how to transfer the package files off the CD to your hard drive; if not that exact same section, there will at least be a link to the right documentation on that page. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
lomedhel n00b
Joined: 05 Aug 2005 Posts: 10 Location: Who cares, as long as we're together?
|
Posted: Fri Aug 05, 2005 4:33 pm Post subject: |
|
|
hmmm, didn't find it. Well, I'm strting again, with networking.
The network is automatically detected correctly, and I'm sharing a dial-up thru a windoze laptop
Though I hardly think connection would be fast enough to really download anything... If I really get struck, I'll ask for remote help...
Thanks again
Sam |
|
Back to top |
|
|
lomedhel n00b
Joined: 05 Aug 2005 Posts: 10 Location: Who cares, as long as we're together?
|
Posted: Sat Aug 06, 2005 9:50 am Post subject: |
|
|
Still nothing... Last night I spent some 2 hours updating my portage tree, then my connection was cut and everything lost. Gee. Still funny, installing windoze got angree over the most simple fault, but now I'm rather cool
I plan downloading the newest portage and burn it. Will this also update the portage tree?
What else would be advisable to download?
I want to download this at work with a DSL-connection, at home it would take me a lifetime!
Thanks again,
Sam |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Sat Aug 06, 2005 11:18 am Post subject: |
|
|
There are issues with the AMD64 Universal Installation CD. Sad that this isn't still part of the AMD64 Technotes Errata (or I missed it somehow) but there is a confirmed bugreport about it. |
|
Back to top |
|
|
lomedhel n00b
Joined: 05 Aug 2005 Posts: 10 Location: Who cares, as long as we're together?
|
|
Back to top |
|
|
koenderoo Guru
Joined: 03 Jan 2004 Posts: 514 Location: Zwolle, The Netherlands
|
Posted: Sat Aug 06, 2005 1:04 pm Post subject: |
|
|
Assuming you did not skip the section telling you to copy over the distfiles and you're having internet connection you should be able to get the missing packages.
I think to get everything speed up a bit, you should get your networking started, but still install without the option of having to use it. (I mean, you should not update your portage tree by emerge sync, but copy the distfiles and untar the snapshot).
When you get to the emerge -k gentoo-sources, you can then download the files. |
|
Back to top |
|
|
dgaffuri Advocate
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sat Aug 06, 2005 11:40 pm Post subject: |
|
|
If you look at the online version it says (look at the note)
Quote: | 7.b. Installing the Sources
Choosing a Kernel
The core around which all distributions are built is the Linux kernel. It is the layer between the user programs and your system hardware. Gentoo provides its users several possible kernel sources. A full listing with description is available at the Gentoo Kernel Guide.
For AMD64-based systems we have gentoo-sources (kernel v2.6 source patched with amd64 specific fixes for stability, performance and hardware support).
Choose your kernel source and install it using emerge.
Note: Running emerge gentoo-sources will fail due to a bug with the Universal Installation CD. Please make sure you run emerge =gentoo-sources-2.6.11-r1 instead. This has no further effect on your environment as Portage will automatically download a more recent kernel source when updating your system (after the installation).
Code Listing 2: Installing a kernel source
# echo "=sys-kernel/gentoo-sources-2.6.11-r1 ~amd64" >> /etc/portage/package.keywords
# emerge =gentoo-sources-2.6.11-r1
|
but you said that you run
Code: | emerge gentoo-sources |
Have you already tried this? |
|
Back to top |
|
|
lomedhel n00b
Joined: 05 Aug 2005 Posts: 10 Location: Who cares, as long as we're together?
|
Posted: Sun Aug 07, 2005 5:59 am Post subject: |
|
|
Strange... I have exactly that part of the handbook open in front of me,
Quote: | 7.b. Installing the Sources
Choosing a Kernel
The core around which all distributions are built is the Linux kernel. It is the layer between the user programs and your system hardware. Gentoo provides its users several possible kernel sources. A full listing with description is available at the Gentoo Kernel Guide.
For AMD64-based systems we have gentoo-sources (kernel v2.6 source patched with amd64 specific fixes for stability, performance and hardware support).
Choose your kernel source and install it using emerge.
Code Listing 2: Installing a kernel source
# emerge gentoo-sources
When you take a look in /usr/src you should see a symlink called linux pointing to your kernel source:
Code Listing 3: Viewing the kernel source symlink
# ls -l /usr/src/linux
lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -> linux-2.6.11-gentoo-r3
If this isn't the case (i.e. the symlink points to a different kernel source) change the symlink before you continue:
Code Listing 4: Changing the kernel source symlink
# rm /usr/src/linux
# cd /usr/src
# ln -s linux-2.6.11-gentoo-r3 linux
Now it is time to configure and compile your kernel source. You can use genkernel for this, which will build a generic kernel as used by the Installation CD. We explain the "manual" configuration first though, as it is the best way to optimize your environment.
If you want to manually configure your kernel, continue now with Default: Manual Configuration. If you want to use genkernel you should read Alternative: Using genkernel instead. |
Well, I try it this way. As I said, I already downloaded the patches. Could I use them?
I'm thinking of creating a new Universal CD, by replacing the existing tarballs with the newer ones that I downloaded. What do you think, would that work?
Sam |
|
Back to top |
|
|
dgaffuri Advocate
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sun Aug 07, 2005 9:02 am Post subject: |
|
|
These are the patches that are applied to vanilla kernel to produce the gentoo one, and you don't need to apply them if you emerge gentoo-sources.
The online version of the 2005.0 handbook have been updated after the CD have been produced, you can find it here
http://www.gentoo.org/doc/en/handbook/2005.0/handbook-amd64.xml
As you saw from the bug report linked in the Sven Vermeulen post there are several packages missing from the amd64 universal CD (including genkernel).
Finally, to build a live CD check the Wiki
http://gentoo-wiki.com/Index:HOWTO#LiveCDs[/url] |
|
Back to top |
|
|
lomedhel n00b
Joined: 05 Aug 2005 Posts: 10 Location: Who cares, as long as we're together?
|
Posted: Sun Aug 07, 2005 10:05 am Post subject: |
|
|
Thanks!
I was using the online version, and the link you gave me still didn't show anything else than what I quoted...
I'll be trying to build up a liveCD, and play some more with the install.
Thanks again everyone who replied! I consider this as solved. Any objections
Cheers
Sam _________________ Why live? There are better ways to spend your time!
- ever occured to you that your BIOS has something to do with personal bias? |
|
Back to top |
|
|
dgaffuri Advocate
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sun Aug 07, 2005 10:18 am Post subject: |
|
|
You're welcome
lomedhel wrote: | I was using the online version, and the link you gave me still didn't show anything else than what I quoted... |
Maybe we use different browsers
lomedhel wrote: | I consider this as solved. Any objections |
So please edit the top post and add [solved] to the subject. |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
|
Back to top |
|
|
lomedhel n00b
Joined: 05 Aug 2005 Posts: 10 Location: Who cares, as long as we're together?
|
Posted: Mon Aug 08, 2005 3:43 pm Post subject: |
|
|
I see... _________________ Why live? There are better ways to spend your time!
- ever occured to you that your BIOS has something to do with personal bias? |
|
Back to top |
|
|
|