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
In Reply to: [gentoo-alpha] compressed kernel file format? by Jeff Donsbach
Hi Jeff,

>I followed the instruction in the current Gentoo >Handbook (Alpha edition), which says to do a "make && >make modules_install" (after a "make menuconfig" of >course). Correct me if I'm wrong, but didn't it used >to be something like "make bzimage" on Alpha? Is the >handbook wrong? > >
Nope, the handbook isn't wrong. 'make bzImage' was used for 2.4.x kernels I believe. Just to be sure, check that you're copying the right file to your /boot partition. it should be /usr/src/linux/arch/alpha/boot/vmlinux.gz . Other images you may find in the directory structure seem to be intermediate files, including the one that ends up in the kernel's root directory (/usr/src/linux), which always struck me as being strange, but hey, I'm no Linus Torvalds... :-) I always do this after a kernel compile (I'm sure it's pretty standard stuff, so it could be made into a script of some sort...) : cp arch/alpha/boot/vmlinux.gz /boot/vmlinux.gz-<version> cp /boot/<version> cp .config /boot/config-<version> cd /boot rm vmlinux.gz # remove symlink to old kernel ln -s vmlinux.gz-<version> vmlinux.gz rm vmlinux.gz-old # remove symlink to old old kernel (if that makes sense...) ln -s vmlinux.gz-<previous version> vmlinux.gz-old I always keep entries in AlphaBIOS's boot menu that boot vmlinux.gz and vmlinux.gz-old. It's proved to be a useful habit... :-) The third boot option is a straight MILO prompt, for times when I need to boot off the LiveCD or whatever. Good luck, J-S -- ___________________________________________ Jean-Sébastien Guay jean_seb@×××××××××.ca -- gentoo-alpha@g.o mailing list


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