Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No /dev entries for floppy or CDROM on new system [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
NotExcessive
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 235

PostPosted: Wed Aug 09, 2006 7:39 am    Post subject: No /dev entries for floppy or CDROM on new system [SOLVED] Reply with quote

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
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Wed Aug 09, 2006 10:01 am    Post subject: Reply with quote

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
View user's profile Send private message
NotExcessive
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 235

PostPosted: Wed Aug 09, 2006 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Paapaa
l33t
l33t


Joined: 14 Aug 2005
Posts: 955
Location: Finland

PostPosted: Wed Aug 09, 2006 11:37 am    Post subject: Reply with quote

Do you have the support turned on in the kernel?
Back to top
View user's profile Send private message
NotExcessive
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 235

PostPosted: Wed Aug 09, 2006 12:07 pm    Post subject: Reply with quote

Yep most certainly do.
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Wed Aug 09, 2006 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Wed Aug 09, 2006 1:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
NotExcessive
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 235

PostPosted: Wed Aug 09, 2006 1:35 pm    Post subject: Reply with quote

Code:
cd /dev
MAKEDEV hdb


Did the trick. Thanks :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum