Yast - changing the install media
Support knowledgebase (ubrueck_yast-installationsquelle)
Applies to
SuSE Linux: Version 8.1
Symptom
With Yast you want to change software, installation source, add DVD as installation source
and get following error message:
Installation source can not be created from URL 'dvd:///'
Details: ERROR(Media: mount failed)
Cause
At least you have one DVD drive and another CD or CD-RW drive.
No matter if you inserted a DVD
or CD as media
Yast accesses the device /dev/cdrom during package installation.
The device or drive /dev/cdrom is pointing to is not your DVD drive and
thus Yast cannot mount the
DVD.
Solution
When having a DVD drive and a burner,
be sure that you loaded the respective modules
cdrom, ide-cd for the DVD drive and
ide-scsi for the burner.
Information can be found here:
"Cannot Mount CD or DVD" (http://sdb.suse.de/en/sdb/html/81_ide-scsi.html)
Then find out the device it is referred to:
Open a text console and enter following commands:
sux
Your_root-password
ls -al /dev/dvd
ls -al /dev/cd*
You will get an output like this:
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:~ #
In your case the device names can be altered. They depend on
the type, the connection and the number of devices.
In our example /dev/dvd is a pointer to the real device name /dev/hdc,
the burner /dev/cdrecorder points to /dev/sr0 and
the CD ROM /dev/cdrom points to /dev/sr0 as well.
This means, /dev/cdrom does not point to the same device /dev/hdc, to which /dev/dvd points to.
If you are facing the same fact, please modify this. The reference must point to the same device
your DVD drive points to.
To change it enter the following on the console:
ln -sf /dev/hdX /dev/cdrom
(Please replace X by your DVD device drive letter;
in the example above this would be -hdc-.)
Be sure that only one installation source is entered in the Yast menu
, insert the DVD in the drive and install the packages from DVD.
Keywords: YAST, DVD, REINSTALLING, PACKAGES, SOURCE MEDIA, INSTALLATION SOURCE, DRIVE, CDROM
Categories:
YaST
SDB-ubrueck_yast-installationsquelle, Copyright SuSE Linux AG, Nürnberg, Germany
- Version: 18. Dec 2002
SuSE Linux AG - Last generated: 18. Dec 2002 by afaber (sdb_gen 1.40.0)