1 |
On Fri, 2007-07-06 at 00:44 +0200, Galevsky wrote: |
2 |
> and my grub.conf: |
3 |
> |
4 |
> ### START (grub.conf) |
5 |
> sd-4421 boot # cat /boot/grub/grub.conf |
6 |
> # Customized boot procedure |
7 |
> |
8 |
> default 0 |
9 |
> timeout 1 |
10 |
> #fallback 1 2 |
11 |
> |
12 |
> title Gentoo Linux 2.6.16-gentoo_xen_dom0 |
13 |
> root (hd0,0) |
14 |
> kernel /boot/vmlinuz-2.6-xen ro root=/dev/sda2 |
15 |
> |
16 |
> |
17 |
> title Gentoo Linux 2.6.20-r8 |
18 |
> root (hd0,0) |
19 |
> kernel /boot/vmlinuz-2.6.20-gentoo-r8 ro root=/dev/sda2 |
20 |
> |
21 |
> |
22 |
> title Gentoo Linux 2.6.18-r4-dedibox_r6_final |
23 |
> root (hd0,0) |
24 |
> kernel /boot/ref/2.6.18-gentoo-r4dedibox_r6_final ro root=/dev/sda2 |
25 |
> ### END (grub.conf) |
26 |
|
27 |
Wow, it really does make a difference when we can see the configuration! |
28 |
|
29 |
Actually you are not using savedefault like I was assuming. Which |
30 |
basically means fallback only works when grub fails to load the kernel. |
31 |
|
32 |
You said you followed the "HOWTO Xen and Gentoo" but looks like you |
33 |
ignored section 6 on configuring the boot loader. It should look more |
34 |
like this: |
35 |
|
36 |
title Gentoo Linux 2.6.16-gentoo_xen_dom0 |
37 |
root (hd0,0) |
38 |
kernel /boot/xen.gz dom0_mem=98M |
39 |
module /boot/vmlinuz-2.6.20-gentoo-r8 ro root=/dev/sda2 |
40 |
|
41 |
Likely the dom0 kernel is failing because it expects to be run within |
42 |
the hypervisor. You need to load that first as in the above. |
43 |
|
44 |
Hope this helps. |
45 |
|
46 |
-- |
47 |
Albert W. Hopkins |
48 |
|
49 |
-- |
50 |
gentoo-user@g.o mailing list |