1 |
2007/7/6, Albert Hopkins <marduk@g.o>: |
2 |
> On Fri, 2007-07-06 at 00:44 +0200, Galevsky wrote: |
3 |
> > and my grub.conf: |
4 |
> > |
5 |
> > ### START (grub.conf) |
6 |
> > sd-4421 boot # cat /boot/grub/grub.conf |
7 |
> > # Customized boot procedure |
8 |
> > |
9 |
> > default 0 |
10 |
> > timeout 1 |
11 |
> > #fallback 1 2 |
12 |
> > |
13 |
> > title Gentoo Linux 2.6.16-gentoo_xen_dom0 |
14 |
> > root (hd0,0) |
15 |
> > kernel /boot/vmlinuz-2.6-xen ro root=/dev/sda2 |
16 |
> > |
17 |
> > |
18 |
> > title Gentoo Linux 2.6.20-r8 |
19 |
> > root (hd0,0) |
20 |
> > kernel /boot/vmlinuz-2.6.20-gentoo-r8 ro root=/dev/sda2 |
21 |
> > |
22 |
> > |
23 |
> > title Gentoo Linux 2.6.18-r4-dedibox_r6_final |
24 |
> > root (hd0,0) |
25 |
> > kernel /boot/ref/2.6.18-gentoo-r4dedibox_r6_final ro root=/dev/sda2 |
26 |
> > ### END (grub.conf) |
27 |
> |
28 |
> Wow, it really does make a difference when we can see the configuration! |
29 |
> |
30 |
> Actually you are not using savedefault like I was assuming. Which |
31 |
> basically means fallback only works when grub fails to load the kernel. |
32 |
|
33 |
ya, and that is the behavior I want. I know about the savedefault |
34 |
feature but I doesn't need it in my case. |
35 |
|
36 |
> You said you followed the "HOWTO Xen and Gentoo" but looks like you |
37 |
> ignored section 6 on configuring the boot loader. It should look more |
38 |
> like this: |
39 |
> |
40 |
> title Gentoo Linux 2.6.16-gentoo_xen_dom0 |
41 |
> root (hd0,0) |
42 |
> kernel /boot/xen.gz dom0_mem=98M |
43 |
> module /boot/vmlinuz-2.6.20-gentoo-r8 ro root=/dev/sda2 |
44 |
> |
45 |
> Likely the dom0 kernel is failing because it expects to be run within |
46 |
> the hypervisor. You need to load that first as in the above. |
47 |
> |
48 |
> Hope this helps. |
49 |
> |
50 |
|
51 |
True !!! |
52 |
|
53 |
Due to lots of changes I made from the start, I forgot in the end the |
54 |
hypervisor itself !!! |
55 |
|
56 |
Of course it will help ;o) |
57 |
|
58 |
> -- |
59 |
> Albert W. Hopkins |
60 |
|
61 |
Big *THANKS* to you, and to Dan Farrell too, and sorry for such a |
62 |
mistake... shame on me. |
63 |
|
64 |
Gal' |
65 |
-- |
66 |
gentoo-user@g.o mailing list |