How To Setup Ubuntu Virtual Machine with Xen Hypervisor
* First setup Ubuntu 12.04 VM
Installing Xen
==========
1)
Install a 64-bit hypervisor
#sudo apt-get install xen-hypervisor-amd64
2)
Modify GRUB to default to booting Xen.
#sudo sed -i 's/GRUB_DEFAULT=.*\+/GRUB_DEFAULT="Xen 4.1-amd64"/' /etc/default/grub
#sudo update-grub
3)
Set the default toolstack to xm (aka xend).
#sudo sed -i 's/TOOLSTACK=.*\+/TOOLSTACK="xm"/' /etc/default/xen
4)
Reboot
#sudo reboot
5)
Verify that the installation has succeeded.
#sudo xm list
6)
Network Configuration
http://fosshelp.blogspot.com/2013/03/how-to-configure-network-on-ubuntu.html
7)
Create a PV Guest VM
http://fosshelp.blogspot.com/2013/03/how-to-create-pv-guest-vm-on-ubuntu.html
* First setup Ubuntu 12.04 VM
Installing Xen
==========
1)
Install a 64-bit hypervisor
#sudo apt-get install xen-hypervisor-amd64
2)
Modify GRUB to default to booting Xen.
#sudo sed -i 's/GRUB_DEFAULT=.*\+/GRUB_DEFAULT="Xen 4.1-amd64"/' /etc/default/grub
#sudo update-grub
3)
Set the default toolstack to xm (aka xend).
#sudo sed -i 's/TOOLSTACK=.*\+/TOOLSTACK="xm"/' /etc/default/xen
4)
Reboot
#sudo reboot
5)
Verify that the installation has succeeded.
#sudo xm list
6)
Network Configuration
http://fosshelp.blogspot.com/2013/03/how-to-configure-network-on-ubuntu.html
7)
Create a PV Guest VM
http://fosshelp.blogspot.com/2013/03/how-to-create-pv-guest-vm-on-ubuntu.html
sudo xm list
ReplyDeleteERROR: Can't find hypervisor information in sysfs!
edit and uncomment in /etc/xen/xend-config.sxp [(xend-unix-server no) --> to YES and remove comment]
Delete-then restart and choose xen from the grub
still no success!
Deletecan't read /etc/default/xen: No such file or directory
ReplyDeleteSame happens to me.. /etc/xen not a regular file !
Deleteafter xen installation I don't have GUI interface anymore. I get a console where it asks me for login details. How to get back GUI?
ReplyDeleteThis comment has been removed by the author.
Delete