LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problems with mounting floppy and cdrom (https://www.linuxquestions.org/questions/debian-26/problems-with-mounting-floppy-and-cdrom-359477/)

tyranus 09-02-2005 08:13 AM

Problems with mounting floppy and cdrom
 
When I try to mount the floppy disk or the cdrom there is mistake that says:

you must specify the file system type

so I need you to tell me which options I have to use with the mount command

Thanks

Bruce Hill 09-02-2005 08:19 AM

If you open a terminal and issue "man mount" you can read the options.

tangle 09-02-2005 08:21 AM

You should be able to type mount /mnt/cdrom and mount /mnt/floppy. If the entried in you /etc/fstab are correct, it should mount it with no problem.

Here are the entries for my cdrom and floppy in the fstab file.

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0

To mount them manually use the mount -t option.
mount -t iso9660 /dev/hdc /mnt/cdrom

where /dev/hdc is your secondary master drive. If you do not know hda is the primary master, hdb is the primary slave, hdc is the secondary master and hdd is the secondary slave.

tyranus 09-02-2005 08:27 AM

Chinaman I`ve already done that but I cannot find the right one.
and tangle I tried what you said but there is a mistake
cannot find /mnt/floppy in you /etc/fstab or /etc/mtab
sorry I forgot to tell you I working with Debian Sarge

Bruce Hill 09-02-2005 08:29 AM

Post the output of "cat /etc/fstab" and "ls -al /mnt" and "dmesg | grep hd"

camorri 09-02-2005 08:49 AM

The default file system type for the CDRom is iso9660 assuming this is a data CD you are trying to mount. You do not need to mount a music CD.

As for the floppy, if it was formatted with windoze, try type msdos. Linux supports many more formats than winbloze. In fact on a standard 1.44 Mbyte floppy linux can store more data, something like 1.7 Mbytes. ( it could be more ).

If you need more help with the floppy, post the physical type of floppy, ie 720 Kbyte 1.44 Mbyte 2.88 Mbyte etc. Also tell us how the floppy was formatted.

Biased turkey 09-02-2005 09:07 AM

If you work with KDE, right-click on the desktop to create a new device, then select CD-DVD or floppy if you want to create a floppy device then select media/cdrom

tyranus 09-02-2005 09:29 AM

This is what happens when I post cat /etc/fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda3 / ext3 defaults,errors=remount-ro 0 1
/dev/sda2 /boot ext3 defaults 0 2
/dev/sda5 /home ext3 defaults 0 2
/dev/sda1 none swap sw 0 0
/dev/hda /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

When I post ls -al /mnt

drwxr-xr-x 2 root root 4096 2004-12-15 18:55 .
drwxr-xr-x 21 root root 4096 2005-08-28 09:21 ..

When I post dmesg | grep hd

ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
hda: HL-DT-STDVD-ROM GDR8162B, ATAPI CD/DVD-ROM drive
hda: ATAPI 48X DVD-ROM drive, 256kB Cache, UDMA(33)
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
e100: eth0: e100_watchdog: link down
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
e100: eth0: e100_watchdog: link down
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
e100: eth0: e100_watchdog: link down
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
e100: eth0: e100_watchdog: link down
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex

I`ve tried everything you said but it keeps saying

you must specify the file system type

Bruce Hill 09-02-2005 09:44 AM

This is what Slackware setup for me by default:
Code:

/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro  0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0

With that setup all I need do is insert the media, then in a terminal as root issue "mount /mnt/cdrom" or "mount /mnt/floppy" to mount the device.

Your setup has user mounting the devices, which simply means that the user who mounts the device is the only one who can unmount it. Shouldn't be a problem there. Try issuing in a terminal "mount /media/cdrom0" or "mount /media/floppy0" and that should get your CD mounted. If it's an audio CD, you don't mount it, but simply play it with an app such as XMMS.

Edit: If you're more comfortable with a GUI application, you should be able to use Konqueror to mount and read the CD. If you're running KDE, click on the Home icon and that will open Konqueror. Then select Storage Media and you should be able to mount any device that has that little green arrow to the bottom right just by clicking on it.

tyranus 09-02-2005 10:07 AM

I'm trying to mount a 1.44Mb floppy disk.
I tried by creating a new device and by clicking on Home and when I try to open the Floppy the system it self tries tries to mount the device /dev/fd0 and the same mistake appears

mount: you must specify the filesystem type
Please check that the disk is entered correctly.

I think that the disk probably have an NTFS format:

I really don't konw what to do...

Thanks all of you for your help...

Bruce Hill 09-02-2005 10:18 AM

There is no need to create a new device.

Your system has
Code:

/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
so you would mount a floppy device by issuing "mount /media/floppy0" as a regular user. Now you can see that the file system says "auto" so that any filesystem for which you have kernel support should work. Unless you specifically formatted the disk NTFS, it's probably not. They usually come pre-formatted as FAT. Can you check the disk in a Windoze system? If you can't mount it as user (don't know why not), then try mounting it as root by issuing "mount -t vfat /dev/fd0 /media/floppy0" and that should get it done.

If the floppy is formatted NTFS, then you may need to recompile your kernel. You must have support in the kernel for any filesystem you wish to use. If it is NTFS, then issue "mount -t ntfs /dev/fd0 /media/floppy0"

tyranus 09-02-2005 10:30 AM

Hey, thanks a lot man..
The right post is "mount -t vfat /dev/fd0 /media/floppy0"

My sincere regards.

Bruce Hill 09-02-2005 10:47 AM

You're welcome, and I almost forgot ....

Welcome to LQ!

tangle 09-02-2005 10:50 AM

You can also type mount /mnt/floppy0

Bruce Hill 09-02-2005 10:55 AM

Quote:

Originally posted by tangle
You can also type mount /mnt/floppy0
Not unless he creates the mount point "/mnt/floppy0" and edits /etc/fstab


All times are GMT -5. The time now is 08:54 PM.