Click to See Complete Forum and Search --> : Installed Debian via CD, but when I type mount /dev/cdrom it says it can't find it?
I installed Debian via cdrom.
If I type mount /dev/cdrom it says it can't find it.
I can mount the cd if I type:
mount -t iso9660 -o ro /dev/hdc /cdrom
It mounts and then I can run dselect or whatever.
I can unmount by typing the command: umount /dev/cdrom
What do I need to do so I can mount by typing mount /dev/cdrom
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.
Letalis
12-21-2000, 12:15 PM
Try add a line in fstab for the /dev/hd? that is your cdrom. Use "man fstab" for more info.
CRT_Monkey
12-21-2000, 12:28 PM
I have the same prob with my Zip drive. When I added what I think is the appropriate line in the /etc/fstab file then try to mount the zip I get an error saying No new final line in ect/fstab or something like that.
Dont know how to fix it.
teeitup
12-21-2000, 12:34 PM
If your first post is correct you should be entering:
mount /cdrom
This will only work if you have an enrty in the /etc/fstab file for your cdrom. It's usually there by default. Some distros set the mount point at /mnt/cdrom others to just /cdrom. Check you fstab file.
Remember your mounting the mount point not the device when using the shortcut method.
Add users to the options field in fstab to let regular users mount and unmount the cdrom mount point.
As CRT_Monkey said it's all in the man pages.
Good Luck,
------------------
Don't take life to seriously, You'll never get out alive!
-Bugs Bunny-
ndogg
12-21-2000, 12:36 PM
that means you need a symlink to those files, e.g.:
ln -s /dev/hdc /dev/cdrom
Now, just make sure /etc/fstab has an entry (I cant' remember it off the top of my head)
------------------
Too much Sun can give you cancer. Windows break too easily.
Apples/Macintoshes can rot. BSD... sounds too much like LSD.
Penguins are the only animals sophisticated enough to wear a
tuxedo.
Linux, the only one with the Penguin.
http://ndogg.n3.net
yvrich
12-21-2000, 02:31 PM
Originally posted by CRT_Monkey:
I have the same prob with my Zip drive. When I added what I think is the appropriate line in the /etc/fstab file then try to mount the zip I get an error saying No new final line in ect/fstab or something like that.
Dont know how to fix it.
I believe you're getting the "no final newline" message because the last character in fstab has to be a carriage return. Just open it up and go to the end, hit enter once, then save.