[CentOS-virt] Has anyone been able to start a Fedora 16 VM in Xen PV?

Tue Jan 10 09:13:54 UTC 2012
R P Herrold <herrold at centos.org>

On Mon, 9 Jan 2012, R P Herrold wrote:

> On Tue, 10 Jan 2012, Norman Gaywood wrote:
>
>> https://bugzilla.redhat.com/show_bug.cgi?id=746602
>> 
>> (pygrub cannot start F16 PV guests (GPT partition) under Xen 4.1.1)
>
> why would one use GPT for a domU?  seems like gross overkill

... following on myself, I moved a F15 box to F16 trivially 
just now at PMman, with grub2 in place and the full boat 
SELinux, running recovery backups, and so forth

I understand the desire to do native installs of domU's, but 
if the goal is not to test the installer, but rather to have a 
F16 environment to run in, F16 is readily available, and it 
took what?  a bit under a half an hour from a standing start 
to all done, not even pushing hard

I'll be at Fedora's FudCon in Blacksburg this weekend, if 
anyone wants to stop up, say 'Hi, and try it themselves in the 
PMman environment, as I can clone and hand off a copy of that 
machine at will; I'll tear off a x64_64 box as well

-- Russ herrold

[log file is in reverse cronological sequence]

2012-01-10 04:07:09 	Backup Management 
herrold at owlriver.com
VM userbackup has been renamed: F16 post panel backup (120)

2012-01-10 04:06:36 	Support Message 
herrold at owlriver.com
Subject: post second backup
herrold at 2009-windows-7 ~/.ssh
$ ssh -i f16 -l root 198.178.231.162
Last login: Tue Jan 10 09:04:19 2012 from 
cpe-75-180-54-15.columbus.res.rr.com
[root at none ~]# date
Tue Jan 10 09:06:17 EST 2012
[root at none ~]#
 	T (1)

2012-01-10 04:06:01 	VM State Change 
herrold at owlriver.com
VM state has changed to Starting

2012-01-10 04:05:54 	VM Management 	herrold at owlriver.com
VM was issued a START command

2012-01-10 04:05:53 	Backup Management 
herrold at owlriver.com
VM backup is requesting the VM startup

2012-01-10 04:05:52 	Backup Management 
herrold at owlriver.com
User VM backup has completed: vm_54818_1326186306

2012-01-10 04:05:07 	Backup Management 
herrold at owlriver.com
User VM backup has been initiated: vm_54818_1326186306

2012-01-10 04:04:48 	VM State Change 
herrold at owlriver.com
VM state has changed to Stopping

2012-01-10 04:04:46 	VM Management 	herrold at owlriver.com
VM was issued a STOP command

2012-01-10 04:04:45 	Backup Management 
herrold at owlriver.com
VM backup is requesting the VM shutdown

2012-01-10 04:04:44 	Backup Management 
herrold at owlriver.com
VM backup has been ordered

2012-01-10 04:04:03 	Backup Management 
herrold at owlriver.com
VM userbackup has been renamed: F16 but pre-panel yum run 
(119)

2012-01-10 04:02:45 	VM Management 	herrold at owlriver.com
Yum update has been initiated on the VM: 75.180.54.15

2012-01-10 04:02:43 	VM Management 	herrold at owlriver.com
Yum was requested through the control panel: 75.180.54.15

2012-01-10 04:01:59 	VM State Change 
herrold at owlriver.com
VM state has changed to Starting

2012-01-10 04:01:52 	VM Management 	herrold at owlriver.com
VM was issued a START command

2012-01-10 04:01:51 	Backup Management 
herrold at owlriver.com
VM backup is requesting the VM startup

2012-01-10 04:01:50 	Backup Management 
herrold at owlriver.com
User VM backup has completed: vm_54818_1326185950

2012-01-10 03:59:11 	Backup Management 
herrold at owlriver.com
User VM backup has been initiated: vm_54818_1326185950

2012-01-10 03:58:52 	VM State Change 
herrold at owlriver.com
VM state has changed to Stopping

2012-01-10 03:58:50 	VM Management 	herrold at owlriver.com
VM was issued a STOP command

2012-01-10 03:58:49 	Backup Management 
herrold at owlriver.com
VM backup is requesting the VM shutdown

2012-01-10 03:58:43 	Backup Management 
herrold at owlriver.com
VM backup has been ordered

2012-01-10 03:57:56 	VM Management 	herrold at owlriver.com
VM friendly name has changed: F16 i386

2012-01-10 03:57:23 	Support Message 
herrold at owlriver.com
Subject: more of the fstab
#
/dev/xvda1 / ext4 defaults 1 1
/dev/xvda2 swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults
 	T (2)

