LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2003, 11:44 PM   #1
wycolorado
LQ Newbie
 
Registered: Aug 2003
Posts: 29

Rep: Reputation: 15
Can't mount CDROM: "Too many levels of symbolic links"


I tried mount /dev/cdrom but it gave me an error message:

"Too many levels of symbolic links"

What's wrong with it? Thanks.

wycolorado
 
Old 08-11-2003, 12:25 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
do you have :
/dev/cdrom symlinked to /dev/cdrom by anychance
p.s. no that is not a misprint
 
Old 08-11-2003, 12:26 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Post up what you get from:
ls -l /dev/cdrom

And tell us what distro you are running.

Cool
 
Old 08-13-2003, 01:37 AM   #4
wycolorado
LQ Newbie
 
Registered: Aug 2003
Posts: 29

Original Poster
Rep: Reputation: 15
the resonse from ls -l /dev/cdrom is

/dev/cdrom -> cdrom

could you help me? Thanks a lot.
 
Old 08-13-2003, 02:07 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yeah, you've got it linked to itself.

What is your drive setup? What I mean is, are your cdrom(s) on the secondary ide channel, and which one is slave and which is master? And which do you use as your primary cdrom device (if you have 2).

Cool
 
Old 08-14-2003, 12:17 AM   #6
wycolorado
LQ Newbie
 
Registered: Aug 2003
Posts: 29

Original Poster
Rep: Reputation: 15
I have two CD-ROMs. One is IDE cd-rom, connected with slave IDE bus. Another one is SCSI cd-rom. Do you mean my linux already set up the links? Thanks.

Yong
 
Old 08-14-2003, 12:42 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Assuming you want to use your scsi one as your primary drive you'll want to type (as root into a terminal):
ln -sf /dev/scd0 /dev/cdrom
As /dev/cdrom is nothing more than a link to an actual device.

If you wanted the IDE cdrom:
ln -sf /dev/hdd /dev/cdrom

HTH

Cool
 
Old 08-15-2003, 12:27 AM   #8
wycolorado
LQ Newbie
 
Registered: Aug 2003
Posts: 29

Original Poster
Rep: Reputation: 15
thanks for your help. I did what you told me and tried mount /dev/cdrom again but it gave me an error message:
mount: /dev/cdrom is not a valid block device

and I checked my /etc/fstab and it is listed as:
/dev/hdb2 / ext2 errors=remount-ro 0 1
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0

could you help me out of this? I am confused. Thanks.
 
Old 08-15-2003, 01:37 AM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Well my examples were just that, examples. Which drive is your primary CD device, the scsi or the IDE?



Cool
 
Old 08-15-2003, 10:20 PM   #10
wycolorado
LQ Newbie
 
Registered: Aug 2003
Posts: 29

Original Poster
Rep: Reputation: 15
how to tell the primary cd device in linux? Thanks for all your help.
 
Old 08-15-2003, 11:56 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
It's actually on the drive itself, it's jumpered to Master/Slave and the Channel it's on on the IDE is either Primary or Secondary.

Cool
 
  


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
mount: Too many levels of symbolic links jpotex Slackware 7 02-13-2005 09:00 AM
two many levels of symbolic links walkant Linux - Software 3 07-14-2004 12:05 PM
"Too many levels of symbolic links" Problem Corallis Linux - Newbie 5 07-12-2004 02:18 PM
two many levels of symbolic links walkant Linux - Software 1 07-10-2004 09:54 AM
ProFTPD - "Too many levels of symbolic links" orange400 Linux - Software 5 04-29-2004 07:55 AM


All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration