LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-09-2003, 12:37 PM   #1
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 428

Rep: Reputation: 30
Need help making and removing symlinks


Running Mandrake 9.1. RPM-drake is pointing to the wrong device and won't install anything from the installation CDs. I've seen other threads on this in the forum, have followed those suggestions, and am still having probs. The CD is mounted and I can see the contents, but RPM-drake keeps asking me to insert the disc into /dev/hdc. When I run RPM-drake I get the following:

[root@localhost root]# rpmdrake
unable to retrieve pathname for removable medium "Installation CD 1 (x86) (cdrom1)"
unable to retrieve pathname for removable medium "Installation CD 2 (x86) (cdrom2)"
unable to retrieve pathname for removable medium "International CD (x86) (cdrom3)"
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 1 (x86 ) (cdrom1).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 2 (x86 ) (cdrom2).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.International CD (x86) (cdrom3).cz]
__________________________

RPM-Drake is looking for: /dev/hdc
My fstab shows: /dev/scd0

dmesg shows the following:

sr1: CDROM not ready. Make sure there is a disc in the drive.
sr1: CDROM not ready. Make sure there is a disc in the drive.
sr1: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready yet.
sr0: CDROM not ready yet.
sr0: disc change detected.
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
sr1: CDROM not ready. Make sure there is a disc in the drive.
sr1: CDROM not ready. Make sure there is a disc in the drive.
cmpci: unloading
PCI: Found IRQ 11 for device 00:0f.0
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
Attached scsi removable disk sda at scsi0, channel 0, id 6, lun 0
SCSI device sda: 196608 512-byte hdwr sectors (101 MB)
sda: Write Protect is off
/dev/scsi/host0/bus0/target6/lun0: p4
[root@localhost root]#

I typed the following command to make symlink, but it didn't work:
[root@localhost root]# ln -sf /dev/sda /dev/hdc

I then tried: ln -sf /dev/scd0 /dev/hdc
and that didn't work, either. Maybe I did it wrong, or maybe I needed to remove the first one before trying to make another one?

How should it read?
And how do I remove the bad one(s) I made?

TIA
Siri Amrit

Last edited by tigerflag; 04-09-2003 at 12:39 PM.
 
Old 04-09-2003, 09:23 PM   #2
frozen
LQ Newbie
 
Registered: Apr 2003
Distribution: debian
Posts: 2

Rep: Reputation: 0
does mandrake use a /dev/cdrom symlink ? if so, does it point to /dev/hdc ?
in that case, just let point /dev/cdrom to your cdrom /dev/scd0.
you can also try /dev/sr0 instead of /dev/scd0, which should be the same device.
if mandrake does not use a /dev/cdrom symlink, try changing the cdrom entry in your fstab; should be something like:
/dev/sr0 /<cdrom mount point> iso9660 ro,user,noauto 0 0
or
/dev/scd0 /<cdrom mount point> ...

if you tried that already, or if it's some rpm-drake or mandrake specific problem, just ignore my ramblings
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
checkinstall making symlinks in root?? puffinman Slackware 1 06-13-2005 09:56 PM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 09:16 AM
? on symlinks eroica Linux - Software 1 09-21-2004 10:45 AM
Symlinks b0b0 Linux - General 2 11-08-2001 09:43 AM
symlinks tstuhr Linux - General 3 10-05-2001 11:49 AM


All times are GMT -5. The time now is 01:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration