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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-15-2002, 01:45 PM
#1
LQ Newbie
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12
Rep:
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!
03-15-2002, 02:00 PM
#2
Member
Registered: Nov 2001
Location: Hi Hat KY USA
Distribution: RedHat, Mandrake
Posts: 63
Rep:
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 .
03-15-2002, 02:15 PM
#3
Member
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386
Rep:
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.
03-15-2002, 03:19 PM
#4
LQ Newbie
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12
Original Poster
Rep:
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
03-15-2002, 04:20 PM
#5
Member
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386
Rep:
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:" ??
03-15-2002, 04:51 PM
#6
Member
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717
Rep:
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
03-15-2002, 05:55 PM
#7
LQ Newbie
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12
Original Poster
Rep:
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
03-15-2002, 07:32 PM
#8
Member
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717
Rep:
Type man MAKEDEV
What distro? And did you recompile your kernel?
03-16-2002, 10:09 AM
#9
LQ Newbie
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12
Original Poster
Rep:
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 .
03-16-2002, 10:56 AM
#10
Member
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717
Rep:
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 .
03-16-2002, 01:08 PM
#11
LQ Newbie
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12
Original Poster
Rep:
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:
03-16-2002, 04:31 PM
#12
Member
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717
Rep:
try this:
mknod /dev/fd0 b 2 0
03-16-2002, 04:56 PM
#13
LQ Newbie
Registered: Mar 2002
Location: Springfield, Missouri
Distribution: Mandrake 8.1
Posts: 12
Original Poster
Rep:
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 .
03-18-2002, 09:48 AM
#14
Member
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386
Rep:
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?
03-18-2002, 09:53 AM
#15
Member
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386
Rep:
Also, what happens when you type "file /dev/fd0" ??
All times are GMT -5. The time now is 10:26 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News