Chapter 12. Using Bering-uClibc with an prefabricated USB HDD image

Revision History
Revision 1.12006-08-26JE
3.0-beta1 Version
Revision 1.12006-06-05JE
2.4.2 Version
Revision 1.02006-05-07JE
2.4.1 Version
Revision 0.12006-04-22JE
Initial version

Table of Contents

Preface
Bootable USB HDD

Preface

This document describes a method for installing the Bering-uClibc USB image on a USB based HDD. The Bering-uClibc team has created a downloadable image for this purpose.

If you know how to operate the dd utility in an *nix OS, you can download the image file here.

Please select the closest mirror.

Bootable USB HDD

Initial preparations

In order to use the above mentioned image, you will need a 128 MB USB based HDD. This is also called a USB-Stick, USB-memory stick (and many other things). A good idea would also be to check, that the PC you want to use the image on supports boot from USB devices.

This image is created for a 128Mb stick and will thus not work on smaller sticks. It has been successfully tested on larger size sticks..

This document presumes that you know your way around a *nix operating system.

This is how you do it

Start your *nix operating system of choice.

Plug the USB stick into an USB port.

Soon the console will show something like this:

       usb 5-5: new high speed USB device using address 3
       scsi5 : SCSI emulation for USB Mass Storage devices
         Vendor: Kingston  Model: DataTraveler 2.0  Rev: 6.16
         Type:   Direct-Access                      ANSI SCSI revision: 02
       Attached scsi removable disk sdg at scsi5, channel 0, id 0, lun 0
       USB Mass Storage device found at 3
       

In this case the USB stick is present at device /dev/sdg (Debian Sarge).

Download the image using your favourite tool. Here we have used wget to download from a mirror in Kent/England. Please select your closest mirror to save bandwith:

       #wget http://osdn.dl.sourceforge.net/sourceforge/leaf/Bering-uClibc_3.0-beta1_usb_bering-uclibc-iso.bin.img.gz 
       

Then unzip the image:

       #gunzip Bering-uClibc_3.0-beta1_usb_bering-uclibc-iso.bin.img.gz 
       

Now you can transfer the image to the USB stick:

      #dd if=Bering-uClibc_3.0-beta1_usb_bering-uclibc-iso.bin.img of=/dev/sdg
      

That's it!

Take the stick, plug it into the PC you want to use it on and reboot.