Hi guys! First post and all, but I'm finally back using Gentoo after a few years so I'll be returning here for sur![/code]

I started installing gentoo today, and am building from a stable ubuntu system. I've used this set of instructions (http://en.gentoo-wiki.com/wiki/DM-Crypt_with_LUKS) along with the handbook. Everything went fine until I began building setting up initramfs.

I have unpacked and configured the busybox source, however when I run 'make' it fails. I've checked around and similar errors have been reported due to not having glibc, in some cases findutils, and then binutils also, so I have emerged these also. Because of the error I have also emerged dev-libs/libmcrypt, bu these are the only deviations I've taken from the install procedure.

Has anyone encountered this before, or have any other suggestions for how I can get past this?

Oh great! I see the handbook includes these steps, I'll give it a go! I'll make a backup in case things break down, I hope it sets up the LUKS mapping when it's working! I'll report back shortly, thanks for your help!

I have unpacked and configured the busybox source, however when I run 'make' it fails. I've checked around and similar errors have been reported due to not having glibc, in some cases findutils, and then binutils also, so I have emerged these also. Because of the error I have also emerged dev-libs/libmcrypt, bu these are the only deviations I've taken from the install procedure.

Has anyone encountered this before, or have any other suggestions for how I can get past this?

yes. build busybox from within your gentoo chroot
you need only 'emerge busybox' with USE="static"
This flag is best set on a per-package basis - you do not want every package on your system to be statically linked.This is done via package.use (in the handbook)

there are some other packages emerge will tell you need to be built with either "static" or "static-libs" - add these to a package.use entry as well

a package.use file (mkdir /etc/portage/package.use and then edit a file named 'crypt' or anything else you feel like calling it - name is only cosmetically important) like this should do the trick