我似乎无法安装光驱。我尝试了此站点上的多种解决方案,但均无济于事。我也无法在文件浏览器中看到该设备。驱动器中有一张 DVD。我在 HP g60-235dx 便携式电脑上运行 12.04。下面有一个指向规格的链接。我还将列出我尝试过的方法(我现在可以找到的)。我知道驱动器正在运行,因为就在 Windows 7 崩溃并且我的 MBR 崩溃之前,我还在正常观看电影。我对 Linux 还很陌生,所以不要以为我什么都知道。好的,以下是我尝试过的方法:
sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list
sudo apt-get --quiet update
sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring
sudo apt-get --quiet update
sudo apt-get install libdvdcss2
dmesg | grep sr0
(无输出)
apt-get install libdvdnav4
(已安装且最新)
sudo /usr/share/doc/libdvdread4/install-css.sh
ls -l /dev/cdrom /dev/cdrw /dev/dvd /dev/dvdrw /dev/scd0 /dev/sr0
ls: cannot access /dev/scd0: No such file or directory
lrwxrwxrwx 1 root root 3 Sep 10 03:51 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 Sep 10 03:51 /dev/cdrw -> sr0
lrwxrwxrwx 1 root root 3 Sep 10 03:51 /dev/dvd -> sr0
lrwxrwxrwx 1 root root 3 Sep 10 03:51 /dev/dvdrw -> sr0
brw-rw----+ 1 root cdrom 11, 0 Sep 10 03:51 /dev/sr0
wodim --devices
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
0 dev='/dev/sg1' rwrw-- : 'TSSTcorp' 'CDDVDW TS-L633M'
-------------------------------------------------------------------------
sudo lshw optical
*-cdrom
description: DVD-RAM writer
product: CDDVDW TS-L633M
vendor: TSSTcorp
physical id: 1
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: 0200
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=nodisc
sudo lshw | grep cdrom
*-cdrom
logical name: /dev/cdrom
便携式规格表:
http://www.cnet.com/laptops/hp-g60-235dx/4507-3121_7-33496192.html
如果您需要更多信息...请告诉我。
更新
运行 sudo apt-get install --reinstall udisks、注销并重新登录导致出现错误消息“内部错误”。
运行 udisks --mount /dev/sr0 并使用驱动器中的光盘返回:“安装失败:安装错误:安装:在 /dev/sr0 上未找到介质”
在驱动器中没有磁盘的情况下运行 wodim --prcap dev=/dev/sr0 将返回:
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identification : 'CDDVDW TS-L633M '
Revision : '0200'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Drive capabilities, per MMC-3 page 2A:
Does read CD-R media
Does write CD-R media
Does read CD-RW media
Does write CD-RW media
Does read DVD-ROM media
Does read DVD-R media
Does write DVD-R media
Does read DVD-RAM media
Does write DVD-RAM media
Does support test writing
Does read Mode 2 Form 1 blocks
Does read Mode 2 Form 2 blocks
Does read digital audio blocks
Does restart non-streamed digital audio reads accurately
Does support Buffer-Underrun-Free recording
Does read multi-session CDs
Does read fixed-packet CD media using Method 2
Does not read CD bar code
Does read R-W subcode information
Does not return R-W subcode de-interleaved and error-corrected
Does read raw P-W subcode data from lead in
Does return CD media catalog number
Does return CD ISRC information
Does support C2 error pointers
Does not deliver composite A/V data
Does play audio CDs
Number of volume control levels: 256
Does support individual volume control setting for each channel
Does support independent mute setting for each channel
Does not support digital output on port 1
Does not support digital output on port 2
Loading mechanism type: tray
Does support ejection of CD via START/STOP command
Does not lock media on power up via prevent jumper
Does allow media to be locked in the drive via PREVENT/ALLOW command
Is not currently in a media-locked state
Does not support changing side of disk
Does not have load-empty-slot-in-changer feature
Does not support Individual Disk Present feature
Maximum read speed: 4234 kB/s (CD 24x, DVD 3x)
Current read speed: 1412 kB/s (CD 8x, DVD 1x)
Maximum write speed: 4234 kB/s (CD 24x, DVD 3x)
Current write speed: 0 kB/s (CD 0x, DVD 0x)
Rotational control selected: CLV/PCAV
Buffer size in KB: 2048
Copy management revision supported: 1
Number of supported write speeds: 0
Supported CD-RW media types according to MMC-4 feature 0x37:
Does write multi speed CD-RW media
Does write high speed CD-RW media
Does write ultra high speed CD-RW media
Does write ultra high speed+ CD-RW media
在驱动器中使用光盘运行 sudo lshw -c disk 将返回:
*-disk
description: ATA Disk
product: FUJITSU MHZ2320B
vendor: Fujitsu
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 8909
serial: K618T913E9LE
size: 298GiB (320GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=dfb6d394
*-cdrom
description: DVD-RAM writer
product: CDDVDW TS-L633M
vendor: TSSTcorp
physical id: 1
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: 0200
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=busy
*-disk
description: SCSI Disk
physical id: 0.0.0
bus info: scsi@6:0.0.0
logical name: /dev/sdb
答案1
使用驱动器中的磁盘尝试以下终端命令:
sudo mount -t iso9660 /dev/sr0 /cdrom
或者更简单
sudo mount /dev/sr0 /cdrom
如果您收到“驱动器中没有介质”的错误信息,最可能的原因是驱动器出现故障。不幸的是,DVD/CD 驱动器比大多数人意识到的要脆弱得多 - 镜头上的一块绒毛或划痕都可能使它们变得毫无用处。更糟糕的是,笔记本电脑驱动器的镜头位于从设备中弹出的托架上,因此很容易受到物理损坏。
答案2
你可能遇到了硬件问题。尝试手动安装
mount /dev/cdrom /mnt/cdrom
cd /mnt
ls
答案3
我把这篇文章放在了另一个答案中,但实际上它很简单:
很多人都遇到过这个问题,就像我第一次安装 DVD 和 CD 时遇到的那样。您必须在媒体中为文件夹创建一个目录。确保以 root 身份运行。
sudo -s cd mkdir /media/[folder_name]
如果您遇到与读/写问题有关的任何错误,则必须 chmod
警告,如果您不知道自己在做什么,我建议您不要这样做!
sudo -s cd /media chmod ugo+rwx
希望这能帮到你!主要问题是插入磁盘后驱动器不会自行卸载。创建目录可以解决这个问题。
答案4
sudo -s
cd mkdir /media/[folder_name]
如果您遇到与读/写问题有关的任何错误,则必须使用 chmod :
警告,如果您不知道自己在做什么,我建议您不要这样做!
sudo -s
cd /media
chmod ugo+rwx
希望这能帮到你!主要问题是插入磁盘后驱动器不会自行卸载。创建目录可以解决这个问题。
返回:
root@Lexington:(无法访问)/# cd /media
root@Lexington:/media# ls
root@Lexington:/media# sudo mkdir dvd-drive
root@Lexington:/media# chmod ugo+rwx
chmod:`ugo+rwx 之后缺少操作数