mounting cdrom and floppy
I would appreciate help with my cdrom and floppy. I have recently installed Mandrake 9.1., and I would imagine that the fstab file below should not have none against /mnt/cdrom and /mnt/floppy, would someone please explain how I go about getting them to work, also iso9660 is always mentioned along with cdroms, mine is iso8859. Would I be correct in saying /dev/scd0 is scussi, because I have a normal IDE cable
/dev/hda6 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda8 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-15,sync,codepage=850,umask=0 0 0 /dev/hda1 /mnt/win_c vfat iocharset=iso8859-15,codepage=850,umask=0 0 0 /dev/hda5 /mnt/win_d vfat iocharset=iso8859-15,codepage=850,umask=0 0 0 none /proc proc defaults 0 0 /dev/hda7 swap swap defaults 0 0 |
your fstab looks fine. The none is for supermount. The iso-8859 refers to the character coding, iso-9660 refers to the way the file-system is formatted so no conflicts there.
Have you actually tried inserting a floppy and CD and see if you can access them? If you can, there is no problem. |
Quote:
However, Mandrake is most likely using SCSI emulation in order to access your IDE CD-ROM. That's all. To mount a CD-ROM, at the command line, type: Code:
mount /dev/cdrom Don't forget to unmount, type: Code:
umount /dev/cdrom The floppy will be mounted in /mnt/floppy |
Do you mean I delete everything in that row and type mount /dev/cdrom
|
NO. Do not edit anything in fstab.
My previous post explains how to mount a cd-rom or a floppy from the command line (console). If you are having problems with Mandrake's automounters. Try the previous commands at the command line (console). |
I am green, I have not used any commands. What do you mean command line console. Please would you lead me step by step
|
In Linux, there is something called a Console (the command line), this is where you will type commands.
In the Menu (and sub-menus), look for Console (or DrakConsole). Take a look at this link. http://doc.mandrakelinux.com/Mandrak...akconsole.html From there, you will be able to type the commands from my previous post. Also, if you insert a cd-rom or floppy in the drives, are you able to access them ? CD-ROM is /mnt/cdrom Floppy is /mnt/floppy |
Thanks for that Mathieu. Its time for bed here in Australia, and so I will give it a go in the morning
|
you should NOT have to mount floppies and CDs maually in mandrake. If the supermount feature is working, you should see the contents of the floopy/CD when you put it into the drive. This is what supermount accomplishes.
|
Thanks for the replies.
My floppy is working ok, but when I insert a cd disk and click on cdrom desktop icon, it takes me into Konqueror and there is an error "could not enter directory /mnt/cdrom" |
Thanks also for that Mandrake link Mathieu, thats just what I need to know about
|
Quote:
Also, open a konsole in superuser mode (there is an entry in the menu under terminals), right click on /mnt/cdrom and check if non-root users have permission to enter (it's under properties). If they don't just change it. |
Floppy BIG bug !
Hy quatsch
In konqueror when i change the floppy, it continues to show the conteud of the first floppy. Someone told me to use supermount feature and that have some faults so then close that conqueror,remove the floppy, open a new knoqueror and insert the new floppt, but continues to show the conteud of the 1º floppy. I already installed ths autofs rpm and configured it, and disable the supermount option for the fstab, and i continue to DONT get the conteud of the (new) floppy. whats wrong, can u help me? Here are the fstab and the auto.master, auto.misc and auto.net auto.master: # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $ # Sample auto.master file # Format of this file: # mountpoint map options # For details of the format look at autofs(8). /misc /etc/auto.misc --timeout=60 /net /etc/auto.net --timeout=60 auto.misc: # $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $ # This is an automounter map and it has the following format # key [ -mount-options-separated-by-comma ] location # Details may be found in the autofs(5) manpage kernel -ro,soft,intr ftp.kernel.org:/pub/linux cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom floppy -fstype=auto :/dev/fd0 # the following entries are samples to pique your imagination #boot -fstype=ext2 :/dev/hda1 #floppy -fstype=ext2 :/dev/fd0 #e2floppy -fstype=ext2 :/dev/fd0 #jaz -fstype=ext2 :/dev/sdc1 #removable -fstype=ext2 :/dev/hdd auto.net: #!/bin/sh # $Id: //depot/autofs-4.0/samples/auto.net#6 $ # Look at what a host is exporting to determine what we can mount. # This is very simple, but it appears to work surprisingly well key="$1" # add "nosymlink" here if you want to suppress symlinking local filesystems # add "nonstrict" to make it OK for some filesystems to not mount opts="-fstype=nfs,hard,intr,nodev,nosuid,nonstrict" # Showmount comes in a number of names and varieties. "showmount" is # typically an older version which accepts the '--no-headers' flag # but ignores it. "kshowmount" is the newer version installed with knfsd, # which both accepts and acts on the '--no-headers' flag. #SHOWMOUNT="kshowmount --no-headers -e $key" #SHOWMOUNT="showmount -e $key | tail +2" # Newer distributions get this right SHOWMOUNT="showmount --no-headers -e $key" $SHOWMOUNT | sort +0 | \ awk -v key="$key" -v opts="$opts" -- ' BEGIN { ORS=""; first=1 } { if (first) { print opts; first=0 }; print " \\\n\t" $1, key ":" $1 } END { if (!first) print "\n"; else exit 1 } ' and fstab: /dev/hda6 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda8 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,sync,unhide,umask=0,defaults 0 0 none /mnt/cdrom2 supermount dev=/dev/hdd,fs=auto,ro,--,sync,unhide,umask=0,defaults 0 0 /dev/hda1 /mnt/disk1 ntfs iocharset=iso8859-15,umask=0 0 0 /dev/hdb1 /mnt/disk2 vfat iocharset=iso8859-15,codepage=850,umask=0 0 0 /dev/hda5 /mnt/disk3 vfat iocharset=iso8859-15,codepage=850,umask=0 0 0 /dev/fd0 /mnt/floppy auto umask=0,defaults 0 0 none /proc proc defaults 0 0 /dev/hda7 swap swap defaults 0 0 I hope that i put here everything needed for u can help me :) |
Floppy BIG bug !
Quote:
Hy quatsch In konqueror when i change the floppy, it continues to show the conteud of the first floppy. Someone told me to use supermount feature and that have some faults so then close that conqueror,remove the floppy, open a new knoqueror and insert the new floppt, but continues to show the conteud of the 1º floppy. I already installed ths autofs rpm and configured it, and disable the supermount option for the fstab, and i continue to DONT get the conteud of the (new) floppy. whats wrong, can u help me? Here are the fstab and the auto.master, auto.misc and auto.net auto.master: # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $ # Sample auto.master file # Format of this file: # mountpoint map options # For details of the format look at autofs(8). /misc /etc/auto.misc --timeout=60 /net /etc/auto.net --timeout=60 auto.misc: # $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $ # This is an automounter map and it has the following format # key [ -mount-options-separated-by-comma ] location # Details may be found in the autofs(5) manpage kernel -ro,soft,intr ftp.kernel.org:/pub/linux cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom floppy -fstype=auto :/dev/fd0 # the following entries are samples to pique your imagination #boot -fstype=ext2 :/dev/hda1 #floppy -fstype=ext2 :/dev/fd0 #e2floppy -fstype=ext2 :/dev/fd0 #jaz -fstype=ext2 :/dev/sdc1 #removable -fstype=ext2 :/dev/hdd auto.net: #!/bin/sh # $Id: //depot/autofs-4.0/samples/auto.net#6 $ # Look at what a host is exporting to determine what we can mount. # This is very simple, but it appears to work surprisingly well key="$1" # add "nosymlink" here if you want to suppress symlinking local filesystems # add "nonstrict" to make it OK for some filesystems to not mount opts="-fstype=nfs,hard,intr,nodev,nosuid,nonstrict" # Showmount comes in a number of names and varieties. "showmount" is # typically an older version which accepts the '--no-headers' flag # but ignores it. "kshowmount" is the newer version installed with knfsd, # which both accepts and acts on the '--no-headers' flag. #SHOWMOUNT="kshowmount --no-headers -e $key" #SHOWMOUNT="showmount -e $key | tail +2" # Newer distributions get this right SHOWMOUNT="showmount --no-headers -e $key" $SHOWMOUNT | sort +0 | \ awk -v key="$key" -v opts="$opts" -- ' BEGIN { ORS=""; first=1 } { if (first) { print opts; first=0 }; print " \\\n\t" $1, key ":" $1 } END { if (!first) print "\n"; else exit 1 } ' and fstab: /dev/hda6 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda8 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,sync,unhide,umask=0,defaults 0 0 none /mnt/cdrom2 supermount dev=/dev/hdd,fs=auto,ro,--,sync,unhide,umask=0,defaults 0 0 /dev/hda1 /mnt/disk1 ntfs iocharset=iso8859-15,umask=0 0 0 /dev/hdb1 /mnt/disk2 vfat iocharset=iso8859-15,codepage=850,umask=0 0 0 /dev/hda5 /mnt/disk3 vfat iocharset=iso8859-15,codepage=850,umask=0 0 0 /dev/fd0 /mnt/floppy auto umask=0,defaults 0 0 none /proc proc defaults 0 0 /dev/hda7 swap swap defaults 0 0 I hope that i put here everything needed for u can help me |
I trust the last two replies are in the wrong place and were not meant for me.
I tried following the instructions to Terminals, then Konsole super user, but finished with a login command. However I don't know if the same information is available in the desktop cdrom icon, but I right clicked this and found "Permissions, User and Enter" ticked but nothing in the "None Group or Others" I loaded Mandrake on a spare pc just as a comparison, the cdrom accepts my cds, and my fstab for this, is as shown below. The difference being no windows installed and unlike this computer, only one hard drive. The cdrom on both pcs is on the slave of the harddrives and the spare I can understand as being /dev/hdb, Should I attempt to change this pc to /dev/hdb, instead of /dev/scd0, if so would I use a text editor to do so? /dev/hda6 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda8 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-15,sync,codepage=850,umask=0 0 0 /dev/hda1 /mnt/win_c vfat iocharset=iso8859-15,codepage=850,umask=0 0 0 /dev/hda5 /mnt/win_d vfat iocharset=iso8859-15,codepage=850,umask=0 0 0 none /proc proc defaults 0 0 /dev/hda7 swap swap defaults 0 0 Spare PC /dev/hda1 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda6 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/hdb,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-15,sync,codepage=850,umask=0 0 0 none /proc proc defaults 0 0 /dev/hda5 swap swap defaults 0 0 |
All times are GMT -5. The time now is 05:59 PM. |