nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Mounting cdrom in cent os 5 linux

This is a discussion on Mounting cdrom in cent os 5 linux within the Getting started tutorials forums, part of the Linux Getting Started category; Hi, What is the command to mount a cdrom in CentOS Linux 5 TIA...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-09-2007, 01:42 AM
Member
User
 
Join Date: Jun 2005
Posts: 78
Rep Power: 0
jerry
Default Mounting cdrom in cent os 5 linux

Hi,

What is the command to mount a cdrom in CentOS Linux 5

TIA
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-09-2007, 05:35 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 917
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

CDRROM, type as root
Code:
mount /dev/cdrom /mnt
For DVD
Code:
mount /dev/dvd /mnt
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 12-07-2007, 11:07 AM
Junior Member
User
 
Join Date: Dec 2007
My distro: Debian
Posts: 12
Rep Power: 0
virendra is on a distinguished road
Default

first of all u have to get the diver of your CD or DVD

[root@viren ~]# eject -n
eject: device is `/dev/hdc'

the device driver is /dev/hdc

now mount the cdrom

#mount /dev/hdc /mnt/cdrom


create this directory cdrom if in case it doesn't exist



and in case u want to use this command as a shortcut

#mount /mnt/cdrom

then

#ln -s /dev/hdc /mnt/cdrom




Happy Mounting
Reply With Quote
  #4 (permalink)  
Old 03-24-2008, 04:48 PM
Member
User
 
Join Date: Mar 2008
My distro: Debian, Slackware, LFS
Posts: 83
Rep Power: 1
Tux-Idiot is on a distinguished road
Talking

Quote:
Originally Posted by virendra View Post
first of all u have to get the diver of your CD or DVD

[root@viren ~]# eject -n
eject: device is `/dev/hdc'

the device driver is /dev/hdc

now mount the cdrom

#mount /dev/hdc /mnt/cdrom


create this directory cdrom if in case it doesn't exist



and in case u want to use this command as a shortcut

#mount /mnt/cdrom

then

#ln -s /dev/hdc /mnt/cdrom




Happy Mounting

joe@desktop# cat >> /etc/fstab << EOF
/dev/cdrom-device /dest/mount/point iso9660 0 0 # AutoUpdate
EOF
joe@desktop# mount -v /dev/cdrom-device
joe@desktop# cd /dest/mount/point/interesting-things
..
snip
..
joe@desktop# eject -v /dev/cdrom-device && mount -v /dev/cdrom-device && echo $?
:-d
man -k fstab
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Installing Cent OS Linux on Windows Vista sukumar CentOS / RHEL / Fedora 3 12-04-2007 07:36 AM
Install Linux / Windows without a CDROM or Floppy drive lacloai Linux software 11 08-25-2007 07:07 AM
Postfix mail server create self-signed SSL certificates on Cent OS / Redhat linux rockdalinux Getting started tutorials 0 06-15-2007 06:21 PM
Mounting servers in Linux rav Linux software 1 05-02-2007 11:57 PM
windows partition mounting problem in linux as4.o ramjimh Linux software 4 04-22-2006 12:04 AM


All times are GMT +5.5. The time now is 08:41 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36