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

tyranus 09-02-2005 11:35 AM

tangle

he is right I tried posting mount /mnt/fd0 and it didn`t worked out

cannot find /mnt/floppy0 in your /etc/fstab or /etc/mtab

this is what happens when you do that

regards

tangle 09-02-2005 01:30 PM

I misread his post, thought it was /mnt not media. Is media used instead of mnt in debian?

rthdesign 09-02-2005 02:54 PM

mount problem after trying to use another hardisc
 
Failed to open the device ‘/dev/hdb1’: no such device or address << i took it out but its not the problem see below.


Warning… fsck.reiserfs for device /dev/hdb1 exited with signal 6.

Fsck.reiserfs /dev/hdb1 failed (status0x8) . Run manually! << Failed

Usbcore: registered new driver usbfs

Usbcore: registered new driver hub

Ehci-hcd uhci-hcd USB Universal Host Controller Interface driver v2.2

Usb-ohci usb-uhci

Wait 3 seconds for usb initialsation…

Usbcore: registerd new driver hiddev

Usbcore: registerd new driver usbhid

Drivers/usb/input/hid-core.c: v2.01:usb hid core driver



Fsck failed for atleast one filesystem ( not / ).

Please reapir manually and reboot.

The root file system is already mounted read-write.





Give root password for login:

PTrenholme 09-02-2005 03:45 PM

Re: mount problem after trying to use another hardisc
 
Quote:

Originally posted by rthdesign
[snip]
Warning… fsck.reiserfs for device /dev/hdb1 exited with signal 6.
Fsck.reiserfs /dev/hdb1 failed (status0x8) . Run manually! << Failed
[snip]
Fsck failed for atleast one filesystem ( not / ).
Please reapir manually and reboot.
The root file system is already mounted read-write.

Give root password for login:

I gather that this is a new problem from rthdesign, so:

1) This is a new disk (/dev/hdb1). Did you run mkreiserfs /dev/hdb1 to format the disk as a Reiser fs? If not, you need to do that before the disk can be mounted at all.

2) If you have formatted the disk, then did you follow the suggestion: I.e., Enter the root password, and the fsck /dev/hdb1 command? What happened when you did this?

Bruce Hill 09-02-2005 03:52 PM

Re: mount problem after trying to use another hardisc
 
Quote:

Originally posted by rthdesign
Failed to open the device ‘/dev/hdb1’: no such device or address
You might not have meant to, but you hijacked someone else's thread.
What you need to do is make a correction to your post here, and either
(a) post in your thread, or
(b) start a new thread for your issue.

rthdesign 09-03-2005 07:56 AM

wrong post.
 
i am sorry for posting or hijacking someone elses post. i am a newbie here and with linux. but i sloved already my mount problem with my 2st disk hda1 it will boot again. i just opened the suseconfig editor and fixed it . thanks anyway ppl. sorry for wrong post.


All times are GMT -5. The time now is 09:03 AM.