On 10/13/2005 10:32 AM, Chaitanya Krishna A wrote:
Hi all,
Recently I have put two new drives, DVD+/-RW(Sony DRU-710A) and also a DVD-ROM(Sony - lost the model no.). Previously I had a Samsung CD-R drive from which I did the initial installation. After I changed to DVD drives, I tried to install some packages from the 9.3 CD's. I put them in one of the drives and tried to install. YaST was complaining that it couldn't find the packages.
I thought it was because of the entry CD:/// in the Installation sources. So I tried to add a DVD source from the add entry. Then YaST says 'Unable to create installation source from URL 'dvd:///' Media mount failed.
What could be the problem? Waiting for some ideas.
In what follows "first drive" means the first drive on the IDE bus, eg. /dev/hdb if you have your devices installed as /dev/hdb and /dev/hdc. It sounds like you just changed the drives, but did not reconfigure your system. After a lot of grepping through the yast scripts, it seems that yast2 is hardcoded for the following devices only: /dev/dvd, /dev/cdrom, and if you have a second CD device, /dev/cdrom1. These are not real devices, but only symbolic links in /dev to real devices (eg /dev/hdb). If you failed to reconfigure your system, these links are not necessarily correct. Run Yast, go to Hardware (left panel), and select CD-ROM drives (right panel). Make sure what is listed there is correct. The screen lists the following information about each CD/DVD drive it detects: Make/model, device name, symbolic link, mount point. If any information is missing or makes no sense, your system is not properly configured (the model and device will always be filled in). I just modified my system using this panel (removed all my drives, then added them back again). Yast made all the necessary changes to the system EXCEPT it left the links in /dev unchanged. Make whatever changes are needed here to make the system look right, but then check in /dev and create the proper links yourself. I suggest removing both drives in the yast panel, then commit the changes ("finish" button), and finally remove the following links if they exist: /dev/dvd, /dev/dvdrecorder, /dev/cdrecorder, /dev/cdrom, /dev/cdrom1. Now you want to create new links to the appropriate devices. If the DRU-710 is installed as /dev/hdb, run the following commands: ln -s /dev/hdb /dev/dvd ln -s /dev/hdb /dev/dvdrecorder Make similar links /dev/dvdrom and /dev/cdrom to whatever device (eg /dev/hdc) the DVD-ROM is. Now restart the CD module in yast and add each device back in if necessary. The DRU-710 will probably be given a link name /dev/dvdrecorder and mount point /media/dvdrecorder, the DVD-ROM I don't know (I have a DVD-RW and a CD). It should be /dev/dvdrom or /dev/cdrom, with a corresponding mount point in /media. Click "finish" to create the mount points and fstab entries on the system. With CD1 in the first drive, open the "installation source" panel, highlight the existing source entry and click the Edit button; choose "replace" in the popup, then choose /dev/dvd in the second popup. Click OK, and if all really is OK, yast will find the CD and modify the installation source. If you wish, you can also add the DVD-ROM as a second source. Yast should allow you to add it as a CD source, but will probably complain if you try to add it as a DVD source.