View previous topic :: View next topic |
Author |
Message |
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Tue Aug 09, 2005 5:46 am Post subject: no "make install" for the kernel on alpha? |
|
|
as i wrote in several posts before i moved one installation of mine from x86 to alpha
finally with success
i am using kernel 2.6.12.3 currently
after compiling i wanted to doas many times before,
but i got the answer that there is no make target for install
i do not have enough background information to understand this i believe...
why is there a difference in the makefile from x86 to alpha?
please could somebody clear things up a little bit
thanks alot in advance
kind regards |
|
Back to top |
|
|
JPMRaptor Guru
Joined: 04 Oct 2002 Posts: 410 Location: Maryland
|
Posted: Tue Aug 09, 2005 11:26 am Post subject: |
|
|
I'm aware of a modules_install target for the kernels, but I've never seen an install target. Everything I've ever seen tells you to manually copy things over to your /boot directory to "install" the new kernel. _________________ Underwater photo gallery
New pictures, Oct 2005 |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Tue Aug 09, 2005 11:39 am Post subject: |
|
|
JPMRaptor wrote: | I'm aware of a modules_install target for the kernels, but I've never seen an install target. Everything I've ever seen tells you to manually copy things over to your /boot directory to "install" the new kernel. |
There indeed is a make install, at least on x86's.
It copies vmlinux to /boot/vmlinuz-kernel-version and symlinks /boot/vmlinuz to it, renames your old kernel to /boot/vmlinuz-kernel-version-old and symlinks /boot/vmlinuz-old to it, updates lilo.conf (and grub/menu.lst?), then asks if you want to run lilo if that is your boot manager.
Quite handy actually B-) _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Tue Aug 16, 2005 5:09 pm Post subject: Re: no "make install" for the kernel on alpha? |
|
|
alex.blackbit wrote: |
i am using kernel 2.6.12.3 currently
after compiling i wanted to doas many times before,
but i got the answer that there is no make target for install |
On alpha, here's what you do to build and install a kernel on alpha:
cd /usr/src/linux
make menuconfig (set up your kernel how you like)
make
make modules install
cp arch/alpha/boot/vmlinux.gz /boot/vmlinux-2.6.12.3.gz
cp ./System.map /boot/System.map-2.6.12.3.gz
cp ./.config /boot/config-2.6.12.3
ln -s /boot/vmlinux-2.6.12.3.gz /boot/vmlinux.gz
make sure your /etc/aboot.conf is configured correctly
good luck! _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Sun Aug 21, 2005 7:58 am Post subject: |
|
|
thank you for the answer
i do know how to compile and install a kernel on my alpha
that's no problem
i just wondered why there is a "little helper" on the one architecture
and it isn't there on the other
do you think it would be possible to make such an install target?
i believe somebody would have to hack some things in the makefile??? |
|
Back to top |
|
|
|