LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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, 01: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, 02: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 02:02 PM.
 
Old 03-15-2002, 02:15 PM   #3
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
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, 03: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, 04:20 PM   #5
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
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, 04: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, 05: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, 07: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, 10: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 10:10 AM.
 
Old 03-16-2002, 10: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 10:59 AM.
 
Old 03-16-2002, 01: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, 04: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, 04: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 04:59 PM.
 
Old 03-18-2002, 09:48 AM   #14
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
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, 09:53 AM   #15
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
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 08:27 AM
Mounting a USB device jaakkop Linux - Hardware 4 05-29-2005 05:50 AM
Mounting USB device Valhalla Linux - Hardware 17 12-11-2004 02:19 PM
Mounting a tape drive as a device chrisk5527 Linux - General 1 11-11-2004 06:18 AM
Device Mounting? supern00b Linux - Newbie 6 10-15-2003 03:16 AM

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

All times are GMT -5. The time now is 10:26 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