Koozali.org: home of the SME Server

mount cdrom

Offline stiperstones

  • *
  • 177
  • +0/-0
    • http://www.stiperstones.com
mount cdrom
« on: July 20, 2004, 10:25:07 AM »
Hi everyone
Could you please help i need to copy some files from the cdrom what is the command to mount the cdrom

thanks in advance

Alan Stokes
Stiperstones

http://wiki.contribs.org/Koozali_Foundation
Try the Wiki some great how's there

"My Licence".........

Don't report security issues here - Contact security at contribs dot org
Don't report problems here - Please report bugs @ http://bugs.contribs.org/
Don't ask the same question twice - Please search the forums, your question may have been asked before - Thank You.

ergozd

mount cdrom
« Reply #1 on: July 20, 2004, 11:24:23 AM »
# mount /mnt/cdrom

Offline stiperstones

  • *
  • 177
  • +0/-0
    • http://www.stiperstones.com
bash says cannott mount
« Reply #2 on: July 20, 2004, 07:25:29 PM »
Bash says that mount/mnt/cdrom not found using sme 6.0
trying to mount cdrw unit

Alan Stokes
Stiperstones

http://wiki.contribs.org/Koozali_Foundation
Try the Wiki some great how's there

"My Licence".........

Don't report security issues here - Contact security at contribs dot org
Don't report problems here - Please report bugs @ http://bugs.contribs.org/
Don't ask the same question twice - Please search the forums, your question may have been asked before - Thank You.

ergozd

mount cdrom
« Reply #3 on: July 22, 2004, 10:33:52 AM »
Just to be crystal clear... There is a "space" after mount

Code: [Select]
# mount /mnt/cdrom/

Best rgds, Ergin

Offline stiperstones

  • *
  • 177
  • +0/-0
    • http://www.stiperstones.com
issued this command but still cannot mount cd - rom
« Reply #4 on: July 22, 2004, 07:34:10 PM »
Snippet from terminal
[root@server root]# mount /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
[root@server root]# mount /mnt/hdc
mount: can't find /mnt/hdc in /etc/fstab or /etc/mtab
[root@server root]# mount /mnt/dev/cdrom
mount: can't find /mnt/dev/cdrom in /etc/fstab or /etc/mtab
[root@server root]# mount /mnt/dev/hdc
mount: can't find /mnt/dev/hdc in /etc/fstab or /etc/mtab
[root@server root]# ls -lah /dev/cdrom
lrwxrwxrwx 1 root root 8 Jun 1 19:11 /dev/cdrom -> /dev/hdc
As you can see above results i am stuck

this is my setup

P111 700
512 ram
250ghz hard drive running on a ultra ata 133 controller pci
creative cdrw on ide 2nd ide controller as master

yours in advance
Alan Stokes
Stiperstones

http://wiki.contribs.org/Koozali_Foundation
Try the Wiki some great how's there

"My Licence".........

Don't report security issues here - Contact security at contribs dot org
Don't report problems here - Please report bugs @ http://bugs.contribs.org/
Don't ask the same question twice - Please search the forums, your question may have been asked before - Thank You.

Offline nigeltodd

  • ****
  • 82
  • +0/-0
    • http://nigelt.dyndns.org
mount cdrom
« Reply #5 on: July 26, 2004, 01:09:25 PM »
May be a mistalke but when i do a ls -lah /dev/cdrom i get the following::

lrwxrwxrwx    1 root     root            9 May 15 18:02 /dev/cdrom -> /dev/scd0

Notice the /dev/scd0 as oppsoed to /dev/hdc u get?
smoke-free since June 24th, 2004............

the_mad_prof

mount cdrom
« Reply #6 on: July 26, 2004, 01:53:03 PM »
Hiya, for the record I have a SCSI (elderly 4x) CDROM and tried mounting to see if it would work - got the same error message.

It is listed in mnt but mount /mnt/cdrom doesn't work.  Linux treats SCSI hard drives differently, is it the same with CDROM's?

Offline mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
Re: mount cdrom
« Reply #7 on: July 26, 2004, 04:50:35 PM »
For ls -lah /dev/cdrom, I get...

Code: [Select]
lrwxrwxrwx    1 root     admin           9 Dec 21  2003 /dev/cdrom -> /dev/scd0

When I first set up the machine, I had to adjust the fstab file to make certain the settings were correct. Here is what I have in my fstab for cdrom...
Code: [Select]

/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,ro 0 0


hth,

 - Mark
- Mark

Offline edb

  • *
  • 548
  • +0/-0
mount cdrom
« Reply #8 on: July 27, 2004, 09:22:50 PM »
Has anyone found a solution to this?

I too have to access the cdrom drive but cannot, what gives? Thanks
......

the_mad_prof

mount cdrom
« Reply #9 on: July 27, 2004, 09:32:07 PM »
A quick google reveals that on a normal system uses hdc as a symbolic link to /mnt/cdrom

My system has a second drive mounted to /mnt/hdc although I'm not sure this would be the case for a scsi CDrom?

Slipperstones - anything unusual about your setup?

pico /etc/fstab shows

LABEL=/1                /                       ext3    usrquota,grpquota      $
LABEL=/boot1            /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
/dev/cdrom              /mnt/cdrom             iso9660 noauto,owner,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner    0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda2               swap                    swap    defaults        0 0
/dev/hdc1               /home/e-smith/files     ext3    usrquota,grpquota        1 2

Perhaps a guru can spot something

the_mad_prof

mount cdrom
« Reply #10 on: July 27, 2004, 09:46:08 PM »
Typical, just answered my own question (I hate it when someone says that to me).

I have updated /etc/fstab to show

/dev/scd0              /mnt/cdrom              iso9660 noauto,owner,ro 0 0

note the /dev/scd0 to denote the first scsi device.

Not sure if this will fix anyone else's problem though, but I hope so.

Offline satovey

  • ****
  • 75
  • +0/-0
    • Yevotas Ministry Network
mount cdrom
« Reply #11 on: July 28, 2004, 12:50:50 AM »
Quote from: "the_mad_prof"
Typical, just answered my own question (I hate it when someone says that to me).

I have updated /etc/fstab to show

/dev/scd0              /mnt/cdrom              iso9660 noauto,owner,ro 0 0

note the /dev/scd0 to denote the first scsi device.

Not sure if this will fix anyone else's problem though, but I hope so.


This will fix anyones problem who has a scsi drive.
For ide drives the devices run as follows.

Primary Master /dev/hda
Primary Slave /dev/hdb
Secondary Master /dev/hdc
Secondary Slave  /dev/hdd

ect.

If you don't know which device your cdrom or
cdrw is set to, go through the last three,
however, you should be able to spot it when
you reboot your system. Hit the pause key
when the bios system window comes up showing
the drives and memory. The empty ide drives
are the ones you will need to use. So if your
drive is connected to the primary master ide,
then you know that ide port is not your cdrom
drive.

Scott
Scott A Tovey