Hi all How can i give the kernel its own name instead of 2.6.4-52-default i want to change it say to 2.6.4-52-mykernel, thanks? Regards _____________________________________________________________________ For super low premiums ,click here http://www.dialdirect.co.za/quote
it clown wrote:
Hi all
How can i give the kernel its own name instead of 2.6.4-52-default i want to change it say to 2.6.4-52-mykernel, thanks?
Regards _____________________________________________________________________ For super low premiums ,click here http://www.dialdirect.co.za/quote
The kernel gets its name from the Makefile in /usr/src/linux-2.6.4-52, you can change the gobbledegook in EXTRAVERSION= xxxxxxxx, to EXTRAVERSION=-52-mykernel, then recompile the kernel which will build it and install modules in the new directory /lib/modules/2.6.4-52-mykernel. My advice would be to e.g "cd /usr/src; cp -dpR linux-2.6.4-52 linux-2.6.4-52-mykernel; cd linux-2.6.4-52-mykernel" and follow the steps in the kernel HOWTO. If you are not familiar with building and installing new kernels, now's the time to start, it soon becomes a familiar task. I don't use the /boot/vmlinuz name for new kernels, I call them something else, like 2.6.7-rc2-mm2 and add lines in /boot/grub/menu.lst for them, that way you don't touch your existing setup. Under /boot I have 2.6.7-rc2-mm2, config-2.6.7-rc2-mm2, System.map-2.6.7-rc2-mm2 and added the following into /boot/grub/menu.lst title 2.6.7-rc2-mm2 kernel (hd0,0)/boot/2.6.7-rc2-mm2 root=/dev/hda1 vga=0x31a splash=silent desktop hdb=ide-cd showopts Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.
Thanks On Sun, 06 Jun 2004 14:40:40 +0100 Sid Boyce <sboyce@blueyonder.co.uk> wrote:
it clown wrote:
Hi all
How can i give the kernel its own name instead of 2.6.4-52-default i want to change it say to 2.6.4-52-mykernel, thanks?
Regards
_____________________________________________________________________
For super low premiums ,click here http://www.dialdirect.co.za/quote
The kernel gets its name from the Makefile in /usr/src/linux-2.6.4-52, you can change the gobbledegook in EXTRAVERSION= xxxxxxxx, to EXTRAVERSION=-52-mykernel, then recompile the kernel which will build it and install modules in the new directory /lib/modules/2.6.4-52-mykernel. My advice would be to e.g "cd /usr/src; cp -dpR linux-2.6.4-52 linux-2.6.4-52-mykernel; cd linux-2.6.4-52-mykernel" and follow the steps in the kernel HOWTO. If you are not familiar with building and installing new kernels, now's the time to start, it soon becomes a familiar task. I don't use the /boot/vmlinuz name for new kernels, I call them something else, like 2.6.7-rc2-mm2 and add lines in /boot/grub/menu.lst for them, that way you don't touch your existing setup. Under /boot I have 2.6.7-rc2-mm2, config-2.6.7-rc2-mm2, System.map-2.6.7-rc2-mm2 and added the following into /boot/grub/menu.lst
title 2.6.7-rc2-mm2 kernel (hd0,0)/boot/2.6.7-rc2-mm2 root=/dev/hda1 vga=0x31a splash=silent desktop hdb=ide-cd showopts Regards Sid.
-- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
_____________________________________________________________________ For super low premiums ,click here http://www.dialdirect.co.za/quote
On Sun, 2004-06-06 at 09:08, it clown wrote:
Hi all
How can i give the kernel its own name instead of 2.6.4-52-default i want to change it say to 2.6.4-52-mykernel, thanks?
Files can be renamed, but why you want to muck with kernel naming is beyond me. Might I suggest you try cp oldkernelfilename newkernelfilename and keep the original file around? Ont thing to keep in mind is that files names really ought to have some meaning behind them, and 2.6.4-52-default tells me exactly what that files is for. Mike -- ok I'm pedagogueic
participants (3)
-
it clown
-
Mike McMullin
-
Sid Boyce