Dear All I tried to mount an external cdrom on my CentOS 5 server but un-successful . I attached the device to my USB port and then the followings have been added to my /dev folder : "cdrom -> scd0 cdrom-sr0 -> scd0 cdrw -> scd0 cdrw-sr0 -> scd0 cdwriter -> scd0 cdwriter-sr0 -> scd0" To this end , I tried to mount it as the followings (but it didn't get through) : #mount -t vfat /dev/cdrom-sr0 /mnt/cdrom Add the following line to /etc/fstab : /dev/cdrom-sr0 /mnt/cdrom vfat noauto,users,noexec,rw, uid=1000,gid=1000 0 0 #mount /mnt/cdrom Can you please do me favor and correct me for my mistakes in mounting it ? Thank you in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090924/759ccc43/attachment.html>
On Thu, Sep 24, 2009 at 4:48 PM, hadi motamedi <motamedi24 at gmail.com> wrote:> Dear All > I tried to mount an external cdrom on my CentOS 5 server but un-successful . > I attached the device to my USB port and then the followings have been added > to my /dev folder : > "cdrom -> scd0 > cdrom-sr0 -> scd0 > cdrw -> scd0 > cdrw-sr0 -> scd0 > cdwriter -> scd0 > cdwriter-sr0 -> scd0" > To this end , I tried to mount it as the followings (but it didn't get > through) : > #mount -t vfat /dev/cdrom-sr0 /mnt/cdromWhat's the error message? Check tail -f /var/log/messages while try mounting it. It will show what's wrong.
Nicolas Thierry-Mieg
2009-Sep-24 09:19 UTC
[CentOS] Inquiry:Problem in mounting external cdrom
hadi motamedi wrote:> #mount -t vfat /dev/cdrom-sr0 /mnt/cdromtry removing "-t vfat" so mount can auto detect the correct fs type
on 9-24-2009 1:48 AM hadi motamedi spake the following:> Dear All > I tried to mount an external cdrom on my CentOS 5 server but > un-successful . I attached the device to my USB port and then the > followings have been added to my /dev folder : > "cdrom -> scd0 > cdrom-sr0 -> scd0 > cdrw -> scd0 > cdrw-sr0 -> scd0 > cdwriter -> scd0 > cdwriter-sr0 -> scd0" > To this end , I tried to mount it as the followings (but it didn't get > through) : > #mount -t vfat /dev/cdrom-sr0 /mnt/cdrom > Add the following line to /etc/fstab : > > /dev/cdrom-sr0 /mnt/cdrom vfat noauto,users,noexec,rw, uid=1000,gid=1000 0 0 > > #mount /mnt/cdrom > > Can you please do me favor and correct me for my mistakes in mounting it ? > > Thank you in advance > > ? > > ? >CD's are usually iso9660, not vfat. Try -t iso9660 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20090924/64fd0c80/attachment.sig>