Linux Mint 19.3에서 광학 드라이브를 설치하는 데 문제가 있습니다. 이 주제에 대한 다른 게시물이 오래되었기 때문에 이것이 새로운 질문이라고 생각합니다.
내 시스템:
~$ uname -a
Linux chris-anthemum 5.3.0-51-generic #44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
장치를 /cdrom에 마운트해 보십시오:
~$ sudo mount /dev/sr0 /cdrom
mount: /cdrom: no medium found on /dev/sr0.
/mnt/dvd 디렉토리를 생성하고 여기에 마운트를 시도한 후:
~$ sudo mount /dev/sr0 /mnt/dvd
mount: /mnt/dvd: no medium found on /dev/sr0.
노트- /dev/sr0에서 미디어를 찾을 수 없더라도 드라이브를 꺼내고 광학 드라이브를 열 수 있습니다.
~$ eject /dev/sr0
lsblk는 sr0을 rom 유형으로 표시합니다.
~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 142.4M 1 loop /snap/opera/73
loop1 7:1 0 93.8M 1 loop /snap/core/8935
loop2 7:2 0 62.1M 1 loop /snap/gtk-common-themes/1506
loop3 7:3 0 28.9M 1 loop /snap/chromium-ffmpeg/15
loop4 7:4 0 55M 1 loop /snap/core18/1705
loop5 7:5 0 451.2M 1 loop /snap/pycharm-professional/192
loop6 7:6 0 48.3M 1 loop /snap/gtk-common-themes/1474
loop7 7:7 0 55M 1 loop /snap/core18/1754
loop8 7:8 0 142.4M 1 loop /snap/opera/74
loop9 7:9 0 93.9M 1 loop /snap/core/9066
loop10 7:10 0 445.1M 1 loop /snap/pycharm-professional/196
loop11 7:11 0 160.2M 1 loop /snap/gnome-3-28-1804/116
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 326G 0 part /
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 605.6G 0 part /home
sr0 11:0 1 1024M 0 rom
blkid에 내 광학 드라이브 항목이 표시되지 않습니다.
~$ blkid
/dev/sda1: UUID="f2c86904-6312-4656-acd1-afa304e9f867" TYPE="ext4" PARTUUID="a0cf3af1-01"
/dev/sda5: UUID="1746ce12-039c-4d19-a601-9889026f260a" TYPE="ext4" PARTUUID="a0cf3af1-05"
디스크를 삽입하면 lshw는 디스크가 없다고 표시합니다.
~$ sudo lshw
*-scsi:1
physical id: 2
logical name: scsi1
capabilities: emulated
*-cdrom
description: DVD-RAM writer
product: DVDRWBD BC-5540H
vendor: Optiarc
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/sr0
version: 201A
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=nodisc
cdrskin이 드라이브를 찾습니다:
~$ cdrskin --devices
cdrskin 1.4.8 : limited cdrecord compatibility wrapper for libburn
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: Overview of accessible drives (1 found) :
--------------------------------------------------------------------------
0 dev='/dev/sr0' rwrw-- : 'Optiarc ' 'DVDRWBD BC-5540H'
내 fstab 파일:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=f2c86904-6312-4656-acd1-afa304e9f867 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=1746ce12-039c-4d19-a601-9889026f260a /home ext4 defaults 0 2
/swapfile none swap sw 0 0
libdvd-pkg, vlc 플레이어, ubuntu-restricted-extras, libdvdcss2, libdvdnav4 및 libdvdread4도 설치했습니다. 모든 유형의 미디어 디스크(블루레이, DVD 또는 CD)를 삽입할 때 메시지가 표시되지 않았으며 다음에 어디로 가야 할지 확신할 수 없어 물 위를 걷고 있는 것처럼 느꼈습니다.
답변1
이 메시지는 no medium found
드라이브가 현재 비어 있음을 나타냅니다.
그렇게 생각하지 않는다면 다음과 같은 이유 때문일 수 있습니다.
드라이브의 미디어가 비어 있습니다.
드라이브의 미디어에 결함이 있습니다.
마모된 레이저
드라이브의 렌즈에 먼지가 가득합니다.
참고: 이것은 귀하가 에서 얻은 정보입니다 cdrecord -media-info -v
. 내 시스템에 여러 개의 CD 드라이브가 있고 일반적으로 필요하지 않은 장치 매개변수를 지정해야 합니다.
cdrecord dev=0,1,0 -media-info -v
Cdrecord-ProDVD-ProBD-Clone 3.02a10 2020/05/05 (i386-pc-solaris2.11 Copyright (C) 1995-2019 Joerg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Warning: Using USCSI interface.
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVD+-RW GSA-H53N'
Revision : 'B104'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: CD-R
Profile: DVD-RAM
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-R/DL sequential recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R (current)
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1114112 = 1088 KB
Drive pbuf size: 16777215 = 16383 KB
Current Secsize: 2048
Capacity Blklen/Sparesz. Format-type Type
334775 2048 0x00 Formatted Media
Mounted media class: CD
Mounted media type: CD-R
Disk Is not erasable
data type: standard
disk status: complete
session status: complete
BG format status: none
first track: 1
number of sessions: 1
first track in last sess: 1
last track in last sess: 1
Disk Is not unrestricted
Disk type: CD-DA or CD-ROM
last start of lead in: 716730
last start of lead out: 1166730
Track Sess Type Start Addr End Addr Size
==============================================
1 1 Data 0 334774 334775 -1
Last session start address: 0
Last session leadout start address: 334775
빈 드라이브를 사용하면 다음과 같은 결과를 얻을 수 있습니다.
cdrecord dev=0,1,0 -media-info -v
Cdrecord-ProDVD-ProBD-Clone 3.02a10 2020/05/05 (i386-pc-solaris2.11) Copyright (C) 1995-2019 Joerg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Warning: Using USCSI interface.
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVD+-RW GSA-H53N'
Revision : 'B104'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: none
Profile: DVD-RAM
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-R/DL sequential recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive pbuf size: 16777215 = 16383 KB
cdrecord: Warning: DMA resid 0 for 'read buffer', actual data is too short.
cdrecord: Warning: The DMA speed test has been skipped.
cdrecord: E/A-Fehler. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0E 00 00 00 00 3A 00 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
cdrecord: No disk / Wrong disk!
미디어 누락 외에 다른 문제가 있는 경우 드라이브에서 다른 오류 메시지가 표시됩니다.
답변2
CD를 사용하여 PC/노트북 부팅운전 중. My Mint도 동일한 작업을 수행합니다. 부팅하는 동안 CD 드라이브를 "볼 수" 없으면 CD 드라이브도 볼 수 없습니다.