LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 10: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-10-2003, 11:25 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

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

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

And tell us what distro you are running.

Cool
 
Old 08-13-2003, 12: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, 01:07 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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-13-2003, 11:17 PM   #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-13-2003, 11:42 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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-14-2003, 11:27 PM   #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, 12:37 AM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

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



Cool
 
Old 08-15-2003, 09: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, 10:56 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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



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 08:00 AM
two many levels of symbolic links walkant Linux - Software 3 07-14-2004 11:05 AM
"Too many levels of symbolic links" Problem Corallis Linux - Newbie 5 07-12-2004 01:18 PM
two many levels of symbolic links walkant Linux - Software 1 07-10-2004 08:54 AM
ProFTPD - "Too many levels of symbolic links" orange400 Linux - Software 5 04-29-2004 06:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:03 PM.

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
Open Source Consulting | Domain Registration