This is a discussion on compiling/installing a kernel on a sub-tree within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello, I'm trying to build a subtree on my system, that could be exported for a diskless workstation. If ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I'm trying to build a subtree on my system, that could be exported for a diskless workstation. If I compile a new kernel, what is the comand/option to install the kernel, the modules (and the system map ?) to this place rather than on the root system ? By the way, is it possible to build packages when one compile kernel and modules, so that it could be installed with installpkg ? thanks in advance, -- ^^ Gauthier (_____/°°-ç | \_`-" )/@mmm|| \nn \nn FOE-Belgium : http://www.amisdelaterre.be |
| |||
| Gauthier <alouest.du.soleil@nospam_skynet.be> wrote: > I'm trying to build a subtree on my system, that could be > exported for a diskless workstation. If I compile a new kernel, > what is the comand/option to install the kernel, the modules (and > the system map ?) to this place rather than on the root system ? rdev - use man rdev to look up the applicable options. > By the way, is it possible to build packages when one compile > kernel and modules, so that it could be installed with installpkg > ? This would seem to be pointless. Just tar the modules directory. cordially, as always, rm |
| |||
| Gauthier wrote: > Hello, > > I'm trying to build a subtree on my system, that could be exported for a > diskless workstation. If I compile a new kernel, what is the comand/option > to install the kernel, the modules (and the system map ?) to this place > rather than on the root system ? > > By the way, is it possible to build packages when one compile kernel and > modules, so that it could be installed with installpkg ? > > thanks in advance, Check out the .SlackBuild scripts out on Slackware-Current mirrors under the /source area. You could use those script(s) to build your own kernel, headers and all, (in theory) and then export the packages to the machine. -- BOFH Excuse #190: Proprietary Information. |
| |||
| Le Sun, 19 Sep 2004 08:49:32 GMT, Realto Margarino <guymacon@IMAmoron.org> a écrit: > >> I'm trying to build a subtree on my system, that could be >> exported for a diskless workstation. If I compile a new kernel, >> what is the comand/option to install the kernel, the modules (and >> the system map ?) to this place rather than on the root system ? > > rdev - use man rdev to look up the applicable options. Using rdev was not what I mean ; when you build a kernel, the steps are "make menuconfig - make dep - make bzImage - make modules - make modules_install". I was wondering if there was an option when you do the "make modules_install" to specify another target than the root. -- ^^ Gauthier (_____/°°-ç | \_`-" )/@mmm|| \nn \nn FOE-Belgium : http://www.amisdelaterre.be |
| |||
| Gauthier wrote: > Using rdev was not what I mean ; when you build a kernel, the steps are > "make menuconfig - make dep - make bzImage - make modules - make > modules_install". I was wondering if there was an option when you do the > "make modules_install" to specify another target than the root. chroot ? -- Old Man |
| ||||
| Gauthier wrote: > Le Sun, 19 Sep 2004 08:49:32 GMT, Realto Margarino <guymacon@IMAmoron.org> a écrit: > >>>I'm trying to build a subtree on my system, that could be >>>exported for a diskless workstation. If I compile a new kernel, >>>what is the comand/option to install the kernel, the modules (and >>>the system map ?) to this place rather than on the root system ? >> >>rdev - use man rdev to look up the applicable options. > > Using rdev was not what I mean ; when you build a kernel, the steps are > "make menuconfig - make dep - make bzImage - make modules - make > modules_install". I was wondering if there was an option when you do the > "make modules_install" to specify another target than the root. Make a directory like "/tmp/new-kernel". After the usual "make bzImage" and "make modules", copy the new kernel and System.map over and do a "make INSTALL_MOD_PATH=/tmp/new-kernel modules_install". You can now make a tgz-package by tar'ing the directory "/tmp/new-kernel". |