Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] system can not find kernel, "hda3" or unknown block (0,0)
Date: Thu, 06 Feb 2014 05:38:28
Message-Id: 52F31FC7.40701@gmail.com
In Reply to: Re: [gentoo-user] system can not find kernel, "hda3" or unknown block (0,0) by Joseph
1 On 06/02/2014 04:53, Joseph wrote:
2 > On 02/05/14 20:34, Canek Peláez Valdés wrote:
3 >> On Wed, Feb 5, 2014 at 7:30 PM, Joseph <syscon780@×××××.com> wrote:
4 >>> On 02/06/14 01:12, Neil Bothwick wrote:
5 >>>>
6 >>>> On 6 February 2014 00:23:42 GMT+00:00, Joseph <syscon780@×××××.com>
7 >>>> wrote:
8 >>>>
9 >>>> I'm trying to figure it out what happened during my process of
10 >>>> switching
11 >>>> to syst
12 >>>> emd and I'm lost
13 >>>> When I try to boot I get:
14 >>>> "hda3" or unknown block (0,0)
15 >>>> In grub.conf I have:
16 >>>> root (hd0,0)
17 >>>> kernel /kernel-current root=/dev/hda3
18 >>>>
19 >>>> Are you sure it should be hda3 and not sda3?
20 >>>> --
21 >>>> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
22 >>>
23 >>>
24 >>> Yes, that is correct. This is a old box and in fstab all line have
25 >>> "hda..."
26 >>
27 >> CONFIG_IDE is deprecated in the kernel and systemd/udev requires it to
28 >> be unset. It's possible that you disabled it, and then you now have
29 >> sda instead of had?
30 >>
31 >> Regards.
32 >> --
33 >> Canek Peláez Valdés
34 >> Posgrado en Ciencia e Ingeniería de la Computación
35 >> Universidad Nacional Autónoma de México
36 >
37 > Hm, it is possible. My fstab has all entries as hda...
38 > But when I do a bootstrap I had to type sda3 (not hda3)
39 >
40 > However, after boot strap when I entry "grub" and try to verify the
41 > entry it shows as "hd0"
42 >
43
44
45 "hd0" is grubs notation of hard drives. It doesn't use the kernel
46 systems and draws no distinction between IDE, SATA or any other type.
47 They are all called "hd" which stands for hard drive.
48
49 When the Linux kernel runs the disk driver in use calls drives "hd?" or
50 "sd?" depending on the driver. You need to disable the ancient IDE
51 subsystem as systemd can't use it and use instead the new combined
52 all-in-one system. It calls drives /dev/sd?
53
54
55
56 --
57 Alan McKinnon
58 alan.mckinnon@×××××.com