Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
|
05-08-2009, 03:27 AM
|
#1
|
Member
Registered: Mar 2005
Distribution: Zenwalk for now
Posts: 82
Rep:
|
How do you reinstall a driver?
I went to cp a driver to floppy and goofed up, should have studied first. Anyway just wiped out fd0, how to reinstall it?
|
|
|
05-08-2009, 07:40 AM
|
#2
|
Member
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132
Rep:
|
What is the driver for?
|
|
|
05-08-2009, 08:07 AM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by Bill Johns
I went to cp a driver to floppy and goofed up, should have studied first. Anyway just wiped out fd0, how to reinstall it?
|
Do you mean that you erased /dev/fd0? Please give more detail on exactly what you did.
|
|
|
05-08-2009, 12:08 PM
|
#4
|
Member
Registered: Mar 2005
Distribution: Zenwalk for now
Posts: 82
Original Poster
Rep:
|
That is correct fd0 is gone, what I did is copied over it with the mouse driver. So yeah since it didn't work I just erased it. So I have the packages on cd anyone know which one has the driver and how to install just it?
fd0 is the number 1 floppy drive, driver in /dev
Last edited by Bill Johns; 05-08-2009 at 12:19 PM.
|
|
|
05-11-2009, 02:38 AM
|
#5
|
Member
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132
Rep:
|
The items in /dev aren't drivers, they are devices. Links to physical and virtual pieces of hardware.
You mention that you copied over it with the mouse drivers, do you know specifically what you did, what steps you took?
It would be worth you running this command to see if it outputs anything useful:
dmesg | grep fd0
and
dmesg | grep floppy
This should tell you if its being detected at boot up.
|
|
|
05-11-2009, 07:36 AM
|
#6
|
Member
Registered: Nov 2008
Location: London, UK
Distribution: CentOS, RedHat, Ubuntu
Posts: 79
Rep:
|
also if you cant remember what you typed - into your console type 'history' and it will show the list of commands you have run.
|
|
|
05-11-2009, 05:23 PM
|
#7
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
Often the devices under /dev are generated automatically at boot time. It is quite rare to find a modern Linux system that still has statically created devices that are prone to being removed. It's a bit of a Windows-response, but try rebooting.
|
|
|
05-12-2009, 02:03 AM
|
#8
|
Member
Registered: Mar 2005
Distribution: Zenwalk for now
Posts: 82
Original Poster
Rep:
|
I will give it a try. It may be a while before I can though. Thanks a bunch for the tips.
So where are the drivers located? Are they part of the kernel?
|
|
|
05-12-2009, 04:13 AM
|
#9
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
"Drivers" are called "modules" on Linux systems. They can be compiled into the kernel or as separate files.
|
|
|
05-12-2009, 06:17 PM
|
#10
|
Member
Registered: Mar 2005
Distribution: Zenwalk for now
Posts: 82
Original Poster
Rep:
|
So since I deleted fd0 how to put it back and link it?
|
|
|
05-13-2009, 03:47 AM
|
#11
|
Member
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132
Rep:
|
Bill, I don't think you seem to be understanding. fd0 isn't a driver, it never will be a driver so don't worry about that.
What happens is you boot your PC, Linux detects the hardware and loads the devices it has device drivers/modules for and it populates /dev/fd0
If you don't get a /dev/fd0 I doubt its a driver problem unless it was a USB floppy drive then you might have a problem.
Here are a few URLs to read up on:
http://unix.derkeiler.com/Newsgroups...5-10/0494.html
http://forums11.itrc.hp.com/service/...threadId=99262
http://www.unix.com/hp-ux/46769-recr...-dev-null.html
Do NOT follow any of the steps in the above links, these are just other people asking about files under /dev
Last edited by Lee_Ball; 05-13-2009 at 03:50 AM.
Reason: addition of content
|
|
|
05-15-2009, 09:26 PM
|
#12
|
Member
Registered: Mar 2005
Distribution: Zenwalk for now
Posts: 82
Original Poster
Rep:
|
Lee Ball, I do understand. Can I just make an fd0 file or what ever and then it needs a like. Though since I haven't tried to run that pc yet it may do that at boot up. We'll see.
|
|
|
05-18-2009, 02:48 AM
|
#13
|
Member
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132
Rep:
|
I think you'll be fine after a reboot. come back to us if its still missing yet the drive is physically in it.
|
|
|
All times are GMT -5. The time now is 09:06 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
|
|