[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] help launching a Centos 5.5 Xen PV guest on an OpenSuse 11.2 Dom0 host ?


  • To: 0bo0 <0.bugs.only.0@xxxxxxxxx>
  • From: Mark Pryor <tlviewer@xxxxxxxxx>
  • Date: Wed, 2 Jun 2010 22:20:51 -0700 (PDT)
  • Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 02 Jun 2010 22:22:09 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=BrsFZRQniHeimovxGoqxkZUKKqbmQ1eecWm4ogQR+wesFLwolHP4iBpWrYnKurTsGCHOS5Aound/npHPdYPl232Ad/rnCZhvh+4aZfjVMJxz+KiYJTmN95rM7onh7WF+RJw2v+tQbwh51b/hQKlJx1PC3LGk9lZdyiX0rY+BUqM=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,

You are mixing HVM and PV type installs.
I take it for granted that you prefer PV type, so lets remove
the HVM hybrid entries.

your devices (disk=) are fine, specifying xvdi for PV.

You might be surprised to find out that the C5.5 netinstall ISO is
equivalent to using the xen aware boot files (vmlinuz, initrd) that you
D/L'd separately. So you can ditch any mention of hdc or cdrom.

The disk line with xvdc should be changed - xvdc is reserved (IIRC).

boot = 'd' is HVM only (remove)

--- On Wed, 6/2/10, 0bo0 <0.bugs.only.0@xxxxxxxxx> wrote:

> From: 0bo0 <0.bugs.only.0@xxxxxxxxx>
> Subject: [Xen-users] help launching a Centos 5.5 Xen PV guest on an OpenSuse 
> 11.2 Dom0 host ?
> To: "Xen User-List" <Xen-users@xxxxxxxxxxxxxxxxxxx>
> Date: Wednesday, June 2, 2010, 8:04 PM
> i've Opensuse 11.2 Xen Dom0,
> 
>        lsb_release -dr
>            
>    Description:    openSUSE 11.2
> (x86_64)
>            
>    Release:        11.2
> 
>        uname -a
>            
>    Linux server 2.6.34-42-xen #1 SMP
> 2010-06-01 15:17:00
> +0200 x86_64
> x86_64 x86_64 GNU/Linux
> 
> 
>        rpm -qa | grep -i xen
>            
>    xen-libs-4.0.0_21087_01-38.1.x86_64
>            
>    kernel-xen-devel-2.6.34-42.1.x86_64
>            
>    xen-tools-4.0.0_21087_01-38.1.x86_64
>            
>    kernel-xen-2.6.34-42.1.x86_64
>            
>    xen-4.0.0_21087_01-38.1.x86_64
> 
> I build & run numerous OpenSuse DomUs -- no issues.
> 
> I need to netinstall a Centos 5.5 PV'd DomU Guest on this
> host.
> 
> Using the procedure & config below, it starts to boot
> -- then hangs,
> with not much useful debugging info ... at least, not to my
> eye,
> where/how I'm looking.
> 
> If someone could once-over the following, and make any
> suggestions/hints as to what's up, it'd be appreciated!
> 
> Here's the current step-by-step:
> 
> lvcreate -n vm_boot -L 160M /dev/VG0
> lvcreate -n vm_swap -L 512M /dev/VG0
> lvcreate -n vm_root -L 8G   /dev/VG0
> 
> mkdir -p /home/xen/centos55/xenboot/
> 
> setenv DL "http://mirrors.kernel.org/centos/5.5";
> cd /home/xen/centos55
>  wget $DL/isos/x86_64/CentOS-5.5-x86_64-netinstall.iso
> cd ./xenboot/
>  wget $DL/os/x86_64/images/xen/initrd.img
>  wget $DL/os/x86_64/images/xen/vmlinuz
> 
> vi /home/xen/centos_install.cfg
> ---------------------------------------------
> name         = 'centos'
> builder      = 'linux'
> kernel        =
> "/home/xen/centos55/xenboot/vmlinuz"
> ramdisk       =
> "/home/xen/centos55/xenboot/initrd.img"
> disk         = [
> 'phy:/dev/VG0/vm_boot,xvda,w',
>                
> 'phy:/dev/VG0/vm_swap,xvdb,w',
>                
> 'phy:/dev/VG0/vm_root,xvdc,w',
> 
> 'file:/home/xen/centos55/CentOS-5.5-x86_64-netinstall.iso,hdc:cdrom,r',
   ^--- remove this line
>               ]
#boot         = 'd'
> vif          = [
> 'mac=00:16:3E:01:06:00, bridge=brA, vifname=vif.A' ]
> vfb          = [ 'type=vnc,
> vncdisplay=106, vnclisten=127.0.0.1' ]
> extra        = 'textmode=1 xencons=xvc0
> elevator=noop lang=en_US.UTF-8
> keyboard=us timezone=America/Los_Angeles bootproto=static
> ip=192.168.1.155 gateway=192.168.1.1
> nameserver=192.168.1.1
> method=http://mirrors.kernel.org/centos/5.5/os/x86_64'
OK as is
> 
> maxmem       = 1024
> memory       = 1024
> vcpus        = 4
> cpu_cap      = 100
> cpu_weight   = 256
> localtime    = 0
> netif        = 'yes'
> on_shutdown  = 'destroy'
> on_reboot    = 'restart'
> on_crash     = 'destroy'
> ---------------------------------------------
> 
> @
> 
>  xm create -c /home/xen/centos_install.cfg
> 
> starts ok, but then hangs,

try it again with the changes. You will get the askmethod menu by virtue of
the boot files.

-- 
Mark




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.