Compiling kernel for remote machine
OK, Having some problems with a remote server I'm trying to install.
The crux of the problem is the complete lack of storage only 500mb machine. I installed what i thought was the smallest install i could, I need to recompile the kernel tho. Installed the kernel sources and set about configuring. Mid-compile it ran out of space.... :(
once I've got the kernel compiled it's a non-issue as the sources can be removed and free up enough space for the rest of the work I need to do.
My two questions are....
A) What is the bare minimum I need installed in order to recompile the kernel?
B) I'm ssh-ing into this box from another linux box.. Can i do the kernel compilation on this machine or somehow compile from it's sources?
I've never done such thing before but maybe following link will be helpful for you (hopefully): http://web.archive.org/web/200008230...g_kernels.html
Why don't you compile the kernel on another machine and just copy it over? As long as they are both x86's it doesn't cause a problem as long as you compile the kernel with the correct options for the machine it will be running on.
Re: Compiling kernel for remote machine
I've Followed the guide suggested by pesho_p.
I now have a remote box with 2 kernels
I've copied the 2.4.18-1 directory to /lib/modules/2.4.18-1
and System.map now points to System.map-2.4.18-1
Lilo is configured to boot either kernel...
However the old kernel still works but the new one is buggered..
On selecting the new (vmlinuz-2.4.18-1) kernel the machine reboots!?!? I'm sure I've seen this happen before but i can't remember why?
What am I doing wrong?
|All times are GMT -5. The time now is 01:55 PM.|