Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Couple of questions about mounting cdroms and usb, Couple of questions about mounting cdrom< Next Oldest | Next Newest >
linuxlizard Offline





Group: Members
Posts: 37
Joined: Mar. 2006
Posted: Mar. 14 2006,17:32 QUOTE

Hello,
I have a couple of questions that are probably easy for someone, but hard for me!
I'm running dsl off of USB stick (sda1). My problems with mounting are these-

1) I have 2 cdrom drives. cdrom1 and cdrom2. They show up in my /etc/fstab. I cannot mount either one. For example to an audio cd or to put in a data cd. when I try with the mount tool, it says irregular. I think it also says they are both identified as cdrom.

2) I'm trying to make a directory on the USB stick to store whatever files I want to store. I can mount it, and go into emelfm to /mnt/sda1 and see it. As a normal user it denies permission when I try to make a directory. When I run emelfm as super-user I can make the directory, but I cannot change permissions to allow normal user access. When I try to change permissions (user:dsl group:staff) it says: chown: /mnt/sda1/storage: Operation not permitted

I don't want to use my hd for storage, only my usb key. My goal is to have a system I can use on my desktop and simply transfer over to my laptop when I'm away from home by taking the USB key with me. So I need to be able to use the key for data storage as well as keeping dsl's backup/restore files.

Thank you Kindly for your help!
Back to top
Profile PM 
pr0f3550r Offline





Group: Members
Posts: 378
Joined: Dec. 2005
Posted: Mar. 14 2006,19:25 QUOTE

1) Forgive the stupid question, but do you first insert the cd and try to mount it?
Have you tried to mount it it with efelm as root?
2) can you 'mount -a' and post the output?


--------------
THE QEMU FORUM: http://qemu.dad-answers.com/index.php

QEMU ON WINDOWS: http://www.h7.dion.ne.jp/~qemu-win/

How to use floppy, CD-ROM and hard disk - http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html

How to use network - http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html
Back to top
Profile PM 
linuxlizard Offline





Group: Members
Posts: 37
Joined: Mar. 2006
Posted: Mar. 14 2006,20:42 QUOTE

Thank you for your help.

When I insert an audio cd:

I use the mount tool and click on cdrom unmounted it says:

mount: you must specify the filesystem type.

when I sudo mount /dev/cdrom It says

/dev/cdrom: Input/output error
mount: you must specify the filesystem type

When I Emelfm as super-user to /mnt/cdrom and tell it to mount it says:

mount: can't find /mnt/cdrom in /etc/fstab or /etc/mtab


With a Data CD with just text files and whatnot on it:

I use the mount tool and click on cdrom unmounted
The box turns purple and says irregular

when I sudo mount /dev/cdrom at first it appears all is well, however when I dir the cdrom, I get:

Events                icewm2.dsl.info       libncurses5.dsl.info
icewm-full.dsl.info   index.html

In other words, it gives me the directory of DSL's CD, even though I don't have that in the drive and booted off my USB drive.

When I Emelfm as super-user to /mnt/cdrom and tell it to mount it reads the CD just fine! Heya!
You helped me find a way to access it at least. But something's definately screwy about that being the only way. Also still can't access my audio cds.
Back to top
Profile PM 
anaconda Offline





Group: Members
Posts: 96
Joined: Mar. 2006
Posted: Mar. 14 2006,22:12 QUOTE

You dont have to mount audio cd:s (or DVD-movies) The programs that can play (or copy or rip) from audio CD:s dont want those to be mounted!!! If you could mount them, the programs would want you to umount them before you use them...

It's the same in windows, you can't access audio cd:s with "mycomputer" only with programs, that know how to handle audioCD:s


--------------
___
anaconda
Back to top
Profile PM 
anaconda Offline





Group: Members
Posts: 96
Joined: Mar. 2006
Posted: Mar. 14 2006,22:23 QUOTE

If you want to be able to mount CD:s as a normal user, you should have the CD in "/etc/fstab" file, and "user" as one argument.... (it should be automatically! unless you aded the drive after installing DSL..)

here is the line from my fstab-file:

/dev/cdrom  /cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0

that is pretty much like mount command, but
ro =readonly
user=all users are allowed to mount cd (by:  "mount /cdrom" or from emelfm)
noexec= ?? not allowed to execute files from cd? is this really nessessary?

hmm.. I dont know when folder "/cdrom" is created, but /mnt/cdrom would be as good..  
___
anaconda


--------------
___
anaconda
Back to top
Profile PM 
5 replies since Mar. 14 2006,17:32 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Couple of questions about mounting cdroms and usb

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code