LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-02-2005, 08:13 AM   #1
tyranus
LQ Newbie
 
Registered: Aug 2005
Posts: 22

Rep: Reputation: 15
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
 
Old 09-02-2005, 08:19 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
If you open a terminal and issue "man mount" you can read the options.
 
Old 09-02-2005, 08:21 AM   #3
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
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.

Last edited by tangle; 09-02-2005 at 08:25 AM.
 
Old 09-02-2005, 08:27 AM   #4
tyranus
LQ Newbie
 
Registered: Aug 2005
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 09-02-2005, 08:29 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Post the output of "cat /etc/fstab" and "ls -al /mnt" and "dmesg | grep hd"
 
Old 09-02-2005, 08:49 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,243

Rep: Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861
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.
 
Old 09-02-2005, 09:07 AM   #7
Biased turkey
Member
 
Registered: Jan 2002
Location: Canada
Distribution: redhat7.2
Posts: 169

Rep: Reputation: 30
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
 
Old 09-02-2005, 09:29 AM   #8
tyranus
LQ Newbie
 
Registered: Aug 2005
Posts: 22

Original Poster
Rep: Reputation: 15
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: hdaMA, hdbio
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdcio, hddio
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
 
Old 09-02-2005, 09:44 AM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.

Last edited by Bruce Hill; 09-02-2005 at 09:52 AM.
 
Old 09-02-2005, 10:07 AM   #10
tyranus
LQ Newbie
 
Registered: Aug 2005
Posts: 22

Original Poster
Rep: Reputation: 15
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...
 
Old 09-02-2005, 10:18 AM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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"
 
Old 09-02-2005, 10:30 AM   #12
tyranus
LQ Newbie
 
Registered: Aug 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Hey, thanks a lot man..
The right post is "mount -t vfat /dev/fd0 /media/floppy0"

My sincere regards.
 
Old 09-02-2005, 10:47 AM   #13
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You're welcome, and I almost forgot ....

Welcome to LQ!
 
Old 09-02-2005, 10:50 AM   #14
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
You can also type mount /mnt/floppy0
 
Old 09-02-2005, 10:55 AM   #15
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting cdrom and floppy jimdene Mandriva 22 09-10-2003 12:00 AM
??? cdrom and floppy mounting rikkulinux Linux - Newbie 2 08-13-2003 04:57 PM
mounting floppy and cdrom drive jcb_dreamvsat Linux - Newbie 8 06-22-2003 10:31 AM
Mounting floppy/cdrom in WindowMaker leiavoia Linux - Newbie 2 03-11-2002 09:57 AM
Needing help with mounting cdrom and floppy voitel Linux - Software 6 07-13-2001 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration