LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Device mounting help! (https://www.linuxquestions.org/questions/linux-general-1/device-mounting-help-16353/)

ss109 03-15-2002 01:45 PM

Device mounting help!
 
Whenver I try to mount my floppy, I get an error message that says:


COuld not mount device.
THe reported error was:

mount: /dev/fd0: unknown device


ANy help is appreciated!


:Pengy:

dewcansam 03-15-2002 02:00 PM

check /etc/fstab and see (post) what's there.

$ less /etc/fstab

- or -

try this one and tell me what you get

# mount -t msdos /dev/fd0 /mnt/floppy

Sixpax 03-15-2002 02:15 PM

Is the floppy formatted (i.e. have a FS on it) ?

BTW, the mtools package has commands (mdir, mcd, mcopy, etc) that let you access MSDOS floppies without mounting them.

ss109 03-15-2002 03:19 PM

Quote:

Originally posted by dewcansam

try this one and tell me what you get

# mount -t msdos /dev/fd0 /mnt/floppy

mount: /dev/fd0: unknown device

Sixpax 03-15-2002 04:20 PM

I still think the floppy isn't formatted or is just bad. I get the same error if I try to mount a non-formatted one.

Try a different floppy (one you know is formatted).

Also, what happens when you run "mdir a:" ??

hanzerik 03-15-2002 04:51 PM

format a floppy:

mformat a:

and check in /dev and make sure there is a device called fd0 .
I may be called floppy

and try the "mount -t vfat /dev/fd0 /mnt/floppy" thing again

make sure you have a directory called /mnt/floppy

ss109 03-15-2002 05:55 PM

Quote:

Originally posted by Sixpax
I still think the floppy isn't formatted or is just bad. I get the same error if I try to mount a non-formatted one.

Try a different floppy (one you know is formatted).

Also, what happens when you run "mdir a:" ??

HAve tried a floppy I KNOW is formatted, get the same error.

If I run 'mdir a:', I get

CAn't open /dev/fd0: No such device or address
Cannot initialize 'A:'


QUOTE]Originally posted by hanzerik
format a floppy:

mformat a:

and check in /dev and make sure there is a device called fd0 .
I may be called floppy

and try the "mount -t vfat /dev/fd0 /mnt/floppy" thing again

make sure you have a directory called /mnt/floppy
[/QUOTE]

CAN't format, comes back with same message.

No device in /dev called fd0, there is one called fd, though.

There is a /mnt/floppy directory

hanzerik 03-15-2002 07:32 PM

Type man MAKEDEV

What distro? And did you recompile your kernel?

ss109 03-16-2002 10:09 AM

I typed man MAKEDEV, but I am still a little confused on what this did or it needs to do. I see taht this actually creates the listings under /dev but how do I get it to do so?

Distro is Mandrake 8.1

Never recompiled the kernel

:Pengy:

hanzerik 03-16-2002 10:56 AM

as root:
cd /dev

./MAKEDEV -v fd0

I just tried it on my system. i deleted the fd0 device and then recreated it with ./MAKEDEV -v fd0 .

ss109 03-16-2002 01:08 PM

This is what I get

[root@localhost dev]# MAKEDEV -v fd0
create fd0 b 2 0 root:floppy 660
MAKEDEV: error making /dev/fd0: Operation not permitted
[root@localhost dev]#


Ahhhhhhhhh!
:smash:

hanzerik 03-16-2002 04:31 PM

try this:

mknod /dev/fd0 b 2 0

ss109 03-16-2002 04:56 PM

Quote:

Originally posted by hanzerik
try this:

mknod /dev/fd0 b 2 0

mknod: `/dev/fd0' : File exists

But when I goto /dev manually, I cannot find fd0

Sixpax 03-18-2002 09:48 AM

If you are running KDE, go to the control center, expand the "information" group and click on "block devices".

Does it say anything about your /dev/fd0 there?

Sixpax 03-18-2002 09:53 AM

Also, what happens when you type "file /dev/fd0" ??


All times are GMT -5. The time now is 08:46 AM.