On Wed, 7 Sep 2005, Basel Al-Mustafa wrote:


Here is what I am going to do before chroot:
[EMAIL PROTECTED]:~/tmp/linux-2.6.13$ make
CROSS_COMPILE=/cross-tools/bin/x86_64-pc-linux-gnu-
ARCH=x86_64 menuconfig
[EMAIL PROTECTED]:~/tmp/linux-2.6.13$ make
CROSS_COMPILE=/cross-tools/bin/x86_64-pc-linux-gnu-
ARCH=x86_64
[EMAIL PROTECTED]:~/tmp/linux-2.6.13$ make
CROSS_COMPILE=/cross-tools/bin/x86_64-pc-linux-gnu-
ARCH=x86_64 modules_install

Then I will copy the new kernel from x86_64, .config
and System.map to /boot. The last step will be to edit
lilo.conf and to run lilo.

Please correct me if any of the above commands is wrong.


I've never seen it done with the path specified as part of CROSS_COMPILE, but I don't see why that wouldn't work :)

But, as I said earlier, you can't use modules here, so modules_install is *wrong* : when you boot the new kernel, you will be using the root partition from your current install, with its 32-bit module_init_tools. I don't think they will understand 64-bit modules. [ if I'm wrong, feel free to point it out ]

Ken
--
 das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to