[flashboot] Script for diskimage-creation

Rickard Dahlstrand rd at tilde.se
Wed Nov 1 22:51:31 EST 2006


Hi,

Attached is a script that creates a diskimage-file for use with
flashboot. This means that you no longer need to connect the flashcard
to the system where you build flashboot. Instead you can gzip and move
the imagefile to your PC and use tools like dd or
http://m0n0.ch/wall/physdiskwrite.php to write it to your flashcard.

The script needs to be adapted to the geometry of the disk you are
using, right now this is done by editing the script but before we commit
I will add something that lets the user specify this in the command-line.

This scripts needs some testing and auditing before we can commit it, so
it would be great if everyone can help out.

Also, a great feature would be if the script could write directly to a
flash-device. Not critical, but that would make it one step less for the
people that use connect their flash to the system where the build
flashboot. Anyone with a flashreader on their build-system could

There is also two support-scripts that let you mount and unmount the
image after creation. These can be used for creating and editing
configuration after the image-creation process.

Also, boot.conf needs to be copied to inital-conf before you start. This
is the only file that is copied to the filesystem other than the
boot-loader and kernel.

Thanks, Rickard.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build-diskimage.sh
Url: http://lists.mindrot.org/pipermail/flashboot/attachments/20061101/7118b592/attachment.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mountimage.sh
Url: http://lists.mindrot.org/pipermail/flashboot/attachments/20061101/7118b592/attachment-0001.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: umountimage.sh
Url: http://lists.mindrot.org/pipermail/flashboot/attachments/20061101/7118b592/attachment-0002.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: boot.conf
Url: http://lists.mindrot.org/pipermail/flashboot/attachments/20061101/7118b592/attachment-0003.ksh 


More information about the flashboot mailing list