Mounting CDROM

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: KevinO
Date:  
Subject: Mounting CDROM
Don't move anything...(Leave it as the master on the secondary IDE port)

You DO have a directory in /mnt called cdrom, don't you ? If not, make
one. (as root)

mkdir /mnt/cdrom


Make sure you have a DATA CD in your CDROM drive.

As root type :

mount -t iso9660 /dev/cdrom /mnt/cdrom


You can unmount your cdrom by referencing only the device :

umount /dev/cdrom


or the mount point :

umount /mnt/cdrom


The line in your fstab should be :

/dev/cdrom /mnt/cdrom iso9660 defaults,noauto 0 0


This should be the ONLY line that starts with '/dev/cdrom'


Try :

eject

or:

eject /dev/cdrom


That should pop the disk out for you. 'eject -t' may even pull the draw
back closed again.

--
Kevin O'Connor

"People will be free to devote themselves to activities that are fun,
such as
programming, after spending the necessary ten hours a week on required
tasks
such as legislation, family counseling, robot repair and asteroid
prospecting.
There will be no need to be able to make a living from programming."
The GNU Manifesto - Copyright (C) 1985, 1993 Free Software Foundation,
Inc.


Tom Achtenberg wrote:
>
> I issued the ln command below and the mount command. Still could not mount
> the CD. I rebooted and do not get the fstab fail I was getting earlier.
> When I try to mount the CD I get he following error: "Wrong FS type, Bad
> Option, Bad Superblock on /dev/cdrom or too many mounted file systems." The
> cdrom line in /etc/fstab is: "/dev/cdrom mnt/cdrom iso9660
> noauto,owner,ro 0 0"
>
> Would it be better if I made the CD a slave on the secondary? Should I move
> my second hard drive to the secondary and put the CD on the primary?
>
> -----Original Message-----
> From:
> [mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of Thomas
> Mondoshawan Tate
> Sent: Wednesday, November 07, 2001 8:54 PM
> To:
> Subject: Re: Mounting CDROM
>
> On Wed, Nov 07, 2001 at 08:01:13PM -0800, Matt Alexander wrote:
> > "hdc" means that you've got an IDE device (your cdrom) plugged into the
> > secondary IDE controller and set as the Master. /dev/cdrom is just a
> > symlink to /dev/hdc (in your case). So check that /dev/cdrom exists, and
> > if it doesn't, create it like this:
> >
> > ln -s /dev/hdc /dev/cdrom
> >
> > Then mount it like this:
> >
> > mount /dev/cdrom /mnt/cdrom
> >
> > If that works, then you can add this to your /etc/fstab to be able to
> > mount your cdrom like this in the future:
> >
> > mount /mnt/cdrom
>
> Additionally, your "Unknown filesystem" errors could be due to a missing
> default filesystem option in the fstab. Check to make sure that the third
> field for your cdrom entry reads as "iso9660" -- otherwise you will have to
> specify the filesystem type every time you try to mount. (mount /mnt/cdrom
> -t iso9660).
>
> --
> Thomas "Mondoshawan" Tate
>
> http://tank.dyndns.org
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss