Difference between revisions of "Reading 5.25" Floppy Disks"

From reBiND Documentation
Jump to: navigation, search
(Created page with "This article presumes that the reader has a working 5.25" floppy drive, a connector cable and a computer that has a corresponding connector on the motherboard (34 pin ATA/ATAPI)....")
 
(more details)
Line 2: Line 2:
  
 
* Open the computer and position the drive in an empty slot in the drive rack. You might need to remove a small metal sheet and the corresponding plastic cover from the case.  
 
* Open the computer and position the drive in an empty slot in the drive rack. You might need to remove a small metal sheet and the corresponding plastic cover from the case.  
* Connect the drive to the main board using the connector cable. The cable itself can only be connected in one way to the drive because of the plastic division bar in the connector. However, it might be possible to connect the cable in the wrong position to the motherboard.  
+
[[File:Comparison_Connector.jpg|thumb|right|500px]]
 +
* <p>Connect the drive to the main board using the connector cable. The cable itself can only be connected in one way to the drive because of the plastic division bar in the connector. However, it might be possible to connect the cable in the wrong position to the motherboard.  
 +
 
 +
: The image shows the ends of two different floppy drive connectors. These ends are used to connect the cable to the motherboard. One of the connectors has a plastic knob on the long side, whereas the other one has none. This means that the connector on the right could be plugged in wrongly. If the connector doesn't have a plastic knob, but the socket has a notch for connectors that do have one, then the connector has to be plugged in with the two dents (which are present at both models) facing the side of the notch.
 +
 
 +
: <span style="color:red">'''Warning:''': Connecting the cable in the wrong way can destroy the floppy disk and make it unreadable and unusable.</span></p>
 
* Connect the electricity cable to the drive.
 
* Connect the electricity cable to the drive.
  
TODO:Warnig with photo
+
* Setting the drive in the BIOS of the computer. This step greatly depends on the manufacturer and the model of the computer. The BIOS can usually be entered by either pressing "Del", "Esc", or one of the function keys (F1-F12). The new floppy drive has to be selected as one of the floppy drives of this computer. It is important to note whether it is selected as the primary or secondary floppy drive, as this might has an influence on the later steps. For this tutorial the 5.25'' floppy drive was selected as the secondary floppy drive, since the already present 3.5'' floppy drive remains selected as the primary floppy drive.
TODO: twist in connector cable
+
 
 +
* The following steps for reading the data from the floppy drive where done using a Linux distribution called [http://www.damnsmalllinux.org/ Damn Small Linux (DSL)]. It is a small Linux system which can be run from a CD without installing any additional software. The following steps can however also be done using any other Linux system, regardless of whether it is run from a Live-CD or installed).
 +
 
 +
* Once Linux has booted, the user should open the Linux shell and create a directory "data" within the current home directory. The shell shortcut for the current home directory is <code>~</code> and on DSL the home directory is <code>/home/dsl/</code>. The command to create that directory would therefore be:  
  
 
* wiring of floppy drive
 
* set drive in BIOS
 
* boot Linux
 
 
  mkdir /home/dsl/data
 
  mkdir /home/dsl/data
  
 +
* If it doesn't already exist, one should also create a directory in which the floppy drive can be mounted. On DSL the directory /mnt/floppy already exists, but any other empty directory will work as well, e.g. <code>/home/dsl/floppy</code>. So if one wants to use a different directory or the default directory doesn't exist, one can create a new directory analog to previous command.
  
 +
* Next the step would be to mount the floppy drive.
 
  sudo mount -r -t msdos /dev/fd1 /mnt/floppy
 
  sudo mount -r -t msdos /dev/fd1 /mnt/floppy
 +
 +
** <code>'''sudo'''</code> means that the command will be executed as the superuser.
 +
** <code>'''mount'''</code> is the actual mount command.
 +
** <code>'''-r'''</code> means that the drive is read-only.
 +
** <code>'''-f msdos'''</code> means that the floppy drive is DOS formatted. The alternative would be <code>-f msdos</code>.
 +
** <code>'''/dev/fd1'''</code> is the floppy device, if the floppy drive is selected as the secondary floppy drive. If the floppy drive is selected as the primary floppy drive, one has to use <code>/dev/fd0</code>.
 +
** <code>'''/mnt/floppy'''</code> is the directory to which the floppy disk will be mounted.
 +
 
  cd /mnt/floppy
 
  cd /mnt/floppy
 
  ls -l
 
  ls -l

Revision as of 12:04, 4 December 2012

This article presumes that the reader has a working 5.25" floppy drive, a connector cable and a computer that has a corresponding connector on the motherboard (34 pin ATA/ATAPI).

  • Open the computer and position the drive in an empty slot in the drive rack. You might need to remove a small metal sheet and the corresponding plastic cover from the case.
  • Connect the drive to the main board using the connector cable. The cable itself can only be connected in one way to the drive because of the plastic division bar in the connector. However, it might be possible to connect the cable in the wrong position to the motherboard.

The image shows the ends of two different floppy drive connectors. These ends are used to connect the cable to the motherboard. One of the connectors has a plastic knob on the long side, whereas the other one has none. This means that the connector on the right could be plugged in wrongly. If the connector doesn't have a plastic knob, but the socket has a notch for connectors that do have one, then the connector has to be plugged in with the two dents (which are present at both models) facing the side of the notch.
Warning:: Connecting the cable in the wrong way can destroy the floppy disk and make it unreadable and unusable.

  • Connect the electricity cable to the drive.
  • Setting the drive in the BIOS of the computer. This step greatly depends on the manufacturer and the model of the computer. The BIOS can usually be entered by either pressing "Del", "Esc", or one of the function keys (F1-F12). The new floppy drive has to be selected as one of the floppy drives of this computer. It is important to note whether it is selected as the primary or secondary floppy drive, as this might has an influence on the later steps. For this tutorial the 5.25 floppy drive was selected as the secondary floppy drive, since the already present 3.5 floppy drive remains selected as the primary floppy drive.
  • The following steps for reading the data from the floppy drive where done using a Linux distribution called Damn Small Linux (DSL). It is a small Linux system which can be run from a CD without installing any additional software. The following steps can however also be done using any other Linux system, regardless of whether it is run from a Live-CD or installed).
  • Once Linux has booted, the user should open the Linux shell and create a directory "data" within the current home directory. The shell shortcut for the current home directory is ~ and on DSL the home directory is /home/dsl/. The command to create that directory would therefore be:
mkdir /home/dsl/data
  • If it doesn't already exist, one should also create a directory in which the floppy drive can be mounted. On DSL the directory /mnt/floppy already exists, but any other empty directory will work as well, e.g. /home/dsl/floppy. So if one wants to use a different directory or the default directory doesn't exist, one can create a new directory analog to previous command.
  • Next the step would be to mount the floppy drive.
sudo mount -r -t msdos /dev/fd1 /mnt/floppy
    • sudo means that the command will be executed as the superuser.
    • mount is the actual mount command.
    • -r means that the drive is read-only.
    • -f msdos means that the floppy drive is DOS formatted. The alternative would be -f msdos.
    • /dev/fd1 is the floppy device, if the floppy drive is selected as the secondary floppy drive. If the floppy drive is selected as the primary floppy drive, one has to use /dev/fd0.
    • /mnt/floppy is the directory to which the floppy disk will be mounted.
cd /mnt/floppy
ls -l
cp -r -p * /home/dsl/data
cd /home/dsl/
zip -r data01.zip /home/dsl/data
rm -fr /home/dsl/data/*
sudo umount /dev/fd1