28 Apr 2012 @ 2:08 PM 

Just few steps for installation.

1. Create a 10Gb empty file with at /home/xen_image (change either size and location to fit your needs):

dd if=/dev/zero of=/home/xen_image bs=1M count=10240

2. We are installing Ubuntu 12.10 i386, actually you can install any other version of Ubuntu, you just need to download appropriate initrd.gz vmlinuz xm-debian.cfg, just browse folders from the link below:

http://nl.archive.ubuntu.com/ubuntu/dists/quantal/main/installer-i386/current/images/netboot-xen/netboot/xen/

For example Ubuntu 12.04 has codename precise, so installtion files for x64 version are in http://nl.archive.ubuntu.com/ubuntu/dists/precise/main/installer-amd64/current/images/netboot-xen/netboot/xen/
ok, now we need to download 3 files:

wget http://nl.archive.ubuntu.com/ubuntu/dists/quantal/main/installer-i386/current/images/netboot-xen/netboot/xen/initrd.gz
wget http://nl.archive.ubuntu.com/ubuntu/dists/quantal/main/installer-i386/current/images/netboot-xen/netboot/xen/vmlinuz
wget http://nl.archive.ubuntu.com/ubuntu/dists/quantal/main/installer-i386/current/images/netboot-xen/netboot/xen/xm-debian.cfg

Note: you should be in /

3. Edit xm-debian.cfg file and modify memory name vcpus vif disk
Note: recommended value for vif : vif = [”, ‘bridge=xenbr1’]


4. Now start the install (again pay attention to the command: change server country code and architecture to your needs)::

xm create -f xm-debian.cfg -c install=true install-kernel=”vmlinuz” install-ramdisk=”initrd.gz” install-mirror=”http://nl.archive.ubuntu.com/ubuntu” install-arch=i386 install-method=network

P.S. Known problem with old version of Ubuntu, configure your network card. If it fails you will need to configure it manually (choose back, drop to a shell and issue a modprobe xen-netfront && exit. Configure the network card again.

5. Fix the install.

The xen-blkfront module isn’t loaded at first so xen will fail to boot.

(initframfs) modprobe xen-blkfront
(initramfs) exit

Once the host finishes booting, log in and sudo to root. Then enter the following:

echo “xen-blkfront” >> /etc/initramfs-tools/modules
update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.38-11-generic

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 04:13 PM

EmailPermalink
Tags
Tags: ,
Categories: Uncategorized


 

Responses to this post » (None)

 

Sorry, but comments are closed. Check out another post and speak up!

Tags
Comment Meta:
RSS Feed for comments

 Last 50 Posts
Change Theme...
  • Users » 1
  • Posts/Pages » 35
  • Comments » 0
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.

Need Help?



    No Child Pages.

Check your IP



    No Child Pages.