[kernel-xen] Installing Debian using Xen 4.2.0

Joe Fialkowski joe at zoomcloud.net
Sun Sep 30 04:00:59 EST 2012


Here is the cfg I am using with the templates from stack let. This config works with 4.1.3 but not 4.2. Maybe its pygrub? 

## This configuration file was automatically generated
## by SolusVM on Sat Sep 29 09:57:58 2012

## Cfg type: XEN-PV-LOCAL-STORAGE

#kernel     = '/boot/vmlinuz-2.6.38-8-generic'
#ramdisk    = '/boot/initrd.img-2.6.38-8-generic'
bootloader = '/usr/bin/pygrub'
extra      = ''
memory     = 512
hostname   = 'ubuntu-x86_64-vm'
cpu_weight = 256
name       = 'vm1025'
vif        = ['ip=199.231.190.23, vifname=vifvm1025.0, mac=00:16:3e:94:3d:48, rate=128KB/s, bridge=br0, model=e1000']
vnc        = 0
vcpus      = 1
vncviewer  = 0
serial     = 'pty'
disk       = ['phy:/dev/vg_xm3/vm1025_img,xvda1,w', 'phy:/dev/vg_xm3/vm1025_swap,xvda2,w']
#root       = '/dev/xvda1 ro'


-- 
Joe Fialkowski
ZoomCloud.net


On Saturday, September 29, 2012 at 1:07 AM, Steven Haigh wrote:

> Ok, so I'm still getting used to how Debian works... however, I've 
> installed Debian successfully by using the following DomU config:
> 
> name = "debtest.vm"
> memory = 1024
> vcpus = 2
> cpus = "1-7"
> on_poweroff = 'destroy'
> on_reboot = 'restart'
> on_crash = 'restart'
> 
> kernel = "/root/debian/vmlinuz"
> ramdisk = "/root/debian/initrd.gz"
> extra = "debian-installer/exit/always_halt=true -- console=hvc0"
> 
> localtime = 0
> disk = [ 'phy:/dev/vg_hosting/debtest.vm,xvda,w' ]
> 
> vif = [ 'mac=20:34:01:36:00:99,bridge=br0' ]
> 
> I obtained the vmlinuz and initrd.gz files from:
> http://cdn.debian.net/debian/dists/squeeze/main/installer-amd64/current/images/netboot/xen/
> 
> While this will probably have to be modified for whoever else wants to 
> use this, the install seems to be working correctly so far. I think my 
> previous errors were simply me not having a clue about the Debian installer.
> 
> I ran through the installer by creating the DomU:
> xm create debtest.vm -c
> 
> Then followed the prompts. I installed as a whole disk install and just 
> let the installer take care of the rest for me... It took ~5 minutes to 
> download 1132 packages and then about the same to install them all.
> 
> After this was done, I edited the xen config file to as follows:
> 
> name = "debtest.vm"
> memory = 1024
> vcpus = 2
> cpus = "1-7"
> on_poweroff = 'destroy'
> on_reboot = 'restart'
> on_crash = 'restart'
> 
> bootloader = "pygrub"
> 
> localtime = 0
> disk = [ 'phy:/dev/vg_hosting/debtest.vm,xvda,w' ]
> 
> vif = [ 'mac=20:34:01:36:00:99,bridge=br0' ]
> 
> I then fired up the DomU using:
> xm create debtest.vm
> 
> Up it booted. Seems everything boots and works as it should. All 
> packages seem to be at their latest:
> 
> root at debian:~# apt-get upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> root at debian:~# cat /etc/debian_version
> 6.0.5
> root at debian:~#
> 
> So, this leaves me to wonder what issues people are having?
> 
> -- 
> Steven Haigh
> 
> Email: netwiz at crc.id.au (mailto:netwiz at crc.id.au)
> Web: http://www.crc.id.au
> Phone: (03) 9001 6090 - 0412 935 897
> Fax: (03) 8338 0299
> _______________________________________________
> kernel-xen mailing list
> kernel-xen at lists.wireless.org.au (mailto:kernel-xen at lists.wireless.org.au)
> https://lists.wireless.org.au/mailman/listinfo/kernel-xen
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wireless.org.au/pipermail/kernel-xen/attachments/20120929/0effd6d9/attachment.html>


More information about the kernel-xen mailing list