[uClibc]Development Systems Updated to uClibc 0.9.19

Erik Andersen andersen at codepoet.org
Fri Mar 7 13:51:01 UTC 2003


On Fri Mar 07, 2003 at 08:30:07AM -0500, Denise Hynson wrote:
> Erik,
> 
> I downloaded the root_fs-mipsel.bz2.  How to I extract it?

You first use bunzip to decompress it: 

    bunzip2 root_fs-mipsel.bz2

If for some reason you don't have bunzip2, you can grab it from
    http://sources.redhat.com/bzip2/

After decompressing it, you will have a 100 MB ext2 filesystem
filled with mipsel binaries that are all dynamically linked with
uClibc.  You can loop mount it, i.e.

    mount -t ext2 -o loop ./root_fs-mipsel /mnt

and look through the contents on /mnt

You can also 'dd' it to a partition on a spare hard drive.  Make
sure you have a hard drive that contains nothing of value since
it will be overwritten.  WARNING, the following can be very
dangerous. Please be sure you know what you are doing before
trying this. I am not responsible if you lose all your important
data.

Partition the drive.  Then, assuming your spare drive is
/dev/hdg, then you could do something like:
    
    dd if=./root_fs-mipsel of=/dev/hdg1
    e2fsck -f /dev/hdg1
    resize2fs -p /dev/hdg1

Which will overwrite /dev/hdg1 with the uClibc devel system, and
then expanded the filesystem to fill the whole /dev/hdg1
partition.  Then you should be able to add a kernel, plug the
system into mipsel system and it should actually boot.

I have not personally booted the mipsel dev system.  But I did
chroot into it on my Cobalt Qube2 and I was ablt to use gcc to
compile a few things vs uClibc, which I considered sufficient to
verify it is working.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list