View previous topic :: View next topic |
Author |
Message |
NotExcessive Apprentice
Joined: 10 May 2005 Posts: 235
|
Posted: Wed Aug 09, 2006 7:39 am Post subject: No /dev entries for floppy or CDROM on new system [SOLVED] |
|
|
I've just finished building up a new 2.6.17-r4 system, and when trying to mount a floppy or CDROM, can't, because there are no entries in /dev for any floppies or CDROM devices. How do I get these created manually?
Last edited by NotExcessive on Wed Aug 09, 2006 1:35 pm; edited 1 time in total |
|
Back to top |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Wed Aug 09, 2006 10:01 am Post subject: |
|
|
The question is, why don't you have a /dev
Do you have any UDEV errors beeing reported? Thats kinda strange. _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
NotExcessive Apprentice
Joined: 10 May 2005 Posts: 235
|
Posted: Wed Aug 09, 2006 10:56 am Post subject: |
|
|
I do have a /dev directory, just nothing in there for floppies or CDROMs. Is there a way I can rebuild this? |
|
Back to top |
|
|
Paapaa l33t
Joined: 14 Aug 2005 Posts: 955 Location: Finland
|
Posted: Wed Aug 09, 2006 11:37 am Post subject: |
|
|
Do you have the support turned on in the kernel? |
|
Back to top |
|
|
NotExcessive Apprentice
Joined: 10 May 2005 Posts: 235
|
Posted: Wed Aug 09, 2006 12:07 pm Post subject: |
|
|
Yep most certainly do. |
|
Back to top |
|
|
mdeininger Veteran
Joined: 15 Jun 2005 Posts: 1740 Location: Emerald Isles, observing Dublin's docklands
|
Posted: Wed Aug 09, 2006 12:57 pm Post subject: |
|
|
if you mean nodes like /dev/cdrom, those are usually only symlinks to the actual nodes, like /dev/hdc. do these nodes exist on your system?
if not, you might try to
Code: |
cd /dev && MAKEDEV hdc
| (provided your cdrom is the secondary master ide device) and see if you can mount that. _________________ "Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland
( Twitter | Blog | GitHub ) |
|
Back to top |
|
|
troymc Guru
Joined: 22 Mar 2006 Posts: 553
|
Posted: Wed Aug 09, 2006 1:13 pm Post subject: |
|
|
If you are using udev make sure it's running:
Code: |
$ ps -ef | grep udev
root 1111 1 0 Aug05 ? 00:00:00 /sbin/udevd --daemon
|
If it's not running, start it with: udevstart
It should start automatically creating your /dev nodes for you.
If you are not using udev then you can manually make the static devices using MAKEDEV. If your cd is hdc then try:
Code: |
# cd /dev
# MAKEDEV hdc
|
You might need to enable the device tarball in /etc/conf.d/rc if you do this.
troymc |
|
Back to top |
|
|
NotExcessive Apprentice
Joined: 10 May 2005 Posts: 235
|
Posted: Wed Aug 09, 2006 1:35 pm Post subject: |
|
|
Code: | cd /dev
MAKEDEV hdb |
Did the trick. Thanks |
|
Back to top |
|
|
|