Computing.Net > Forums > Linux > CD-ROM Drive Command?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

CD-ROM Drive Command?

Reply to Message Icon

Name: ChrisL2003
Date: July 31, 2003 at 11:55:07 Pacific
OS: Red Hat Linux 6.2
CPU/Ram: Pentium 200/64MB
Comment:

How do you access a CD-ROM through Red Hat Linux 6.2? I have only installed Linux yesterday, so... I am not real clear about anything. :-)



Sponsored Link
Ads by Google

Response Number 1
Name: C_Legend
Date: July 31, 2003 at 12:21:54 Pacific
Reply:

Open the CD tray, stick your CD in the drive, close it, and then at a command prompt (terminal) enter:

# mount /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom

Then you can do an "ls -al" to view the contents. Some of the newer distributions will automatically recognize the CD and will pop up a window (in X-Windows) containing the contents of the CD (you may still have to mount it, though).

If the mount doesn't work, you may have to try putting some parameters on that command to tell it what kind of filesystem it is. Enter "man mount" for further info on this. Also, your "/dev/cdrom" might not be set correctly. If that's the case, then reply back and we'll try to work through it.

Good luck.


0

Response Number 2
Name: C_Legend
Date: August 1, 2003 at 11:33:02 Pacific
Reply:

Just in case you got this working and want to remove the CD (without having to reboot), do this:

# umount /mnt/cdrom


0

Response Number 3
Name: Iuri Cernov
Date: August 10, 2003 at 10:59:17 Pacific
Reply:

In the first time, try:
# test -d /mnt/cdrom || mkdir /mnt/cdrom

To mount cdrom:

# mount /dev/cdrom /mnt/cdrom

To umount cdrom:

# umount /mnt/cdrom

To eject cdrom:

# eject


0

Response Number 4
Name: ChrisL2003
Date: August 10, 2003 at 11:14:51 Pacific
Reply:

Yup. okay, thanks for your help!


0

Response Number 5
Name: ChrisL2003
Date: August 10, 2003 at 11:31:36 Pacific
Reply:

If I try to unmount the drive, it says: "drive is busy"


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Linux Xfree SVGA not foun... Can't connect to local My...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: CD-ROM Drive Command?

Samba and the CD-ROM drive www.computing.net/answers/linux/samba-and-the-cdrom-drive/12606.html

CD-ROM drive not working www.computing.net/answers/linux/cdrom-drive-not-working/29012.html

mounting cd rom drive www.computing.net/answers/linux/mounting-cd-rom-drive/18541.html