无法在 Ubuntu 16.04 上安装 CD/DVD

无法在 Ubuntu 16.04 上安装 CD/DVD

我是 Linux 新手,我想在 Ubuntu 16.04 上打开 CD-ROM,但打不开。我已经尝试了以下命令:

sudo mount /dev/cdrom 

结果:

mount: can't find /dev/cdrom in /etc/fstab

dmesg

结果:

[ 1254.691666] sr 1:0:0:0: [sr0] unaligned transfer
//a lot of these lines

[ 1244.741840] EXT4-fs (sr0): unable to read superblock
[ 1244.793837] sr 1:0:0:0: [sr0] unaligned transfer
[ 1244.793845] EXT4-fs (sr0): unable to read superblock
[ 1244.845877] sr 1:0:0:0: [sr0] unaligned transfer
[ 1244.845887] EXT4-fs (sr0): unable to read superblock
[ 1244.901832] sr 1:0:0:0: [sr0] unaligned transfer
[ 1244.901838] SQUASHFS error: squashfs_read_data failed to read block 0x0
[ 1244.901840] squashfs: SQUASHFS error: unable to read squashfs_super_block
[ 1254.689544] sr 1:0:0:0: [sr0] tag#19 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1254.689548] sr 1:0:0:0: [sr0] tag#19 Sense Key : Hardware Error [current] 
[ 1254.689550] sr 1:0:0:0: [sr0] tag#19 Add. Sense: Head select fault
[ 1254.689553] sr 1:0:0:0: [sr0] tag#19 CDB: Read(10) 28 00 00 00 00 00 00 00 02 00
[ 1254.689555] blk_update_request: I/O error, dev sr0, sector 0

我输入了这一行fstab,重新启动了,但它不起作用:

#/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0

当我使用弹出进入时,它会正常弹出。

我该怎么做才能打开这张 CD?

答案1

你的语法mount错误。删除你添加到文件系统. 然后尝试

sudo mount /dev/cdrom /mnt

如果 CD-ROM 出现在 /mnt 文件夹下 - 没问题,请根据需要进行调整。如果没有 - 您将获得正确的错误描述。很可能不会,因为 Ubuntu 中的 CD-ROM 安装应该是自动的。PS
无论您使用什么说明 - 它们都已过时。使用journalctl而不是dmesg

相关内容