« SnapOS Raw Image Injection | Snap! Server Index

***DISCLAIMER***
The author of this site makes no warranties, express or implied, and assumes no responsibility for the use of the materials presented here. Any use of these materials is strictly at the risk of the user.

SnapOS Raw Image Creation

(Article ID: 001309)
Summary

This article was generated from a document that was originally intended for internal use only. It has been adapted for more generalized situations. You will likely have to make some changes for your specific situation. This article assumes the following:

  • You have experience installing, configuring, and removing a hard drive.
  • You have a PC that has an empty drive bay.
  • You have a means of booting a Linux distribution.
  • The Linux distribution has a copy of dd.
  • The PC has a storage device large enough to store and manipulate a file approximately 25MB in size.
  • You have some experience with Unix/Linux systems.

Step-by-step instructions

In order to create a raw SnapOS image, do the following:

  1. Install the Snap! Server's hard drive in the PC.
  2. Boot the PC using the Linux distribution you have either on a floppy disk, CD, DVD or some other bootable storage device.
  3. Log on to the Linux distribution (preferably as root).
  4. Type the following command at the command prompt and press ENTER:
    dd if=/dev/X of=/<path to file>/snap.bin count=50000
    NOTE: The "X" in /dev/X designates the Snap! Server's hard drive. It is recommended that you write down a checksum for this file so that you know that it has not been altered. It is also recommended, but not required, that the resulting image file be compressed. It has been reported that the 25MB image file can be compressed down to as little as 3MB using programs like gzip.
  5. After the command completes, copy the raw image file to a more permanent location (i.e. copy to another hard drive, burn to a CD, or move to a network share).
  6. Shut down the PC and remove the Snap! Server's hard drive.
  7. Reinstall the hard drive in to the Snap! Server. Refer to one of the disassembly articles for hints on how to do this.
  8. Power up the Snap! Server and make sure that everything is still working properly.

***DISCLAIMER***
The author of this site makes no warranties, express or implied, and assumes no responsibility for the use of the materials presented here. Any use of these materials is strictly at the risk of the user.

Comments: (Closed)

***DISCLAIMER***
The author of this site makes no warranties, express or implied, and assumes no responsibility for the use of the materials presented here. Any use of these materials is strictly at the risk of the user.