Set up RHEL6 (beta) PV Guest at Xen 4.0 (pvops kernel 2.6.32.12) on top of F12 and Ubuntu 9.10 Server

The schema bellow would work fine at same Xen 4.0 Dom0 on top of Ubuntu 9.10 Server with several issues to be fixed. Virt-install command line would require –os-type=linux –os-variant=rhel5 , symlink
for pygrub , invoked by default , should be created pointing to /usr/local/bin/pygrub. On Fedora 12 everything is just ready for RHEL 6 PV DomU virt-install.
Create local Apache Mirror :-

# chkconfig httpd on
# service httpd start
# mount -o loop,ro \
RHEL6.0-20100414.0-AP-x86_64-DVD1.iso \
/var/www/html/rhel

Then start virt-install in no graphics mode , vnc mode would cause installer to hang on any system F12 or Ubuntu 9.10 server

# virt-install -n RHEL6 -r 1024 -p --nographics \
-f /dev/sda7 \
-l http://192.168.1.41/rhel --debug

and bring up VNC at DomU at runtime







When install completed DomU will reboot automatically in text mode



Set up VNC at DomU mannually

# yum install vnc-server
# vncserver

Edit ~.vnc/xstartup file and replace line with “xterm”
/usr/bin/gnome-session &
Add to /etc/rc.local

export HOME=/root
vncserver

Now shutdown DomU and start it up via virt-manager.
Open terminal session and issue virsh console RHEL6



Connect via vncviewer to DomU




Virt-install command line at Xen 4.0 (pvops 2.6.32.12) on top of Ubuntu 9.10 Server

# virt-install -n RHEL6 -r 1024 -p --nographics \
--os-type=linux --os-variant=rhel5
-f /dev/sda7 \
-l http://192.168.1.41/rhel --debug

Runtime snapshots on Ubuntu 9.10 Server




One Response to Set up RHEL6 (beta) PV Guest at Xen 4.0 (pvops kernel 2.6.32.12) on top of F12 and Ubuntu 9.10 Server

  1. April says:

    Hi, i feel that i noticed you visited myy site thus i got here to
    go back thee prefer?.I am tryibg to to find issues to enhance
    my website!I guess its good enough to use some of your ideas!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: