Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xen on new install reboots by itself
Date: Wed, 29 Apr 2015 09:42:13
Message-Id: 63780277-53C4-4878-A8EC-8E4F1D833770@antarean.org
In Reply to: Re: [gentoo-user] xen on new install reboots by itself by hydra
1 On 29 April 2015 07:11:55 CEST, hydra <hydrapolic@×××××.com> wrote:
2 >On Wed, Apr 29, 2015 at 5:38 AM, J. Roeleveld <joost@××××××××.org>
3 >wrote:
4 >
5 >> On 29 April 2015 00:34:10 CEST, symack <symack@×××××.com> wrote:
6 >> >Hello Joost,
7 >> >
8 >> >We are running Grub2. Bellow is my grub.cfg for Xen
9 >> >
10 >> >menuentry 'Gentoo GNU/Linux, with Xen hypervisor' --class gentoo
11 >> >--class
12 >> >gnu-linux --class gnu --class os --class xen $menuentry_id_option
13 >> >'xen-gnulinux-simple-43fa46d6-a602-4281-9493-66faec5c096f' {
14 >> > insmod part_msdos
15 >> > insmod ext2
16 >> > set root='hd0,msdos1'
17 >> > if [ x$feature_platform_search_hint = xy ]; then
18 >> > search --no-floppy --fs-uuid --set=root
19 >--hint-bios=hd0,msdos1
20 >> >--hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1
21 >> > 66cdce01-cc3f-45ad-bea3-a64dff6db724
22 >> > else
23 >> > search --no-floppy --fs-uuid --set=root
24 >> >66cdce01-cc3f-45ad-bea3-a64dff6db724
25 >> > fi
26 >> > echo 'Loading Xen xen ...'
27 >> > if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ];
28 >then
29 >> > xen_rm_opts=
30 >> > else
31 >> > xen_rm_opts="no-real-mode edd=off"
32 >> > fi
33 >> > multiboot /xen.gz placeholder ${xen_rm_opts}
34 >> > echo 'Loading Linux 3.17.7-gentoo ...'
35 >> > module /vmlinuz-3.17.7-gentoo placeholder root=/dev/sda3 ro
36 >> > rootwait
37 >> >​
38 >> >
39 >> >This is starting to hurt....
40 >> >
41 >> >N.
42 >>
43 >> Symack,
44 >>
45 >> I never got grub2 to play nice with Xen.
46 >> My Xen servers all use grub1.
47 >>
48 >> --
49 >> Joost
50 >> --
51 >> Sent from my Android device with K-9 Mail. Please excuse my brevity.
52 >>
53 >>
54 >I run like 20 xen machines on grub2 without problems.
55
56 Can you provide your grub.cfg for comparison?
57
58 --
59 Joost
60 --
61 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] xen on new install reboots by itself symack <symack@×××××.com>