Gentoo Archives: gentoo-user

From: Holly Bostick <motub@××××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] GRUB won't boot my new Gentoo install
Date: Fri, 05 Aug 2005 12:51:03
Message-Id: 42F35DA1.4030803@planet.nl
In Reply to: [gentoo-user] [OT] GRUB won't boot my new Gentoo install by Dan Johansson
1 Dan Johansson schreef:
2 > Hi,
3 >
4 > At the moment I'm trying to upgrade one of my old computers from SuSE to
5 > Gentoo. I have install a second SCSI-disk and installed Gentoo on this second
6 > disk using a stage-1 install. But when I try to boot my new install GRUB
7 > hangs (kernel does not uncompress) after I have selected the kernel.
8 >
9 > This is the output from grub after selecting my gentoo setup.
10 >
11 > root (hd1,2)
12 > Filesystem type is ext2fs partition type 0x83
13 > kernel /kernel-2.6.12-r6 root=/dev/sdb2 acpi=off
14 > [Linux-bzImage, setup=0x1200, size=0x165a46]
15 > (and here it hangs....)
16 >
17 > I have installed grub to MBR of the first SCSI-disk (sda) and I'm having my
18 > grub files on sdb3.
19 >
20 > Here's my grub.conf file:
21 >
22 > # By default, boot the first entry.
23 > default 0
24 >
25 > # By default boot the old SuSE (until Gentoo boots OK)
26 > title SuSE
27 > kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 acpi=off splash=silent
28 > showopts
29 > initrd (hd0,1)/boot/initrd
30 >
31 > # For booting Gentoo 2.6.12-r6
32 > title Gentoo 2.6.12-r6
33 > root (hd1,2)
34 > kernel /kernel-2.6.12-r6 root=/dev/sdb2 acpi=off
35 >
36 > The second SCSI-disk (Gentoo) has the following partitions:
37 > /dev/sdb1 swap
38 > /dev/sdb2 /
39 > /dev/sdb3 /boot
40 > /dev/sdb4 LVM
41 >
42 > The Kernel is compiled without Module support and all necessary drivers are
43 > compiled into the kernel.
44 >
45 > Booting the old SuSE installation works without problems but Gentoo does not.
46 > Any suggestions on what could be wrong?
47 >
48 > Regards,
49
50 Not without knowing at what point the boot fails.
51
52 What is the error you're getting, and at what point after selecting the
53 Gentoo entry?
54
55 Secondly, you have only one separate boot partition? Meaning that the
56 SuSE /boot folder is on the SuSE partition?
57
58 That might be your problem-- since that would mean that you've got
59 possibly two installs of GRUB (one in the SuSE /boot folder and one in
60 the Gentoo /boot partition).
61
62 So you've got to wonder which one is running. At least I did.
63
64 I also dual-boot SuSE and Gentoo (SuSE is my fallback in case I break
65 Gentoo so badly that I need to use something else to fix it), and what I
66 did (since I 'really' use the Gentoo GRUB, and the Gentoo /boot
67 partition) was to copy the SuSE kernel (and System Map, and config) to
68 my Gentoo /boot folder.
69
70 Perhaps you need to do that in reverse (copy the compiled kernel and
71 related files to your SuSE /boot folder).
72
73 HTH,
74 Holly
75 --
76 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [OT] GRUB won't boot my new Gentoo install Dan Johansson <Dan.Johansson@×××.nu>