« Snap! 1000/1100 Disassembly | Snap! Server Index | SnapOS Raw Image Creation »

***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 Injection

(Article ID: 001308)
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 and a network connection to the Internet.
  • You have a hard drive that is either blank, or contains data that you are not worried about losing.
  • You have a means of booting a Linux distribution that can use the aforementioned network connection to access the Internet.
  • The Linux distribution has a copy of dd.
  • The Linux distribution has a means of downloading files from a source on the Internet.
  • You have some experience with Unix/Linux systems.

Step-by-step instructions

In order to put the raw SnapOS image on the target hard drive, do the following:

  1. Install the target 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. Download a copy of the SnapOS raw image from the Internet and store it somewhere other than on the target hard drive (i.e. RAM drive or another storage device).
    NOTE:The raw SnapOS image is not the same thing as a SnapOS upgrade file (.SUP) from the vendor. It is a raw file that someone has created from a working SnapOS-based server. It is also worth mentioning that these files may be protected by copyright laws. Downloading these files (if you can find them) may be illegal in your area.
  5. Type the following command at the command prompt and press ENTER:
    dd if=/<path to file>/snap.bin of=/dev/X
    NOTE:The file name snap.bin represents the name of the file that you downloaded from the Internet. This file may need to be decompressed before running the above command. If this is the case, the name of the file that was produced from the decompression should be used. The "X" in /dev/X designates the target hard drive.
  6. After the command completes, shut down the PC and remove the target hard drive.
  7. Insert the target hard drive in to the server. Refer to one of the disassembly articles for hints on how to do this.
  8. Power up the server and hope for the best.
    NOTE:It is highly recommended that all of the server settings be reset to the factory defaults (see this article for resetting the server's settings). It is also recommended that you obtain the latest SnapOS update from the vendor to correct for any inconsistencies in the raw image (i.e. missing files that the operating system may require for some operations/configurations).

***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.