You are not logged in.

#1 2009-05-08 04:17:52

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Building a 32 bit kernel in a 32 bit chroot

I just setup a 32bit chroot so i could try out the Linux Unified Kernel  project since it wouldnt build under arch 64 (something about wrong ELF libraries). I got everything setup and I was about to run the install script but realized that after going through all that work of compiling the kernel and building the LUK module that it might not work for some reason. I figured i'd ask first before i wasted 2-3 hours smile

Offline

#2 2009-05-08 16:38:56

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: Building a 32 bit kernel in a 32 bit chroot

I can't see this working under arch64 but I don't see any reason why it wouldn't work under arch32

Offline

#3 2009-05-08 17:21:26

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Building a 32 bit kernel in a 32 bit chroot

Well I build my custom kernel for a slow 32bit laptop on my fast 64bit laptop in a 32bit chroot. Works great.
EDIT: just note that you'll need to boot with that kernel if you want to use any modules compiled for it. Which might be difficult unless your chroot is on a separate partition that you could use as a root partition. However I believe you can at least run it in qemu.

Last edited by bender02 (2009-05-08 17:23:08)

Offline

#4 2009-05-09 07:19:11

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: Building a 32 bit kernel in a 32 bit chroot

crap i didnt think about the booting part (d'oh!) i had wrongly assumed that the 32bit kernel would boot off of my 64 bit distro. i might just install arch 32 anyway along side my 64, i was contemplating it anyway since some things either dont work well or dont work at all in arch 64 and i dont really notice a speed difference between the too. plus i edited my custom install script so it will give me another chance to test it out big_smile

Offline

Board footer

Powered by FluxBB