LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-08-2009, 03:27 AM   #1
Bill Johns
Member
 
Registered: Mar 2005
Distribution: Zenwalk for now
Posts: 82

Rep: Reputation: 15
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?
 
Old 05-08-2009, 07:40 AM   #2
Lee_Ball
Member
 
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132

Rep: Reputation: 18
What is the driver for?
 
Old 05-08-2009, 08:07 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Bill Johns View Post
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.
 
Old 05-08-2009, 12:08 PM   #4
Bill Johns
Member
 
Registered: Mar 2005
Distribution: Zenwalk for now
Posts: 82

Original Poster
Rep: Reputation: 15
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.
 
Old 05-11-2009, 02:38 AM   #5
Lee_Ball
Member
 
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132

Rep: Reputation: 18
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.
 
Old 05-11-2009, 07:36 AM   #6
dxangel
Member
 
Registered: Nov 2008
Location: London, UK
Distribution: CentOS, RedHat, Ubuntu
Posts: 79

Rep: Reputation: 18
also if you cant remember what you typed - into your console type 'history' and it will show the list of commands you have run.
 
Old 05-11-2009, 05:23 PM   #7
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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.
 
Old 05-12-2009, 02:03 AM   #8
Bill Johns
Member
 
Registered: Mar 2005
Distribution: Zenwalk for now
Posts: 82

Original Poster
Rep: Reputation: 15
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?
 
Old 05-12-2009, 04:13 AM   #9
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
"Drivers" are called "modules" on Linux systems. They can be compiled into the kernel or as separate files.
 
Old 05-12-2009, 06:17 PM   #10
Bill Johns
Member
 
Registered: Mar 2005
Distribution: Zenwalk for now
Posts: 82

Original Poster
Rep: Reputation: 15
So since I deleted fd0 how to put it back and link it?
 
Old 05-13-2009, 03:47 AM   #11
Lee_Ball
Member
 
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132

Rep: Reputation: 18
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
 
Old 05-15-2009, 09:26 PM   #12
Bill Johns
Member
 
Registered: Mar 2005
Distribution: Zenwalk for now
Posts: 82

Original Poster
Rep: Reputation: 15
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.
 
Old 05-18-2009, 02:48 AM   #13
Lee_Ball
Member
 
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132

Rep: Reputation: 18
I think you'll be fine after a reboot. come back to us if its still missing yet the drive is physically in it.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia Driver needs a reinstall after each reboot H-Radical Linux - Hardware 6 10-27-2008 03:18 AM
MUST reinstall nic driver EVERY login curtdodds Solaris / OpenSolaris 1 05-27-2005 09:04 PM
Do I need to reinstall NVIDIA driver? sdat1333 Fedora 3 11-28-2004 03:40 PM
fedora: do i need to reinstall my video driver? arpi Linux - General 2 03-24-2004 04:50 PM
Switched Nics, new NIC has old driver, how to reinstall driver? Passive Linux - Hardware 3 04-29-2002 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:32 PM.

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