How to create initrd.img when compiling 2.6.16.20 for i386 on an AMD 64 (or from any other architecture)
Here is my dilemma:
I have compiled 2.6.16.20 kernel on my AMD 64 for i368 architecture, which went fine, including creation of the modules. Here are the steps I completed so far:
cd /usr/local/src/linux-2.6.16.20/
make mrporper
make O=/home/penguin/kernel/for_ntdebpc gconfig ARCH=i386
make O=/home/penguin/kernel/for_ntdebpc ARCH=i386
make O=/home/penguin/kernel/for_ntdebpc ARCH=i386 modules
make O=/home/penguin/kernel/for_ntdebpc ARCH=i386 INSTALL_MOD_PATH=/home/penguin/kernel/for_ntdebpc/modules modules_install
My problem is creating the initrd.img for the i386 architecture. What would be the proper command, executed from the proper path, with proper parameters to build a initrd.img against what I have already built in home/penguin/kernel/for_ntdebpc
If I execute for example:
mkinitrd -o /home/penguin/kernel/for_ntdebpc/initrd-2.6.16.20.img 2.6.16.20
This build against the current machine (I think...?)
Best regards to all, any all hints will be appreciated
Chris, Ottawa
ps:
http://infowars.com
http://ottawa.yi.org