Hi all. I'm having some problems installing a new kernel. Let me start by saying that I'm not a newbie, but it's a long time since I compiled a custom kernel... I'm trying to compile a kernel for a SuSE 7.2 pro machine. I want to compile a special kernel since the machine will eventually boot from network, so it's going to have to contain the NIC drivers. It's also intended to be a firewall, so I really don't want to have to install gcc and the kernel source on the machine. So, I'm compiling the kernel on another machine and copying it across. However, when I try to boot the new custom kernel, I just get Uncompressing Linux..........OK, booting the kernel. And it hangs at that point. Not even Ctrl-Alt-Del will recover. So, what have I forgotten? I have: o Copied bzImage from the kernel area to /boot, which is in a suitable place on the disk o Run LILO (I'm not a total newbie, remember :-) o Run mk_initrd - it says that an initrd is not required - true, since pretty much everything required to boot is compiled directly in. I'm not trying to boot across the network yet, just check that the kernel boots at all... ClueBats readily accepted... -- David Smith Tel: +44 (0)1454 462380 (direct) STMicroelectronics Fax: +44 (0)1454 617910 1000 Aztec West TINA (ST only): (065) 2380 Almondsbury Home: 01454 616963 BRISTOL Mobile: 07932 642724 BS32 4SQ Work Email: Dave.Smith@st.com Home Email: David.Smith@ds-electronics.co.uk
Hi,
* Dave Smith;
So, what have I forgotten? I have: o Copied bzImage from the kernel area to /boot, which is in a suitable place on the disk What about System.map have you copied that one also ?
-- Togan Muftuoglu
* Togan Muftuoglu
Hi, * Dave Smith;
on 19 Oct, 2001 wrote: So, what have I forgotten? I have: o Copied bzImage from the kernel area to /boot, which is in a suitable place on the disk What about System.map have you copied that one also ?
That is not necessary, that is just a mapfile used when one wants to decode an oops. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
* Dave Smith
So, what have I forgotten? I have: o Copied bzImage from the kernel area to /boot, which is in a suitable place on the disk
What was the name you gave it in /boot?
o Run LILO (I'm not a total newbie, remember :-)
No errormsg whatsoever?
o Run mk_initrd - it says that an initrd is not required - true, since pretty much everything required to boot is compiled directly in.
Then remove the initrd line. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
On Fri, Oct 19, 2001 at 03:08:18PM +0200, mmj@suse.de wrote:
* Dave Smith
[Oct 19. 2001 14:45]: So, what have I forgotten? I have: o Copied bzImage from the kernel area to /boot, which is in a suitable place on the disk
What was the name you gave it in /boot?
/boot/vmlinuz.newkernel I edited /etc/lilo.conf to create a new boot option pointing to this kernel: image = /boot/vmlinuz.newkernel root = /dev/hdb3 label = newkernel
o Run LILO (I'm not a total newbie, remember :-)
No errormsg whatsoever?
No. Just the expected Added linux * Added memtest86 Added newkernel
o Run mk_initrd - it says that an initrd is not required - true, since pretty much everything required to boot is compiled directly in.
Then remove the initrd line.
From the lilo.conf? I'll try that tonight. Thanks.
This is where I start to fall over.
Hi Dave, I suggest you do a 'make cloneconfig' first to get the suse defaults, up ther version number in the top level makefile, make modules, make modules_install You will have a new set of modules in the directory of the new version under /lib/modules, all ready to copy across to the other PC. And don't forget to copy system.map for the new kernel. Rgds, Tony At 13:45 19/10/2001 +0100, you wrote:
Hi all. I'm having some problems installing a new kernel.
Let me start by saying that I'm not a newbie, but it's a long time since I compiled a custom kernel...
I'm trying to compile a kernel for a SuSE 7.2 pro machine. I want to compile a special kernel since the machine will eventually boot from network, so it's going to have to contain the NIC drivers. It's also intended to be a firewall, so I really don't want to have to install gcc and the kernel source on the machine. So, I'm compiling the kernel on another machine and copying it across.
However, when I try to boot the new custom kernel, I just get
Uncompressing Linux..........OK, booting the kernel.
And it hangs at that point. Not even Ctrl-Alt-Del will recover.
So, what have I forgotten? I have: o Copied bzImage from the kernel area to /boot, which is in a suitable place on the disk o Run LILO (I'm not a total newbie, remember :-) o Run mk_initrd - it says that an initrd is not required - true, since pretty much everything required to boot is compiled directly in.
I'm not trying to boot across the network yet, just check that the kernel boots at all...
ClueBats readily accepted...
-- David Smith Tel: +44 (0)1454 462380 (direct) STMicroelectronics Fax: +44 (0)1454 617910 1000 Aztec West TINA (ST only): (065) 2380 Almondsbury Home: 01454 616963 BRISTOL Mobile: 07932 642724 BS32 4SQ Work Email: Dave.Smith@st.com Home Email: David.Smith@ds-electronics.co.uk
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
participants (4)
-
Dave Smith
-
Mads Martin Joergensen
-
Togan Muftuoglu
-
Tony White