Gentoo Archives: gentoo-alpha

From: "Jean-Sébastien Guay" <jean_seb@×××××××××.ca>
To: gentoo-alpha@l.g.o
Subject: Re: [gentoo-alpha] compressed kernel file format?
Date: Thu, 13 Oct 2005 00:28:18
Message-Id: 434DAA24.40007@videotron.ca
In Reply to: [gentoo-alpha] compressed kernel file format? by Jeff Donsbach
1 Hi Jeff,
2
3 >I followed the instruction in the current Gentoo
4 >Handbook (Alpha edition), which says to do a "make &&
5 >make modules_install" (after a "make menuconfig" of
6 >course). Correct me if I'm wrong, but didn't it used
7 >to be something like "make bzimage" on Alpha? Is the
8 >handbook wrong?
9 >
10 >
11 Nope, the handbook isn't wrong. 'make bzImage' was used for 2.4.x
12 kernels I believe.
13
14 Just to be sure, check that you're copying the right file to your /boot
15 partition. it should be /usr/src/linux/arch/alpha/boot/vmlinux.gz .
16 Other images you may find in the directory structure seem to be
17 intermediate files, including the one that ends up in the kernel's root
18 directory (/usr/src/linux), which always struck me as being strange, but
19 hey, I'm no Linus Torvalds... :-)
20
21 I always do this after a kernel compile (I'm sure it's pretty standard
22 stuff, so it could be made into a script of some sort...) :
23 cp arch/alpha/boot/vmlinux.gz /boot/vmlinux.gz-<version>
24 cp System.map /boot/System.map-<version>
25 cp .config /boot/config-<version>
26 cd /boot
27 rm vmlinux.gz # remove symlink to old kernel
28 ln -s vmlinux.gz-<version> vmlinux.gz
29 rm vmlinux.gz-old # remove symlink to old old kernel (if that makes
30 sense...)
31 ln -s vmlinux.gz-<previous version> vmlinux.gz-old
32
33 I always keep entries in AlphaBIOS's boot menu that boot vmlinux.gz and
34 vmlinux.gz-old. It's proved to be a useful habit... :-) The third boot
35 option is a straight MILO prompt, for times when I need to boot off the
36 LiveCD or whatever.
37
38 Good luck,
39
40 J-S
41
42 --
43 ___________________________________________
44 Jean-Sébastien Guay jean_seb@×××××××××.ca
45 http://whitestar02.webhop.org/
46
47 --
48 gentoo-alpha@g.o mailing list

Replies

Subject Author
Re: [gentoo-alpha] compressed kernel file format? Jeff Donsbach <jeff_donsbach@×××××.com>