image.sh Instructions

  1. Build Machine
  2. release.sh Instructions
  3. image.sh Instructions
  4. Customization
  5. Write Image
  6. Post Installation
  7. Known Issues
Project Status
Please note that this project is no longer active.

If you are interested in taking over the code base please let me know.

Overview

The image.sh script takes the binary packages and uses the host build machine to create a compact flash bootable image.

The image.sh script is part of the zip on the Downloads page but can be viewed here. It will create an soekris.img file in /root/greenfrog/image.

The script is based on install.md and on Makefile.inc.

The script includes the following steps:

Compact Flash drive geometry

Compact flash cards are like hard drives and have certian physical geometries. The drive geometry that the destination device reports when the compact flash card is installed is required for the image.sh script.

Soekris drive geometry

To get compact flash card geometry from the Soekris device, insert the compact flash card into the Soekris, connect a serial console and turn it on. On the boot screen will display the drive geometry as the device detects it.

Tip
Hyperterm on Windows or minicom on Linux can be used with a serial cable as a serial console.
Example
If the Soekris net4501 displays this in the top right corner of the screen at startup:

LBA 1006-16-63

Then Cylinders-Heads-Sectors/Track are 1006-16-63 for this card.

Other device drive geometry

In general, most devices have a BIOS mode that will show the drive geometries of installed devices.

Running image.sh

Edit the greenfrog.conf and set the drive geometry variables:

CYLINDERS=1006
HEADS=16
SECTORSPERTRACK=63

To run the image.sh script, as root type:

./image.sh all
Please be aware
The root password for the image is taken from the build machine.

Next Customization.


Browse Space

- Pages
- Blog
- Labels
- Attachments
- Bookmarks
- Mail
- Advanced

Explore Confluence

- Popular Labels
- Notation Guide

Your Account

Log In

 

Other Features

Add Content