How to compile Busybox using uclibc

Rich Felker dalias at aerifal.cx
Thu Jul 27 05:16:10 PDT 2006


On Thu, Jul 27, 2006 at 01:15:26PM +0530, Meenal Gupta, Noida wrote:
> 
> hello,
> I am a newbie in linux and i am stucked in the problem how to compile
> busybox using uclibc. i took the pre compiled Uclibc for i386. I m not
> using any cross-compiler, and followed the following steps
> 
> *	Download root_fs_i386.bz2 from uclibc.org 
> *	bunzip2 root_fs_i386.bz2 
> *	mkdir root_fs 
> *	su root 
> *	mount -o loop root_fs_i386 root_fs 
> *	/usr/sbin/chroot root_fs/bin/su -
> 
> then it gives the message 
>  
> /usr/sbin/chroot: cannot change root directory to root_fs/bin/su: Not a
> directory

Because you forgot to specify where to chroot to. The first argument
to chroot is the path to the new root. The second one is the command
to run.

Rich



More information about the busybox mailing list