Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't boot -- disks missing from /dev
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kikibobo
n00b
n00b


Joined: 02 Feb 2004
Posts: 42
Location: Dublin

PostPosted: Mon Aug 30, 2010 3:27 pm    Post subject: Can't boot -- disks missing from /dev Reply with quote

I probably did something silly, since I did an emerge -uDN world without giving it my full attention. I also ran genkernel without really following along, so this is almost certainly My Fault. However, your help is much appreciated...

This is an amd64 system, running a modern Gentoo. I hadn't updated it for a few months (it was turned off, in fact), so I did an emerge --sync and emerge -uDN world, and didn't think much of it.

Now when I try to boot it, it scans devices ok. The bios sees both its physical disks. And, well, it starts to boot ok, so at least one disk is there.

It then does:

* Populating /dev/ with existing devices through uevents ... [ok]
* Waiting for uevents to be processed ... [ok]
* Mounting devpts at /dev/pts ... [ok ]
* Checking root filesystem ...
fsck.jfs

[omitted]

Error: Cannot open device /dev/sda3

[omitted]

* Filesystem coun't be fixed :( [ !! ]

Then asks me for my root password.

/etc/mtab now says that /dev/sda3 is /, but when I do an ls in /dev/, there is no sda3! There are no disks whatsoever to be found in /dev

Plus, / is mounted read-only, so I can't change /etc/fstab to auto-mount /boot.

dmesg has nothing interesting, and of course there is not /var/log/messages.

I do have a finix disk I can boot, but I don't have a clue where to start. Just wiping it is an option (everything important is backed up), but I'd prefer not to, obviously.

Thanks in advance for any help,
Eric
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54827
Location: 56N 3W

PostPosted: Mon Aug 30, 2010 5:57 pm    Post subject: Reply with quote

kikibobo,

You have a new udev with
Code:
 [*] enable deprecated sysfs features to support old userspace tools
still in your kernel.
That prevents udev from working properly. Turn that option off, then rebuild your kernel. As you are a genkernel user, you will need to use the -menuconfig option.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Bombe
n00b
n00b


Joined: 07 Jul 2004
Posts: 21
Location: Hamburg, Germany

PostPosted: Mon Sep 06, 2010 6:26 am    Post subject: Reply with quote

NeddySeagoon wrote:
Code:
 [*] enable deprecated sysfs features to support old userspace tools

Turn that option off, then rebuild your kernel.

As my /dev/sda suddenly disappeared too, I disabled this option in the kernel configuration and everything was fine again. Thanks, NeddySeagoon!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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