Building Linux Kernels on Alphas
This isn't that hard, really. It just takes some patience...
For the most part, this is just like building a Linux kernel on a PC, so refer to my other page with the general directions.
Once you have built the Alpha Linux kernel
my other page
Presumably you followed
my suggestions for installing Linux on an Alpha,
so your SRM boot variables are set up correctly,
boot_osflags variable is
That means that your
looks like this, where
previous are the releases
of your current kernel and some previous kernel:
# aboot default configurations # NOTICE: You have a /boot partition. This means that # all kernel paths are relative to /boot/ 0:2/vmlinuz-current initrd=/initrd-current root=/dev/sda4 quiet 1:2/vmlinuz-previous initrd=/initrd-previous root=/dev/sda4 quiet
Let's say that your new kernel is release 2.6.xx
and you modified the
Makefile so it will identify
so it looks like this:
# aboot default configurations # NOTICE: You have a /boot partition. This means that # all kernel paths are relative to /boot/ 0:2/vmlinuz-2.6.x.y initrd=/initrd-2.6.x.y root=/dev/sda4 quiet 1:2/vmlinuz-current initrd=/initrd-current root=/dev/sda4 quiet 2:2/vmlinuz-previous initrd=/initrd-previous root=/dev/sda4 quiet
Reboot and enjoy!
If all went well, this will just simply work! But if not....
Carefully examine what you see on the console, to decide how far it got before things went wrong (and therefore what you need to fix!).
Reset the system to return to the SRM prompt.
Boot the kernel referred to above as
>>>boot -flags "1"
Or, boot the kernel referred to above as
previous with this:
>>>boot -flags "2"
Now return to the
step and get it right this time!
If it worked, and you want to copy the kernel to another Alpha:
tararchive including the relevant files and directory hierarchies:
tarfile to the destination system and extract it.
/etc/aboot.confon the destination system.