build a bootable kernel
Hi :
I have build a 2.5.39 kernel under redhat 7.2 use "make vmlinux" , the
output file vmlinux is 55M! and seems cannot be loaded by elilo .
Per my check the original kernel file default installed on the system is
only 1M , I think it should been compressed .
Anybody can provide me the right step to build a bootable kernel under
ia64 ?
_________________________________________________________________
������� MSN Explorer: http://explorer.msn.com/lccn/
Do "strip vmlinux"
or delete -g option in Makefile
and then compress the kernel with gzip or bzip2 if you want.
Kimi
Quoted 8 lines · On Mon, 28 Oct 2002 14:49:11 +0800 "dai yiyang" <[email protected]> wrote:
Hi :
I have build a 2.5.39 kernel under redhat 7.2 use "make vmlinux" , the
output file vmlinux is 55M! and seems cannot be loaded by elilo .
Per my check the original kernel file default installed on the system is
only 1M , I think it should been compressed .
Anybody can provide me the right step to build a bootable kernel under
ia64 ?
Signature · 1 line
Kimio Suganuma <[email protected]>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · dai yiyang
dai> Hi : I have build a 2.5.39 kernel under redhat 7.2 use "make dai> vmlinux" , the output file vmlinux is 55M! and seems cannot be dai> loaded by elilo . Per my check the original kernel file dai> default installed on the system is only 1M , I think it should dai> been compressed . Anybody can provide me the right step to dai> build a bootable kernel under ia64 ?
make compressed
will build you a stripped & compressed kernel in vmlinux.gz.
--david
thanks for your help
the kernel file has been built .
but how to load the kernel during system boot time ? I have edit the elilo.conf file add the new kernel's path . but the the system halted at "umcompressed kernel ......ok ."
I think its due to I do not install the bootloader , but I dont konw how to handle it :(
Regards,
DaiYiyang
Quoted 8 lines
From: David Mosberger <[email protected]>
Reply-To: [email protected]
To: "dai yiyang" <[email protected]>
CC: [email protected]
Subject: Re: [Linux-ia64] build a bootable kernel
Date: Sun, 27 Oct 2002 23:31:41 -0800Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
On Mon, 28 Oct 2002 14:49:11 +0800, "dai yiyang"
Quoted 8 lines · <[email protected]> said:
dai> Hi : I have build a 2.5.39 kernel under redhat 7.2 use "make dai> vmlinux" , the output file vmlinux is 55M! and seems cannot be dai> loaded by elilo . Per my check the original kernel file dai> default installed on the system is only 1M , I think it should dai> been compressed . Anybody can provide me the right step to dai> build a bootable kernel under ia64 ?
Quoted 5 lines
make compressed
will build you a stripped & compressed kernel in vmlinux.gz.
--david
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/lccn/
Hello,
Quoted 6 lines · dai yiyang
thanks for your help
the kernel file has been built .
but how to load the kernel during system boot time ? I have edit the elilo.conf file add the new kernel's path . but the the system halted at "umcompressed kernel ......ok ."
What kind of machine are you trying to boot? What is the .config file used to build the kernel? What is the content of elilo.conf?
With this information I may be able to tell you what's wrong.
Thanks.
Signature · 1 line
-Stephane
Quoted 9 lines · dai yiyang
Quoted 6 lines
thanks for your help
the kernel file has been built .
but how to load the kernel during system boot time ?
I have edit the elilo.conf file add the new kernel's path . but the the system halted at "umcompressed kernel ......ok ."What kind of machine are you trying to boot?
I use a compaq proliant DL590 ( Itanium -700Mhz)
Quoted 1 line
What is the .config file used to build the kernel?
I dont have the experience on build a ia64 kernel , so I use the
common config
My concern is in "IA-64 System type" wehther I should choose
DIG-compliant or generic
I use generic in my kernel configuration
Quoted 1 line
What is the content of elilo.conf?
image=vmlinuz-2.5.39
label=linux-2.5.39
initrd=initrd-2.5.39.img
read-only
root=/dev/ida/c0d0p3
the section for my new kernel was copied from my previous kernelsection , I think it should be correct.
Quoted 7 lines
With this information I may be able to tell you what's wrong.
Thanks.
Signature · 1 line
-Stephane