[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: your mail
> I got IBCS2 from internet and /shlib from SCO 5.0. I followed the
> instructions from /usr/src/linux/README to compile and install the
> kernel for Progress but I was not very successful. I got a kernel with
> size of 1083359. When I first installed Linux the size of the kernel
> was 449760. Why is the difference? I also tried to run /sbin/lilo
> but it gave me an error message of "Kernel /boolt/vmlinuz is too big".
> I will greatly appreciate your help. I am new in Linux environment.
>
> Thanks for your patience.
>
> 1. I got shlib from SCO 5.0 and put them in /shlib on Linux.
> 2. I got ibcs-2 library but I do not know where to put them.
> 3. I do not know how to initialize EMU_SCO=yes and *_TRACE=no.
> In what file (in what directory) should these variables set?
> 4. How to compile the kernel? How does the kernel know where
> /shlib and ibcs-2 files? (there is a file called ibcs2 in the
> /lib/terminfo/i directory is it the same????)
> 5. How to install the kernel?
I'll answer mostly #5 because that is where your problem currently is.
To compile a kernel, enter /usr/src/linux and run "make xconfig"
(if you're running X and have Tcl/Tk - recommended. If not try
"make menuconfig" or as a last resort "make config"). Answer all questions
to the best of your knowledge and be sure to enable ibcs2 support.
After completing the configuration sequence run "make dep ; make clean".
After that run "make zImage". After a relatively long time the kernel
compilation will finish - check that it didn't bomb out with an error.
If you compiled modules (and you should have), also run "make modules"
and after that "make modules_install".
If all went well, enter the directory /usr/src/linux/arch/i386/boot.
In that directory you will find the file zImage. THIS is your compressed
kernel, and not the 1MB vmlinux you probably tried using. Make
a backup of your previous kernel (probably /boot/vmlinuz) and copy
the newly compiled zImage in its place. Finally, run /sbin/lilo to reinstall
LILO (providing you're using LILO and not loadlin or something). Reboot
and you should be up and running with the new kernel.
If you have any further problems, read the Kernel-HOWTO for instructions
on kernel compilation (found in /usr/doc/HOWTO).
Shay
--
Shay Rojansky, roji@cs.huji.ac.il Finger for PGP public key
References: