From: Miklos S. <mi...@sz...> - 2006-02-16 10:46:35
|
> I'm pretty new at using linux so bear with me. > > I'm working on a 90 meg hdd with ~56 meg free, using White Dwarf > linux. The development tools included with it that contain the kernel > source tree and gcc take up something like 600 meg. I was kind of > hoping to use fuse to mount a remote partition across the network to > install these to. Unfortunately Without the tree and gcc it seems > like I can't install fuse in the first place, kind of a catch 22. > Okay so I built the kernel on another comp, and therefore have the > configured kernel source tree available, but I can't figure out what > to do with it. The directions say this: > > ::::: > Building the kernel module needs a configured kernel source tree > matching the running kernel. If you build your own kernel this is no > problem. On the other hand if a precompiled kernel is used, the > kernel headers used by the FUSE build process must first be prepared. > There are two possibilities: > > 1. A package containing the kernel headers for the kernel binary is > available in the distribution (e.g. on Debian it's the > kernel-headers-X.Y.Z package for kernel-image-X.Y.Z) > 2. The kernel source must be prepared: > > * Extract the kernel source to some directory > * Copy the running kernel's config (usually found in > /boot/config-X.Y.Z) to .config at the top of the source tree > * Run make prepare > ::::: > > So I'm guessing I want to do number 2. But after that can I just copy > some package of kernel headers to the small machine? Yes, you can compile a kernel on a different machine, then copy the modules and all to your small machine and things should work fine. Miklos |