On Tue, 20 Mar 2001, Jacob Killian wrote:
> Thank you Mikkel!
>
> Just to double check, in my /tmp/kernel directory, I have:
>
> System.map-2.2.16-22
> initrd-2.2.16-22.img
> lib
> vmlinuz-2.2.16-22
>
> Where lib is a directory. Is this everything? If so, when I untar it on the
> new system, System.map, initrd, and vmlinuz all go to /boot, correct? Where
> does lib go? Do I copy the contents of the subdir "modules" (another
> subdir, 2.2.16-22TMP) to /lib/modules so that I create
> /lib/modules/2.2.16-22TMP/ ?
>
The /tmp/kernel/lib/modules directory should have a directory
2.2.16-22TMP that is the complete module tree. The complere
2.2.16-22TMP tree gets moved to /lib/modules/2.2.16-22TMP on the target
system.
This directory tree is created by the combination of:
export INSTALL_MOD_PATH=/tmp/kernel
make modules_install
The first command sets the root of where to install the modules, and the
second actualy installs the modules in
<root>/lib/modules/<kernel version>
If you do not set "INSTALL_MOD_PATH", then the modules are installed in
/lib/modules/<kernel version>.
>
> Thanks again! And thanks in advance!
>
> Jacob
>
>
You can untar the file any where you want, and move the contence of
tmp/kernel/boot to /boot, and the contence of /tmp/kernel/lib/modules to
/lib/modules.
You can also modify how you create the .tgz file:
cd /tmp/kernel
tar czvf termel.tgz ./
Then you can untar it in /, and it will put everything in the correct
place.
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list