WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Trying to install ubuntu 10.04 on centos 5.5 w/ xen4.0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Trying to install ubuntu 10.04 on centos 5.5 w/ xen4.0
From: Fantu <fantonifabio@xxxxxxxxxx>
Date: Fri, 25 Jun 2010 06:55:46 -0700 (PDT)
Delivery-date: Fri, 25 Jun 2010 06:57:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C24B257.8030100@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4C24B257.8030100@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
use the cfg example in netboot directory and launch with xm create -c
ubuntu.xen install=true
on start auto download also all files need

Donny Brooks wrote:
> 
> As the title states, I am trying to install a PV ubuntu 10.04 domu on my 
> centos 5.5 xen 4.0 dom0. The steps I have attempted are as follows:
> 
> 1 - lvcreate -n ubuntutest -L 8G domuvg
> 2 - wget 
> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz
>  
> 
> 3 - wget 
> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz
>  
> 
> 4 - cat ubuntu.xen
> name      = "ubuntu"
> memory    = 2048
> disk      = ['phy:/dev/domuvg/ubuntutest,xvda,w' ]
> vif       = [ 'bridge=br2' ]
> kernel    = "/mnt/disk/vmlinuz"
> ramdisk   = "/mnt/disk/initrd.gz"
> vcpus     = 1
> on_reboot = 'destroy'
> on_crash  = 'destroy'
> 
> 5 - xm create -c ubuntu.xen
> ... installation goes just fine ...
> 
> 6 - grabbed the virtualized kernel and ramdisk from another running 
> physical machine to use in step 7.
> 
> 7 - cat ubuntu.xen.running
> name = "ubuntu-test"
> memory = 2048
> disk = ['phy:/dev/domuvg/ubuntu-pv,xvda,w' ]
> vif = [ 'bridge=br2' ]
> kernel = "/etc/xen/ubuntu-kernel/vmlinuz-2.6.32-22-server"
> ramdisk = "/etc/xen/ubuntu-kernel/initrd.img-2.6.32-22-server"
> vcpus = 1
> on_poweroff = 'destroy'
> on_reboot = 'restart'
> on_crash = 'restart'
> 
> 8 - xm create -c ubuntu.xen.running
> Using config file "./ubuntu.xen.running".
> Started domain ubuntu-test (id=3)
>                                   [    0.000000] Initializing cgroup 
> subsys cpuset
> [    0.000000] Initializing cgroup subsys cpu
> [    0.000000] Linux version 2.6.32-22-server (buildd@yellow) (gcc 
> version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #36-Ubuntu SMP Thu Jun 3 
> 20:38:33 UTC 2010 (Ubuntu 2.6.32-22.36-server 2.6.32.11+drm33.2)
> [    0.000000] Command line:
> [    0.000000] KERNEL supported cpus:
> [    0.000000]   Intel GenuineIntel
> [    0.000000]   AMD AuthenticAMD
> [    0.000000]   Centaur CentaurHauls
> [    0.000000] ACPI in unprivileged domain disabled
> [    0.000000] BIOS-provided physical RAM map:
> ___snip_____
> 
> [    0.180128] XENBUS: Device with no driver: device/vbd/51712
> [    0.180133] XENBUS: Device with no driver: device/vif/0
> [    0.180138] XENBUS: Device with no driver: device/console/0
> [    0.180155]   Magic number: 1:252:3141
> [    0.180172] /build/buildd/linux-2.6.32/drivers/rtc/hctosys.c: unable 
> to open rtc device (rtc0)
> [    0.180181] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
> [    0.180186] EDD information not available.
> [    0.180291] Freeing unused kernel memory: 796k freed
> [    0.180555] Write protecting the kernel read-only data: 7788k
> Loading, please wait...
> [    0.221772] udev: starting version 151
> Begin: Loading essential drivers... ...
> Done.
> Begin: Running /scripts/init-premount ...
> Done.
> Begin: Mounting root file system... ...
> Begin: Running /scripts/local-top ...
> Done.
> [    0.355393]  xvda: xvda1 xvda2 < xvda5 >
> Gave up waiting for root device.  Common problems:
>   - Boot args (cat /proc/cmdline)
>     - Check rootdelay= (did the system wait long enough?)
>     - Check root= (did the system wait for the right device?)
>   - Missing modules (cat /proc/modules; ls /dev)
> ALERT! does not exist. Dropping to a shell!
> 
> 
> BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)
> Enter 'help' for a list of built-in commands.
> 
> (initramfs)
> 
>  From that it appears it is trying to boot on the xvda5 which is the 
> swap partition. So I checked the fdisk layout of that lv and here is 
> what I get:
> 
> Disk /dev/domuvg/ubuntu-pv: 8589 MB, 8589934592 bytes
> 255 heads, 63 sectors/track, 1044 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>                  Device Boot      Start         End      Blocks   Id 
> System
> /dev/domuvg/ubuntu-pv1               1         994     7977984   83  Linux
> Partition 1 does not end on cylinder boundary.
> /dev/domuvg/ubuntu-pv2             994        1045      407553    5  
> Extended
> /dev/domuvg/ubuntu-pv5             994        1045      407552   82  
> Linux swap / Solaris
> 
> 
> I just need a running pv ubuntu domu so I can do some testing with LTSP5 
> and openldap. Is there an easier way to do this than with the "kernel" 
> and "ramdisk" options? I don't want to deal with the pygrub issue with 
> grub2 unless I just absolutely have to.
> 
> Thanks in advance for any assistance.
> 
> Donny B.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Trying-to-install-ubuntu-10.04-on-centos-5.5-w--xen4.0-tp28992487p28992589.html
Sent from the Xen - User mailing list archive at Nabble.com.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users