Click to See Complete Forum and Search --> : Trying to edit /etc/fstab, need help please.


BK1
12-21-2000, 09:23 PM
I'm trying to edit /etc/fstab, with xemacs. The entries are look like this:
# /etc/fstab: static file system information.
#
#<file system><mountpoint><type><options>
/dev/hda1 / ext2 defaults
/dev/hda2 none swap sw
proc /proc proc defaults
I entered:
/mnt/cdrom /dev/cdrom

and saved, now if I type mount /dev/cdrom I get:
mount: fs type not supported by kernel.

But I can mount a cd with the command:
mount -t iso9660 -o ro /dev/hdc /cdrom

What can I do to fix this?
Any help would be appreciated.

------------------
The Hills of Defeat are covered with the bleached bones of those, who with victory in sight, paused to rest. Hurry up everytime you think about it.

zGoRNz
12-21-2000, 09:35 PM
/dev/cdrom /mnt/cdrom iso9660 read-only,nosuid 0 0

try that line

------------------
Dunt Dunt Duh...
GoRN To The Rescue,
Yet Again
zGoRNz@yahoo.com
aim: GoRNToTheRescue

BK1
12-21-2000, 09:51 PM
now when I type mount /dev/cdrom
it says
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: mount point /mnt/cdrom does not exist

I tried mount /cdrom
it says: mount: can't find /cdrom in /etc/fstab or /etc/mtab
when I try mount /dev/hdc it brings back the same message.
Thanks for any help.

manual_overide
12-21-2000, 10:38 PM
that's because that directory doesnt' exsist. create it like this:

mkdir /mnt/cdrom

SlCKB0Y
12-21-2000, 11:39 PM
/dev/cdrom /mnt/cdrom iso9660 ro,users,noauto 0 0

teeitup
12-22-2000, 12:45 PM
I think your initial fstab entry was backwards. Since the manual command works we know th /cdrom mount point exists. try...

dev/cdrom /cdrom iso9660 ro,users,noauto 0 0

all users should then beable to use the

mount /cdrom command to fire up cdroms.

Good Luck

BK1
12-22-2000, 07:13 PM
Thanks for your help. That works http://www.linuxnewbie.org/ubb/cool.gif

------------------
The Hills of Defeat are covered with the bleached bones of those, who with victory in sight, paused to rest. Hurry up everytime you think about it.