The name of your CD-ROM device depends on how the drive is hooked up to your IDE or SATA controller. If your system uses IDE, the following device names are possible:
| Device name | Description |
| /dev/hda | Master device on first IDE controller |
| /dev/hdb | Slave device on first IDE controller |
| /dev/hdc | Master device on second IDE controller |
| /dev/hdd | Slave device on second IDE controller |
Among the above, /dev/hda is very unlikely to be your CD-ROM device (this is normally the device name of your hard disk). A more likely possibility is /dev/hdc.
If your system uses SATA (Serial ATA), use this table:
| Device name | Description |
| /dev/scd0 | First SATA CD-ROM device |
| /dev/scd1 | Second SATA CD-ROM device |
| /dev/scd2 | Third SATA CD-ROM device |
| /dev/scd3 | Fourth SATA CD-ROM device |
Most of the time, your SATA CD-ROM device will be /dev/scd0.