YaST: DVD as the Installation Source

Support knowledgebase (ubrueck_yast-installquelle)
Applies to

SuSE Linux: Version 8.1

Symptom

When you use YaST (Software, Change source of installation) to add the DVD to the installation sources,
you obtain an error message similar to the following one:
Installation source cannot be created from the URL 'dvd:///'
Details: ERROR(Media: mount failed)

Cause

Your computer is equipped with at least one DVD-drive and a second CD or CD-RW drive.
YaST addresses the device /dev/cdrom during the package installation, regardless of the media you have inserted (DVD or CD).
/dev/cdrom points to a device or drive other than your DVD drive and thus, YaST cannot mount the DVD.

Solution

If you have a DVD drive and a CD recorder, make sure that the corresponding modules
cdrom, ide-cd for the DVD drive, and ide-scsi for the recorder have been loaded.
For further information on this subject, refer to the article "Cannot Mount CD or DVD" (http://sdb.suse.de/en/sdb/html/81_ide-scsi.html)

Then determine which device is addressed in each case. To do this, open a text console and enter the following commands one after the other:
sux
your root password
ls -al /dev/dvd
ls -al /dev/cd*
The output will be similar to:
linux:~ # ls -al /dev/dvd
lrwxrwxrwx    1 root     root            3 Sep 24 13:50 /dev/dvd -> /dev/hdc
linux:~ #

linux:~ # ls -al /dev/cdr*
lrwxrwxrwx    1 root     root            3 Sep 24 13:50 /dev/cdrecorder -> sr0
lrwxrwxrwx    1 root     root            3 Sep 24 13:50 /dev/cdrom -> sr0
linux:~ #
The device labels might differ from those in your system. These labels depend on the device type, connection, and number of devices.

In this example, /dev/dvd points to the device label /dev/hdc,
the recorder /dev/cdrecorder points to /dev/sr0, and the CD-ROM /dev/cdrom also points to /dev/sr0.

In other words, /dev/cdrom and /dev/dvd point to different devices.
If this is also your case, change it, since /dev/cdrom must point to the same device as your DVD drive.

To change it, enter the following in a text console:
ln -sf /dev/hdX /dev/cdrom
(Replace X with the drive letter corresponding to your DVD device, i.e. hdc in the example above.)

Finally, make sure that only one installation source is defined in the YaST menu,
insert the DVD in the DVD drive, and install the packages from the DVD.

Keywords: YAST, DVD, INSTALL, PACKAGE, SOURCE MEDIUM, INSTALLATION SOURCE, DRIVE, CD-ROM

Categories: YaST

SDB-ubrueck_yast-installquelle, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 03. Mar 2003
SuSE Linux AG - Last generated: 03. Mar 2003 by afaber (sdb_gen 1.40.0)