2012-01-10 03:57:03 	Support Message 
herrold at owlriver.com
Subject: fstab
[root at none ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sun Oct 9 21:31:47 2011
#
# Accessible filesystems, by reference, are maintained under 
'/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8)
 	T (2)

2012-01-10 03:56:17 	Support Message 
herrold at owlriver.com
Subject: rest of the paste
20:10:09 UTC 2012 i686 i686 i386 GNU/Linux
[root at none ~]# date
Tue Jan 10 08:55:28 EST 2012
[root at none ~]#
 	T (2)

2012-01-10 03:55:44 	Support Message 
herrold at owlriver.com
Subject: and we're back
herrold at 2009-windows-7 ~/.ssh
$ ssh -i f16 -l root 198.178.231.162
Last login: Tue Jan 10 08:31:38 2012 from 
cpe-75-180-54-15.columbus.res.rr.com
[root at none ~]# uname -a
Linux none 3.1.7-1.fc16.i686.PAE #1 SMP Tue Jan 3 20:10:
 	T (2)

2012-01-10 03:55:13 	Support Message 
herrold at owlriver.com
Subject: reboot delay
[root@(none) ~]# reboot

(from another box, watch it)

[herrold at bronson rc.d]$ ping 198.178.231.162
PING 198.178.231.162 (198.178.231.162) 56(84) bytes of data.
64 bytes from 198.178.231.162: icmp_seq=80 ttl=64 time=1.61 ms
64
 	T (2)

2012-01-10 03:52:35 	Support Message 
herrold at owlriver.com
Subject: truncation issue
clean all
6 yum upgrade
7 sync
8 yum clean all
9 yum upgrade
10 touch /.autorelabel
11 history
[root@(none) ~]#
 	T (2)

2012-01-10 03:52:16 	Support Message 
herrold at owlriver.com
Subject: so just before the reboot
[root@(none) ~]# history
1 ifconfig
2 rpm -U 
http://mirror.umd.edu/fedora/linux/releases/16/Fedora/i386/os/Packages/fedora-release-16-1.noarch.rpm
3 yum upgrade rpm
4 yum upgrade python
5 yu
 	T (2)

2012-01-10 03:46:59 	Support Message 
herrold at owlriver.com
Subject: I see a bootloader replacement on the box
Erasing : 1:grub-0.97-71.fc15.i686
 	T (2)

2012-01-10 03:45:51 	Support Message 
herrold at owlriver.com
Subject: note typo at 2012-01-10 03:33:37
this was actually: yum upgrade rpm first
 	T (2)

2012-01-10 03:33:37 	Support Message 
herrold at owlriver.com
Subject:
[root@(none) ~]# rpm -U 
http://mirror.umd.edu/fedora/linux/releases/16/Fedora/i386/os/Packages/fedora-release-16-1.noarch.rpm
warning: /var/tmp/rpm-tmp.uVjdEE: Header V3 RSA/SHA256 
Signature, key ID a82ba4b7: NOKEY
[root@(none) ~]# yum upgrade
 	T (2)

2012-01-10 03:32:53 	Support Message 
herrold at owlriver.com
Subject: on the box
herrold at 2009-windows-7 ~
$ cd .ssh; ssh-keygen -t dsa -f f16

(inject)

herrold at 2009-windows-7 ~/.ssh
$ ssh -i f16 -l root 198.178.231.162
The authenticity of host '198.178.231.162 (198.178.231.162)' 
can't be established.
RSA
 	T (2)

2012-01-10 03:30:46 	VM Management 	herrold at owlriver.com
Initiating user requested SSH key injection [75.180.54.15]

2012-01-10 03:28:50 	Support Message 
herrold at owlriver.com
Subject: f-release is:
http://mirror.umd.edu/fedora/linux/releases/16/Fedora/i386/os/Packages/fedora-release-16-1.noarch.rpm
 	T (3)

2012-01-10 03:28:03 	Support Message 
herrold at owlriver.com
Subject: migrate
http://mirror.umd.edu/fedora/linux/releases/16/Fedora/i386/os/Packages/
 	T (3)

2012-01-10 03:26:24 	VM Created 	herrold at owlriver.com
VM XML config has been (re)created

2012-01-10 03:26:23 	VM Created 	herrold at owlriver.com
Initial cost of VM is 2000 points

2012-01-10 03:26:22 	VM Created 	herrold at owlriver.com
Configuring new VM using disk image 'Fedora 15 i386' with the 
following configs: vm_factor = 1, vm_mem_f = 0, vm_hd_f = 0, 
vm_bw_f = 0, vm_properties = para_virt,32bit,xen