LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-15-2002, 02:45 PM   #1
ss109
LQ Newbie
 
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12

Rep: Reputation: 0
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!


 
Old 03-15-2002, 03:00 PM   #2
dewcansam
Member
 
Registered: Nov 2001
Location: Hi Hat KY USA
Distribution: RedHat, Mandrake
Posts: 63

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

Last edited by dewcansam; 03-15-2002 at 03:02 PM.
 
Old 03-15-2002, 03:15 PM   #3
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
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.
 
Old 03-15-2002, 04:19 PM   #4
ss109
LQ Newbie
 
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 03-15-2002, 05:20 PM   #5
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
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:" ??
 
Old 03-15-2002, 05:51 PM   #6
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
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
 
Old 03-15-2002, 06:55 PM   #7
ss109
LQ Newbie
 
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 03-15-2002, 08:32 PM   #8
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Type man MAKEDEV

What distro? And did you recompile your kernel?
 
Old 03-16-2002, 11:09 AM   #9
ss109
LQ Newbie
 
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12

Original Poster
Rep: Reputation: 0
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


Last edited by ss109; 03-16-2002 at 11:10 AM.
 
Old 03-16-2002, 11:56 AM   #10
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

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

Last edited by hanzerik; 03-16-2002 at 11:59 AM.
 
Old 03-16-2002, 02:08 PM   #11
ss109
LQ Newbie
 
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12

Original Poster
Rep: Reputation: 0
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:
 
Old 03-16-2002, 05:31 PM   #12
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
try this:

mknod /dev/fd0 b 2 0
 
Old 03-16-2002, 05:56 PM   #13
ss109
LQ Newbie
 
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12

Original Poster
Rep: Reputation: 0
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

Last edited by ss109; 03-16-2002 at 05:59 PM.
 
Old 03-18-2002, 10:48 AM   #14
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
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?
 
Old 03-18-2002, 10:53 AM   #15
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
Also, what happens when you type "file /dev/fd0" ??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting A Tape Device ronaldseow Linux - Hardware 8 11-21-2005 09:27 AM
Mounting a USB device jaakkop Linux - Hardware 4 05-29-2005 06:50 AM
Mounting USB device Valhalla Linux - Hardware 17 12-11-2004 03:19 PM
Mounting a tape drive as a device chrisk5527 Linux - General 1 11-11-2004 07:18 AM
Device Mounting? supern00b Linux - Newbie 6 10-15-2003 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration