Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Files not showing up in /mnt/cdrom
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Shrapnel
n00b
n00b


Joined: 26 May 2004
Posts: 23

PostPosted: Wed May 26, 2004 3:30 am    Post subject: Files not showing up in /mnt/cdrom Reply with quote

When I try to display all the files on my /mnt/cdrom. Nothing displays. It just goes to the next line and says "root cdrom #" like there is no files there. I know that there is stuff on that disk because I put it on my windows machine and it displayed there. Help is much appreciated.
Back to top
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Wed May 26, 2004 3:41 am    Post subject: Reply with quote

did you mount it first? if not, run this command as root:
Code:
mount /mnt/cdrom

_________________
John5788
Back to top
View user's profile Send private message
Shrapnel
n00b
n00b


Joined: 26 May 2004
Posts: 23

PostPosted: Wed May 26, 2004 3:49 am    Post subject: Reply with quote

it says mount: special device /dev/cdroms/cdrom0 does not exist.
Back to top
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Wed May 26, 2004 3:55 am    Post subject: Reply with quote

then ur missing something in the kernel i believe. check under the filesystems, look for something like ISO or something. im not at my gentoo comp right now so i cant tell u
_________________
John5788
Back to top
View user's profile Send private message
Shrapnel
n00b
n00b


Joined: 26 May 2004
Posts: 23

PostPosted: Wed May 26, 2004 5:07 pm    Post subject: Reply with quote

the ISO9660 File system IS configured in my kernel configuration. (config_ISO9660_FS=y). And in my fstab, the /dev/cdroms/cdrom0 is set as an ISO9660 Filesystem.
Back to top
View user's profile Send private message
Frozensun
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2003
Posts: 82

PostPosted: Wed May 26, 2004 7:36 pm    Post subject: Reply with quote

what happens when you do a

Code:
ls /dev/cdroms
?
Back to top
View user's profile Send private message
Shrapnel
n00b
n00b


Joined: 26 May 2004
Posts: 23

PostPosted: Wed May 26, 2004 7:41 pm    Post subject: Reply with quote

ls: /dev/cdroms: (I also tried cdrom) No such file or directory
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Thu May 27, 2004 2:06 am    Post subject: Reply with quote

is your cdrom getting detected on start-up (check "dmesg")

also, try

mount /dev/hdc /mnt/cdrom
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Shrapnel
n00b
n00b


Joined: 26 May 2004
Posts: 23

PostPosted: Thu May 27, 2004 2:39 am    Post subject: Reply with quote

When I try to mount hdc it still says that it is an invalid block device. Is there any way to be able to see all of what dmesg says? Because all I can see is the bottom portion because my screen is not big enough. Thanks.
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Thu May 27, 2004 4:02 am    Post subject: Reply with quote

dmesg > foo

creates a textfile with everything in it

dmesg | more

gives you the possibility to scroll on-screen
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Shrapnel
n00b
n00b


Joined: 26 May 2004
Posts: 23

PostPosted: Thu May 27, 2004 7:01 pm    Post subject: Reply with quote

Ok, I figured out that the cdrom is under /dev/hdb. But when I mount it, it says its mounting read only, and I still can't see whats on the disc. Could this have to do with being read-only? And is there any way to get read-write privlidges? Thank you.
Back to top
View user's profile Send private message
yuza
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 210
Location: Rome, in front of my comp...

PostPosted: Thu May 27, 2004 11:37 pm    Post subject: Reply with quote

Well it's normal for a cdrom to be mounted read-only... is it a multisession cdrom? I've read somewhere that you might have to specify extra options to mount them.
By the way you are probably missing something in your kernel configuration... double check both the filesystem section and the ide/atapi one and then recompile it if necessary.
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Fri May 28, 2004 12:11 am    Post subject: Reply with quote

Shrapnel wrote:
Ok, I figured out that the cdrom is under /dev/hdb. But when I mount it, it says its mounting read only, and I still can't see whats on the disc. Could this have to do with being read-only? And is there any way to get read-write privlidges? Thank you.


OK, a cdrom is always mounted read-only, because it's a read-only medium. Same as in windows / macos, you can read it, but for writing, you need a other program (k3b, cdrecord...)

now change your fstab

Code:
/dev/hdb        /mnt/cdrom     defaults,user,ro,umask=0666     0 0


Then you'll be able to mount as a normal user using

Code:
mount /mnt/cdrom

_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Shrapnel
n00b
n00b


Joined: 26 May 2004
Posts: 23

PostPosted: Fri May 28, 2004 3:50 am    Post subject: Reply with quote

It worked. Thanks to all of you for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum