This article describes the setup of an internal optical drive like CD, DVD or Blu-Ray drives.
To choose the right driver, first detect the used storage controller. You can use lspci for this task:
lspci | grep --color -E "IDE|SATA"
You need to activate the following kernel options:
Device Drivers ---> <*> Serial ATA and Parallel ATA drivers ---> [*] ATA ACPI Support If your drive is connected to a SATA Port Multiplier: [*] SATA Port Multiplier support Select the driver for your SATA controller, e.g.: <*> AHCI SATA support (ahci) If your drive is connected to an IDE controller: [*] ATA SFF support [*] ATA BMDMA support Select the driver for your IDE controller, e.g.: <*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support (ata_piix) SCSI device support ---> <*> SCSI device support <*> SCSI CDROM support <*> SCSI generic support
File systems ---> CD-ROM/DVD Filesystems ---> <M> ISO 9660 CDROM file system support [*] Microsoft Joliet CDROM extensions [*] Transparent decompression extension <M> UDF file system support
You can mount the filesystems in several ways:
- Single mount.
- fstab - Automatic mount at boot time.
- removable media - mount at demand.
- AutoFS - Automatic mount at demand.
See libata wiki.