为什么我无法在 Linux Mint 19.3 中安装光驱

为什么我无法在 Linux Mint 19.3 中安装光驱

我在 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/笔记本电脑在驱动器中。我的 Mint 也做了同样的事情,如果在启动过程中无法“看到”插入的 CD 驱动器,它甚至不会看到 CD 驱动器。

相关内容