Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] xen on new install reboots by itself "J. Roeleveld" <joost@××××××××.org>