rhel6 xen domU on a CentOS 5 dom0
Spent a bit of time last evening and tried to get a rhel6 beta domU going on a CentOS 5.4 dom0 - everything seems to go fine except that the VM will not boot. The problem is that the rhel6 anaconda creates a /boot with ext4, which pygrub on CentOS and RHEL 5 will not be able to boot.
To Fix this, make sure you select the option to review partition and disk layout, and manually change /boot from ext4 to ext2. Everything should just work fine.
- KB
10 comments
Comment from: Shane Falco [Visitor]
Hopefully gitco will get an updated pygrub that can handle ext4, but for now I'll just continue to use ext3 in my VMs.
28/Apr/2010 @ 07:43
28/Apr/2010 @ 07:48
Comment from: John Hodrien [Visitor]
29/Apr/2010 @ 10:18
Thats true. However, I just feel that the installer should be smart enough to leave behind a working system. Specially since the Xen strategy for Red Hat is focused around using RHEL5 as the host machine with RHEL4 and RHEL6 only targetting a Domu state.
- KB
29/Apr/2010 @ 10:27
Comment from: Shane Falco [Visitor]
29/Apr/2010 @ 20:03
Comment from: hugo [Visitor]
* pygrub did not understand fourth extended (ext4) /boot partitions, and so was unable to paravirtualize guest domains. e4fsprogs-devel and ev4sprogs-libs packages are provided with this update for pygrub and other applications that require the new ext4 capable e2fsprogs libraries. (BZ#528055)
[ http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Technical_Notes/e4fsprogs.html ]
30/Apr/2010 @ 09:22
Sounds good, I did my test on a 5.4 machine and a 5.5 machine and they both had the same problems. Will investigate this a bit more in the near future.
30/Apr/2010 @ 09:25
Comment from: Bernie [Visitor]
%post
(
# anaconda seems to want to do ext4 for boot, which pygrub doesn't like
uuid=$(tune2fs -l /dev/xvda1 | awk '/UUID/ {print $3}')
cd /
tar cf /var/tmp/boot.tar boot
umount /boot
mkfs.ext3 -L /boot -U $uuid /dev/xvda1
sed -i -e '/\/boot/s/ext4/ext3/' /etc/fstab
mount /boot && tar xf /var/tmp/boot.tar && rm /var/tmp/boot.tar
[...]
14/May/2010 @ 03:01
Started domain centos6 (id=183)
PCI: Fatal: No config space access function found
27/Jul/2011 @ 20:43
I have dozens of CentOS-6 pv/i386 and x86_64 VMs running on CentOS-5/Xen, using all stock code included in the distro - no issues so far. there were a few stability issues under extreme and sustained load; which might even be down to i/o flakyness rather than xen itself. Havent been able to invest the time to investigate that issue
27/Jul/2011 @ 20:59
This post has 38 feedbacks awaiting moderation...
28/Apr/2010 05:36:28 am,