Log in with root privileges, Change the directory on the cd-rom, Determine the ide drive by entering – Comtrol DM ATS-LNX User Manual
Page 25: Reformat the compact flash using this command, Determine the name of the file in the directory

Troubleshooting and Technical Support
25
Using the Recovery CD
To use the Recovery CD, you will need the following:
•
A PC with a Linux operating system.
Note: Make sure that the PC is dd capable and is able to access a compact
flash adapter or reader as a block device.
•
One of the compact flash adapters or readers:
-
IDE
Note: The IDE flash adapter must be a master with no other devices on
that channel because the recovery process is propagated to all
devices on the channel.
-
USB
-
PCMCIA
•
A compact flash.
Use the following procedure to recover the default ATS-LNX image onto a compact
flash.
1.
Install the compact flash adapter or reader using the instructions that came
with the device.
2.
Insert a compact flash into the compact flash adapter or reader.
3.
Log in with root privileges.
4.
Mount the CD-ROM drive. For example, on a Redhat machine:
mount /dev/cdrom
5.
Change the directory on the CD-ROM:
cd /mnt/cdrom
6.
Determine the IDE drive by entering:
ls /proc/ide
7.
Reformat the compact flash using this command:
dd if=/dev/zero of=/dev/
hdc
where
hdc
is the IDE drive from the previous step.
Step 7 takes five or more minutes to complete. The screen does not show
process, but the compact flash adapter or reader may have an LED that shows
activity. The reformat has completed when the system prompt returns.
hdc: hdc1
dd: writing to ‘/dev/hdc’: no space left on device
0+62977 records in
0+62976 records out
Note: The device name should reflect your device and the number of records
may be different depending on the version or compact flash.
8.
Change to the appropriate image directory on the CD.
cd /256_Image
or
cd /512_Image
Note: Make sure that you change to the directory that contains the image size
that reflects the size of the flash that you want to burn.
9.
Determine the name of the file in the directory:
ls