Gentoo Archives: gentoo-user

From: daid kahl <daidxor@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist...
Date: Mon, 22 Feb 2010 08:05:58
Message-Id: 3ac129341002212332v16e5672cwee2fc3eb85857a5c@mail.gmail.com
In Reply to: Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist... by Iain Buchanan
1 On 19 February 2010 20:43, Iain Buchanan <iaindb@××××××××××××.au> wrote:
2 > On Fri, 2010-02-19 at 00:49 -0500, James Homuth wrote:
3 >> I performed a bit of an update on my laptop a day or two ago, and
4 >> after reboot, I lost the ability to do anything with /dev/hda*. I
5 >> currently have 0 swap space, and according to stat, ls etc, they don't
6 >> exist. But, booting to an install CD I burned for diagnostic purposes,
7 >> it sees them just fine. Also, and this is the strange part. It boots
8 >> no problem, so the OS is able to mount at least /dev/hda3, even though
9 >> from the command line I'm not seeing it. I'm probably missing
10 >> something completely dead obvious (it's after midnight here and all),
11 >> and Google's turning up nothing, so if someone could kindly slap me in
12 >> the face with it, that'd be appreciated. Thanks either way for
13 >> whatever help comes my way.
14 >
15 > The first thing that jumps to my mind is you have an older initrd that
16 > has your HD drivers in it (such as ATA), but the newer kernel you've
17 > probably just built (is that what you mean by "a bit of an update"?)
18 > doesn't.
19 >
20 > Check for an initrd, and tell us what "a bit of an update" means :) You
21 > could also compare config files between your rescue CD and your system,
22 > if you can find it!
23 >
24 > HTH,
25 > --
26 > Iain Buchanan <iaindb at netspace dot net dot au>
27 >
28
29 Copy the live cd kernel to your machine and make it an option in grub
30 and try booting that. Then at least you can stop chrooting and
31 optical mounting. This will give us some information on if it is a
32 kernel problem or not. Make sure to make modules_install
33
34 If it's the kernel, check out kccmp to compare the kernel options
35 between Live CD and the machine's kernel configuration after you dig
36 up the configuration for the kernel on the Live CD.
37
38 Other people are mentioning udev, and I wonder about this, too.
39 Either before or after you check the kernel (whichever you decide is
40 easier or seems better to you), can you chroot and rebuild udev
41 through portage and also run a revdep-rebuild please? You said you
42 updated, but it is not clear to me that the full update was proper.
43 If you don't have revdep-rebuild, emerge the gentoolkit in the portage
44 tree to get it, and check out the documentation to see what else it
45 includes!
46
47 ~daid

Replies

Subject Author
Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist... daid kahl <daidxor@×××××.com>