On Sat, Apr 26, 2014 at 02:52:30PM +0800, Eric Zhiqiang Ma wrote:
Hi Bill,
On Wed, Mar 26, 2014 at 3:07 AM, Bill McGonigle <bill(a)bfccomputing.com> wrote:
> Thanks for the response, Konrad!
>
> On 03/24/2014 08:48 PM, Konrad Rzeszutek Wilk wrote:
>>> It's definitely there in the config file [2] and I can boot it manually.
I really need the machine to be able to boot unattended. I tried setting it manually in
/etc/grub/default but that doesn't work either.
>>>
>>> I'm generating the grub.cfg with grub2-mkconfig >
/boot/grub2/grub.cfg and have re-installed grub2 on my /dev/sda and /dev/sdb (raid-1
/boot).
>>>
>>
>> Change this:
>> GRUB_DEFAULT="saved"
>>
>> to
>> GRUB_DEFAULT="Fedora GNU/Linux, with Xen hypervisor"
>
> Sorry, that's what I meant by "tried setting it manually in
> /etc/grub/default". I believe this *used to* work.
Manually editing may not be a good idea:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
I can confirm that I can change the default entry for grub2 on F20 to Xen:
I use a script I wrote which you can download at
https://github.com/zma/usefulscripts/blob/master/script/grub2-select.bash
which summarize the steps from
http://www.fclose.com/3826/setting-default-entry-in-grub2-and-grub/ .
> I wonder if anybody else is successfully booting Xen with f20's grub2?
I just tried and unfortunately Xen can not boot either for me ;( It
got stuck. I made a video recording it:
http://file.pkill.info/file/f12-xen-fail-to-boot.mov (25MB). It worked
well for me last time I tried it on F19. No idea what is wrong.
It looks to crash.
Can you do: 'vga=ask,keep noreboot console=vga" on the Xen command line
to capture the crash? (please, no video, just one screenshot is good).
It will ask you for a VGA console output = pick the highest one.
Thanks!
The versions of Xen and Kernel:
xen-4.3.2-2.fc20.x86_64
kernel-3.13.10-200.fc20.x86_64
Best,
Eric