Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no "make install" for the kernel on alpha?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Tue Aug 09, 2005 5:46 am    Post subject: no "make install" for the kernel on alpha? Reply with quote

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 do
Code:
make install
as 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
View user's profile Send private message
JPMRaptor
Guru
Guru


Joined: 04 Oct 2002
Posts: 410
Location: Maryland

PostPosted: Tue Aug 09, 2005 11:26 am    Post subject: Reply with quote

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
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1742
Location: Kentucky

PostPosted: Tue Aug 09, 2005 11:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Lupin_the_3rd
Apprentice
Apprentice


Joined: 03 Apr 2005
Posts: 168

PostPosted: Tue Aug 16, 2005 5:09 pm    Post subject: Re: no "make install" for the kernel on alpha? Reply with quote

alex.blackbit wrote:

i am using kernel 2.6.12.3 currently
after compiling i wanted to do
Code:
make install
as 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
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Sun Aug 21, 2005 7:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum