1 |
Lie Ryan posted on Fri, 22 Jan 2010 19:02:24 +1100 as excerpted: |
2 |
|
3 |
> On 01/22/10 15:01, Mark Knecht wrote: |
4 |
>> Anyway, right now that's not my problem. This must be my 20th install |
5 |
>> following the install guide but this time on this machine I am unable |
6 |
>> to boot anything. Once again grub has bit me and it's acting like it's |
7 |
>> blown away even windows, but I'm also not getting my grub.conf menu so |
8 |
>> I don't know what's going on. |
9 |
> |
10 |
> There isn't many ways for booting to fail; it's either a faulty grub |
11 |
> installation (e.g. forgetting to rerun grub-install), faulty grub.conf, |
12 |
> or faulty kernel config. The easiest way to boot gentoo is to use |
13 |
> genkernel; if you can boot using the genkernel, it means grub is |
14 |
> properly installed. |
15 |
|
16 |
I did a recent install to my (32-bit-only) netbook, using a chroot image |
17 |
created on my main 64-bit machine, following loosely the 32-bit chroot |
18 |
guide. |
19 |
|
20 |
That ran into grub problems, because the thumb-drive I was using to boot |
21 |
and to transfer the image, is also the grub rescue boot for my main |
22 |
machine, using grub-static (because my main machine is no-multilib, but |
23 |
with the 32-bit chroot image). I had installed normal self-compiled grub |
24 |
in the (main machine not directly booted) 32-bit image, and when I went |
25 |
to install that and do the grub-install on the 32-bit netbook, I ended up |
26 |
with, I believe, a mix of the stage-1 grub-static and stage-2 grub, which |
27 |
didn't work. Either that or the self-compiled grub didn't like one of my |
28 |
CFLAGS or something, which is possible, but I think it was a mix of the |
29 |
two. |
30 |
|
31 |
In that case, I simply decided that if grub-static was good enough for my |
32 |
64-bit main machine, and was booting the netbook fine from the USB stick |
33 |
(which has kernels and grub menu options for both the 32-bit and the 64- |
34 |
bit machines), it was good enough for the 32-bit machine as well. So |
35 |
back in the 32-bit chroot image on my main machine, I unmerged grub and |
36 |
merged grub-static instead. After an rsync 32-bit image to thumb-drive |
37 |
and thumb-drive to netbook, and a grub-install of grub-static on the |
38 |
netbook, it worked. |
39 |
|
40 |
So now I'm using grub-static everywhere. If you're having an issue with |
41 |
grub, perhaps grub-static will work for you as well. Since it's a pre- |
42 |
compiled package, the binaries it contain are well tested on quite a few |
43 |
machines by now, so there's no wondering if it was somehow screwed up |
44 |
with strange cflags or something. If it doesn't work and at least get |
45 |
you to a grub prompt, it's almost certainly because the grub-install step |
46 |
failed. |
47 |
|
48 |
One of these days I'll try again with grub, but I expect when I do it'll |
49 |
be with grub2. Until grub2, I think I'll leave well enough alone and |
50 |
stick with grub-static. |
51 |
|
52 |
-- |
53 |
Duncan - List replies preferred. No HTML msgs. |
54 |
"Every nonfree program has a lord, a master -- |
55 |
and if you use the program, he is your master." Richard Stallman |