Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] /dev damaged after update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Kwirl
n00b
n00b


Joined: 18 Jul 2005
Posts: 48
Location: Bonn, Germany

PostPosted: Thu Jan 26, 2006 1:46 pm    Post subject: [SOLVED] /dev damaged after update Reply with quote

Hi,

yesterday I started an update of world on my system. A new baselayout was installed, too. Now when I tried to reboot there was an error-message before checking the root-filesystem. Sounds like "unable to open /dev/sda9" which is my root-partition.

This is the only content in my /dev folder:

Code:

cdroms   full      kmsg  null      random   sound  twe11  twe3  twe9     vmnet8
console  ide       log   port      raw1394  tts    twe12  twe4  urandom  zero
discs    ieee1394  md    printers  root     tty    twe13  twe5  usb
dri      initctl   md0   ptmx      scsi     twe0   twe14  twe6  vc
fb       input     mem   pts       shm      twe1   twe15  twe7  vcc
floppy   kmem      misc  pty       snd      twe10  twe2   twe8  vmnet0


This is very strange. Where are all my devices? Can I restore them?


Thanks a lot!


Last edited by Kwirl on Thu Jan 26, 2006 4:00 pm; edited 2 times in total
Back to top
View user's profile Send private message
kadeux
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2005
Posts: 103

PostPosted: Thu Jan 26, 2006 2:58 pm    Post subject: Reply with quote

I guess your kernel is compiled with CONFIG_DEVFS_MOUNT=y. Use the kernel boot parameter devfs=nomount in your bootloader.
Back to top
View user's profile Send private message
Kwirl
n00b
n00b


Joined: 18 Jul 2005
Posts: 48
Location: Bonn, Germany

PostPosted: Thu Jan 26, 2006 3:53 pm    Post subject: Reply with quote

Very nice solution :D Thank you...

Now it is working again. What is the function of this parameter?
Back to top
View user's profile Send private message
kadeux
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2005
Posts: 103

PostPosted: Thu Jan 26, 2006 4:07 pm    Post subject: Reply with quote

Quote:
What is the function of this parameter?
Mounting devfs to /dev at boot time was necessary when using the kernel based devfs instead of using udev in userspace for managing devices.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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