Write IMG To HD with DD
From Pro/Wiki
These image files contain the boot tracks of SnapOS v3.4.?
To use the files, download to your local harddrive "c:\".
Download Knoppix if you do not have it, or Digital Dolly Knoppix v4 now supports NTFS partitions as standard.
1. Copy the snap##00.bin file to a place you can get to using knoppix (usually c:\).
2. Download the knoppix cd.
3. Install the drive you want the OS on.
- I installed it as the slave on the Primary IDE port.
4. Insert the knoppix cd and boot from the CD.
5. Open a terminal window
6. Type "sudo su"
7. Type "dmesg|grep hd"
- locate the dev id of your drives
- Examples :
- hda1 = primary master = win98
- hdb = primary slave = snap hd
8. type "mount -t auto /dev/hda1 /mnt"
- This should mount hda1 your windows hard drive as /mnt
9. type "ls /mnt"
- You should see a listing of the files on the windows hard drive c:\
10. type "dd if=/mnt/snap##00.bin of=/dev/hdb"
- This just takes a minute and it is done.
11. Now power down and re-install the hard drive into the snap, as the only drive.
12. Power on the snap.
13. Let it initialize.
14. Now use assist or whatever method to get to the debug screen. (http://snapaddress/config/debug/)
15. Type "co de format 10000 /reinit"
- To format the drive on IDE2, use command "co de format 10010 /reinit" (Drives must be configured as individual disks to successfully run this command)
16. Reboot the server and it should format the drive to full capacity, <137gig.
Version 3.4.805 or SnapOS_version4.zip is required for harddisk > 137gig. To check version info click on the SnapAppliance Logo on the login screen.
However you should then be able to upgrade the OS and reinit the drives again to get the max size.
| FAQ's | Snap OS FAQs |
| Image Guides | Write IMG To HD with DD - Write HD To IMG File with DD - Copy HD to HD with DD |
| Useful Pages | Hard Drive upgrades - Snap Server Debug Commands - Snap Server Resets |
| LED's | Snap Server LED Patterns - Snap Server Software Update LED Patterns |
| Raid Stuff | Mirror Repair for Orphan - Raid Sets |

