This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
CDROM
From Gentoo Wiki (test)
This article describes the setup of an internal optical drive like CD, DVD, and Blu-Ray drives.
Instalacja
Hardware detection
To choose the right driver, first detect the used storage controller. lspci can be used for this task:
root #
lspci | grep --color -E "IDE|SATA"
Jądro
Aktywuj następujące opcje jądra:
KERNEL Kernel options for optical storage media
Device Drivers ---> <*> Serial ATA and Parallel ATA drivers ---> [*] ATA ACPI Support # If the drive is connected to a SATA Port Multiplier: [*] SATA Port Multiplier support # Select the driver for the SATA controller, e.g.: <*> AHCI SATA support (ahci) # If the drive is connected to an IDE controller: [*] ATA SFF support [*] ATA BMDMA support # Select the driver for the 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
Usage
Systemy plików można montować na kilka sposobów:
- mount - Komenda do montowania systemu plików
- fstab - Automatyczne montowanie przy uruchamianiu.
- removable media - Montowanie na żądanie.
- AutoFS - Automatyczne montowanie na żądanie.
Rozwiązywanie problemów
See the Libata error messages article on the libata wiki.