LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-07-2017, 12:35 PM   #1
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Rep: Reputation: Disabled
Cant view Cdrom contents


Hello all,

I am unable to view the cdrom contents which is my current problem.

here is the mount point----mount -t iso9660 -o ro /dev/sr0 /mnt/cdrom... Try to view content with ------ls -l /cdrom....

Output----Total 0.... there is content on the disc if I place it in a windows machine. Am i missing step here?

Last edited by Chrisroot; 04-07-2017 at 01:00 PM.
 
Old 04-07-2017, 12:38 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,444
Blog Entries: 13

Rep: Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762
The mount point is:
Code:
/mnt/cdrom
Therefore you should do:
Code:
ls -l /mnt/cdrom
 
Old 04-07-2017, 01:02 PM   #3
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled
Command ---- ls -l /mnt/cdrom

Output- Total 0 still.


I did forget to mention this is a fedora 24 if that matters. And the disc i am using uses rpm packing as well.
 
Old 04-07-2017, 01:23 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,444
Blog Entries: 13

Rep: Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762
It may be blank and it may not really be mounted.

What is the output of the mount command WRT this drive? Which is to say, from a terminal, type "mount" and it will output some number of lines showing mounted devices on your system. Find the line related to /mnt/cdrom and please reply with the contents of that line, or indicate if there is no line.
 
Old 04-07-2017, 01:33 PM   #5
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled
Command- Mount

Output- No indication of the drive being mounted on any line.
 
Old 04-07-2017, 01:34 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,552

Rep: Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145
Most desktops these days automatically mount the disc in /media/cdrom0 and open the file browser showing its contents or display some popup message asking what do you want to do.

Is the disc actually mounted?

Where there any warning or error messages when you entered the mount command?

How was the disc created? If created using Windows (depending on version) by default it probably is a UDF data disc version 2.6 which AFAIK never was supported under linux.
 
Old 04-07-2017, 01:45 PM   #7
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled
Well I suppose it isnt mounted well not properly at least.
Nope there were no warnings when i entered the mount command.

Disc creation is unknown.

Command----lsblk

Output----
Name Maj:MIn RM Size RO TYPE Mountpoint
sr0 11:0 1 53.7m 0 0 rom blank
 
Old 04-07-2017, 01:49 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,552

Rep: Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145
Post the output of the command

sudo file -s /dev/sr0
 
Old 04-07-2017, 01:55 PM   #9
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled
Command-- sudo file -s /dev/sr0

Output--/dev/sr0: ISO 9600 CD_ROM filesystem data "OCT_17_2013
 
Old 04-07-2017, 02:34 PM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,444
Blog Entries: 13

Rep: Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762
Seems awkward that the size is 53.7m, however it shows as ISO9600 ROM.

Unfortunately one way I fix this very problem is to reboot. I randomly experience this on a Live boot system I have, not with the CD but with SD cards.

However also what I see is no activity in the system log when I insert or remove the drive, leaving me no choice but to reboot. I actually feel this is a hardware problem, for me this is.

In your case, when you insert the CD, do you see any new system logs which indicate that /dev/sr0 has been detected?
 
Old 04-07-2017, 02:36 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,552

Rep: Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145
It does seem awkward...

Quote:
And the disc i am using uses rpm packing as well.
rpm packing? It looks like a regular ISO9660 data disc. I assumed you used sudo to mount it?

sudo mount -t iso9660 /dev/sr0 /mnt/cdrom
 
Old 04-07-2017, 02:41 PM   #12
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled
Actually i mounted it with this command-----mount -t iso9660 -o ro /dev/sr0 /mnt/cdrom

I just did the command--sudo mount -t iso9660 /dev/sr0 /mnt/cdrom

Output- mount: /dev/sr0 is write-protected, mounting read-only
mounted: no medium found on /dev/sr0
 
Old 04-07-2017, 03:00 PM   #13
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled
I just realized that this is a DVD-RW drive, that probably has something to do with it.
 
Old 04-07-2017, 03:02 PM   #14
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,444
Blog Entries: 13

Rep: Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762
Quote:
Originally Posted by Chrisroot View Post
Actually i mounted it with this command-----mount -t iso9660 -o ro /dev/sr0 /mnt/cdrom

I just did the command--sudo mount -t iso9660 /dev/sr0 /mnt/cdrom

Output- mount: /dev/sr0 is write-protected, mounting read-only
mounted: no medium found on /dev/sr0
The statement that no medium was found on /dev/sr0 is the problem. At least at the present point.
 
Old 04-07-2017, 05:31 PM   #15
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,003
Blog Entries: 1

Rep: Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847
$ sudo apt-get install libcdio-utils
$ cd-info

Maybe there's something special about the disc.
 
  


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
Folder View or graphical view login using ssh caliskans Linux - Newbie 2 07-05-2009 05:57 PM
KDE Konqueror View Mode Icons (Image Preview/Tree View) sadarax Linux - General 7 06-27-2006 01:45 PM
can't view cdrom files french_frogger Linux - General 4 12-16-2004 11:46 PM
gentoo: When mounting second cdrom I cant view its contents... ebenh Linux - Hardware 0 11-13-2004 01:39 PM
Can't view files on mounted cdrom Jen Linux - General 5 12-05-2002 01:55 PM

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

All times are GMT -5. The time now is 03:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration