next up previous contents
Next: Populating the Root File Up: Getting Linux into Small Previous: Building Busybox   Contents

Other Essential Binaries

While Busybox offers us many essential Unix utilities, we still miss a few essential programs for our mission. We cannot partition a hard disk and we cannot create or repair ext2 file systems. Busybox can be made to include mkfs and fsck for Minix file systems, but not for the much more common Ext2 file system. Both util-linx and e2fsprogs complain if you had not built uClibc with large file support.

First start another shell and type the following command:

export PATH=/home/lennartb/myboot/uclibc-dev/bin:$PATH
From now on, the uClibc version of gcc will be used instead of the normal version.

For now we need util-linux only for the fdisk utility. The build procedure is as follows:

Now we will build e2fsprogs as follows:

This is the time to build any other programs you will need. Link them with uClibc and move them to the one of the binary subdirectories in the myboot/rootfs directory. If linking with uClibc does not work, try to link statically using the ordinary gcc.


next up previous contents
Next: Populating the Root File Up: Getting Linux into Small Previous: Building Busybox   Contents
Lennart Benschop 2003-05-29