Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] x86 boot failure
Date: Thu, 06 May 2010 11:53:57
Message-Id: z2s358eca8f1005060452l3cf391c3r4028f47c1fb52989@mail.gmail.com
In Reply to: [gentoo-user] x86 boot failure by Roger Mason
1 On 6 May 2010 09:37, Roger Mason <rmason@×××.ca> wrote:
2 > Hello all,
3 >
4 > I just built a new machine (celeron 3 GHz) using a script that builds
5 > the kernel using genkernel and a config that is copied from that of the
6 > kernel on the install cd.  The latter was downloaded and burned from a
7 > very recent autobuild.
8 >
9 > The build process appears to complete successfully, with nothing
10 > untoward in the logs.  However, the machine will not boot but hangs at
11 > this point in the process:
12 >
13 > root (hd0,0)
14 >
15 > Filesystem type is ext2fs, partition type 0x83
16 > kernel /boot/kernel-genkernel-x86-2.6.32-gentoo-r7 root=/dev/ram0 init=linuxrc ramdisk=8192 real_root=/dev/sda3 vga=791
17 >
18 > [Linux-bzImage, setup=0x3000, size=0x2a8d80]
19 >
20 > This is the grub.conf:
21 >
22 > default 0
23 > timeout 5
24 >
25 > title Gentoo genkernel-x86-2.6.32-gentoo-r7
26 > root (hd0,0)
27 >
28 > kernel /boot/kernel-genkernel-x86-2.6.32-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 vga=791
29 > initrd /boot/initramfs-genkernel-x86-2.6.32-gentoo-r7
30 >
31 > I have verified that the names of the kernel and initrd on the disk
32 > match those in grub.conf.  In any case a wrong filename is usually
33 > signalled as 'not found' during the boot process.
34 >
35 > Can anyone suggest how to debug this?
36
37 When I get problems like this I usually run grub in a terminal and
38 then use autocompletion to find out what grub sees:
39
40 root (hd <--tab
41
42 it will list all partitions and hopefully help you find your boot partition.
43
44 Then search for the kernel image: kernel /boot/ <--tab
45
46 If you have chosen the correct grub root partition you should find
47 your kernel image in there.
48 --
49 Regards,
50 Mick

Replies

Subject Author
Re: [gentoo-user] x86 boot failure Roger Mason <rmason@×××.ca>
Re: [gentoo-user] x86 boot failure Peter Humphrey <peter@××××××××××××××.org>