Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] When did bzImage move?
Date: Sun, 01 Feb 2009 23:08:27
Message-Id: 5bdc1c8b0902011508k1f8f710cm950c0daf7f520651@mail.gmail.com
In Reply to: Re: [gentoo-user] When did bzImage move? by Dale
1 On Sun, Feb 1, 2009 at 2:03 PM, Dale <rdalek1967@×××××.com> wrote:
2 > Mark Knecht wrote:
3 >> On Sun, Feb 1, 2009 at 1:32 PM, KH <gentoo-user@××××××××××××××××.de> wrote:
4 >>
5 >>> Volker Armin Hemmann schrieb:
6 >>>
7 >>>> On Sonntag 01 Februar 2009, Dale wrote:
8 >>>>
9 >>>>
10 >>>>> Hi,
11 >>>>>
12 >>>>> I just rebuilt a newer kernel and noticed something. It seems bzImage
13 >>>>> has moved from arch/i386/boot/bzImage to arch/x86/boot/bzImage. When
14 >>>>> did this happen? Is x86 the same as i386?
15 >>>>>
16 >>>>>
17 >>>> yes. They merged the '386' and the amd64/x86_64 architecture into x86.
18 >>>>
19 >>>> And it happend a couple of kernel versions ago.
20 >>>>
21 >>>>
22 >>> I am running amd64 using 2.6.27-gentoo-r8 and in arch there still is x86
23 >>> an x86_64. Am I doing anything wrong or did I just missanderstand you?
24 >>>
25 >>> kh
26 >>>
27 >>
28 >> cd in there and look around. x86_64 only has a boot directory and when
29 >> you look at the bzImage file in it you find it's a link to
30 >> ../../x86/boot/bzImage so what's happening is all the files are under
31 >> x86 but if you say 'I built AMD64' and do cp arch/x86_64/boot/bzImage
32 >> you are really getting the file under x86.
33 >>
34 >> Hope this helps,
35 >> Mark
36 >>
37 >>
38 >>
39 >
40 > Well, when I tried to copy the old way, it just copied the link itself,
41 > then when I looked in /boot, it was red and really upset. I had to copy
42 > the kernel with Konqeror to get it into /boot, after finding the stupid
43 > thing. Don't get mad at me, every time I copied it it was a broken
44 > link. Sometimes you got to do what you got to do. :/
45 >
46 > Dale
47 >
48 > :-) :-)
49 >
50
51 Dale,
52 There isn't a reason in the world why I'd get mad at you! :-))))
53
54 I guess I'm not sure I know what you mean by 'when I tried to copy
55 it the old way'. I think my kernel management is far less
56 sophisticated than what I'm reading the real Linux guys here do. I'm
57 embarrased to say that the only thing in my /boot directory is a bunch
58 of bzImage files and a grub subdirectory. I have nothing else.
59 Basically I build the kernel using make && make modules_install and
60 then copy the kernel by hand using
61
62 cp arch/x86_64/boot/bzImage /boot/bzImage-2.6.27-gentoo-r8
63
64 or whatever the kernel is. I add that to grub.conf and I'm done. works for me.
65
66 Possibly you've done more or less the same thing but using i386
67 instead of x86_64 or x86? I think the i386/boot/bzImage file has
68 actually been a link to the x86 directory for awhile now. I looked in
69 an older 2.6.23 kernel on this machine and found an i386 directory but
70 didn't in the 2.6.24 kernel so I guess that's when things changed.
71
72 Hope this helps,
73 Mark

Replies

Subject Author
Re: [gentoo-user] When did bzImage move? Dale <rdalek1967@×××××.com>
Re: [gentoo-user] When did bzImage move? Neil Bothwick <neil@××××××××××.uk>