Gentoo Archives: gentoo-amd64

From: Martin Herrman <martin@×××××××.nl>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: Fwd: [install] emerge gentoo-sources fails
Date: Mon, 20 Oct 2008 17:37:19
Message-Id: 40bb8d3b0810201037q75b3cb5dkaf16b5a6a5f5dd73@mail.gmail.com
In Reply to: [gentoo-amd64] Re: Fwd: [install] emerge gentoo-sources fails by Duncan <1i5t5.duncan@cox.net>
1 Hi Duncan,
2
3 first of all: thanks for your extensive reply!
4
5 In the mean while I have survived today's traffic jams and got back
6 home to dive into this problem again.
7
8 I came up with the idea that maybe burning the iso image to CD has
9 failed, so I downloaded the iso again and... discovered that I was
10 using 2008.0 instead of 2008.0-r1.. So I downloaded the latest one,
11 burned it on CD and started the install again. Emerging the kernel
12 sources now works :-)
13
14 I have used slackware, redhat, mandrake and debian before (in that
15 order) and about 2 years ago switched to Ubuntu because it was so easy
16 to use. But it's also bloated (it is even hard to compile your own
17 kernel) and that's why I started to use Gentoo 2 months ago on my
18 notebook. I liked it (compared to FreeBSD: that ports system is
19 documented so badly..)!
20
21 I plan to compile my own kernel (as I did years ago before using
22 ubuntu), but are currently using genkernel to have my system at least
23 running well. When install is finished, I will configure the kernel on
24 my own.
25
26 Thanks for your help so far!
27
28 Regards,
29
30 Martin
31
32 On Mon, Oct 20, 2008 at 4:05 PM, Duncan <1i5t5.duncan@×××.net> wrote:
33 > "Martin Herrman" <martin@×××××××.nl> posted
34 > 40bb8d3b0810191143n628adc43n644e0c4e5686bc3d@××××××××××.com, excerpted
35 > below, on Sun, 19 Oct 2008 20:43:20 +0200:
36 >
37 >> I want to install gentoo on my brand new quadcore, following the amd64
38 >> handbook install manual. $emerge gentoo-sources fails:
39 >
40 > I don't know why you're getting binary data in your environment, unless
41 > it perhaps has to do with unicode or the like.
42 >
43 > Since I know bash scripting reasonably well (well enough to debug and
44 > write my own when necessary), I'd probably modify the ebuild and/or
45 > eclasses as necessary to trace it down, as I have with various other
46 > problems with ebuilds and initscripts over the years. (FWIW, taking apart
47 > initscripts back on Mandrake, in the 8.x era, was how I /learned/ bash.)
48 > However, that's not likely to work so well if you don't know bash and
49 > aren't inclined to try to learn it at this point.
50 >
51 > However, all that said, you're in luck to some extent, as it's the kernel
52 > you're having problems with, and it really doesn't matter where or how
53 > you get your kernel. Here, I already knew how to configure and build my
54 > own mainline kernel.org vanilla kernel (having learned in those first few
55 > weeks after switching to Linux, again, back on Mandrake), so I simply
56 > stuck whatever kernel the system decided it wanted in
57 > /etc/portage/profile/package.provided so portage didn't try to install
58 > it, and did my usual kernel.org kernel download, make oldconfig, build
59 > and install routine, much as I did back on Mandrake, with only a couple
60 > changes as appropriate for my then new Gentoo install.
61 >
62 > So I'd suggest doing similar. Download, configure, build and install
63 > whatever kernel you like, say the mainline Linus kernel.org kernel, stick
64 > a line in package.provided to tell portage not to worry about the kernel,
65 > and don't worry about the ebuild failure. Of course, doing it the first
66 > time while learning how will take some time, and your first kernel or two
67 > (or three or five or...) may not boot, and the next set may boot but be
68 > missing functionality if you were conservative in what you configured or
69 > you'll be building extra if you were liberal in what you configured, but
70 > there are good instructions for the basics, you can check to see what's
71 > loaded in your running (livecd or whatever) kernel and use that as a base
72 > config, and the second time will be easier, the third time easier than
73 > that, and before you know it, it'll be old hat. (Still, I sometimes
74 > wonder what the new config options do when I update and configure a new
75 > kernel, but it's fairly safe to say configure all new hardware out once
76 > you get a kernel configured for your system, and on the general
77 > functionality, configure it the best you can, and if it doesn't boot, or
78 > does but is missing something you need, boot back to the old kernel if
79 > necessary, change that bit of the config, rebuild, and retry.)
80 >
81 > Yes, all this a challenge and will take some time, but then you'll be
82 > left with a system better configured to your specific needs and a better
83 > understanding of how it works and what to do to fix it when it breaks.
84 > Gentoo was always targeted at the person who wasn't afraid of a bit of
85 > learning now and then. If you're more comfortable with the distribution
86 > making those types of decisions and shipping prebuilt binaries for you,
87 > lots of other distributions out there will be a much better fit for you
88 > than Gentoo.
89 >
90 > --
91 > Duncan - List replies preferred. No HTML msgs.
92 > "Every nonfree program has a lord, a master --
93 > and if you use the program, he is your master." Richard Stallman
94 >
95 >
96 >

Replies

Subject Author
[gentoo-amd64] Re: Fwd: [install] emerge gentoo-sources fails Duncan <1i5t5.duncan@×××.net>
Re: [gentoo-amd64] Re: Fwd: [install] emerge gentoo-sources fails Michael Moore <mikem.unet@×××××.com>