I installed the Xen-3.3.0 rpms from the gitco repo today on a new CentOS
5.2 machine. I'm using only pv-CentOS guests and everything works just
fine as it did with Xen 3.2. (e.g. xm create and my domU starts with
pygrub just fine). However, I see that pygrub is deprecated and that I
should move to pv-grub. But I don't get this running.
I read the README in /etc/xen, the xmexample.pv-grub and also a few
threads about pv-grub, for instance
http://lists.xensource.com/archives/html/xen-devel/2008-08/msg00978.html
and the blog post at http://blog.xen.org/index.php/2008/08/28/xen-33-
feature-pv-grub/ (which isn't really helpful as it is only a general
overview).
Whatever I do the domU just boots into the grubdom prompt and that's it.
If I try to specify a kernel I get this:
grubdom> kernel (hd0,0)/boot/vmlinuz-2.6.18-92.1.22.el5xen
Error 5: Partition table invalid or corrupt
Of course, there is no partition table. A single partition doesn't have a
partition table. What am I supposed to hand over here? The path as it
appears to the dom0 system?
That's the xm config file I use, very simple and straight-forward. I added
the kernel, extra and root lines one by one following the xmexample.pv-
grub file. No difference. domU starts fine if I use pygrub and comment
those three extra lines.
name = "dxx"
maxmem = 512
memory = 512
vcpus = 1
#bootloader = "/usr/bin/pygrub"
kernel="/usr/lib/xen/boot/pv-grub-x86_32.gz"
extra = "(hd0,0)/boot/grub/grub.conf"
root = "/dev/sda1 ro"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
disk = [ "phy:/dev/dom0/dxx,sda1,w", "phy:/dev/dom0/dxx-var,sda2,w",
"file:/home2/swap/dxx.swap,sda3,w"]
vif = [ "mac=00:16:3e:43:20:10" ]
Thanks for any help.
Kai
--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|