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] Installing SuSE 10.1/10.2 from yast

To: "Marlier, Ian" <ian.marlier@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Installing SuSE 10.1/10.2 from yast
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Tue, 10 Oct 2006 15:45:55 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Oct 2006 06:46:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D2575519D6CA2840B6D3E26087EA71B6CC10@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <D2575519D6CA2840B6D3E26087EA71B6CC10@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (X11/20060911)
  Hi,

> To wit: The YaST module appears to do the following steps to create the
> install system for the new Xen machine:
> - Grab the kernel-xen RPM from the _machine_ installation source.  (IE,
> the install source that's configured for Dom0 -- an SLES source, in your
> case)

Also grab install-initrd.rpm ...

> - Use rpm2cpio to unpack the RPM into a directory under /tmp
> - Use mkinstinitrd to create the installation ramdisk image, using the
> just-unpacked kernel.

mkinstinitrd is in install-initrd.rpm.  It has a --help switch ;)

It basically adds the kernel modules to the pre-prepared install initrd.
 That allows to use any modular kernel for installation.

> - Use that new ramdisk to load the installation system.

> Because there's no way to tell it what kernel image to use, I think you
> might be stuck with the one that's RPMd in the SLES install source...

You can't ask the yast2-xen module to do that.  But kicking the
installation manually is easy once you have the kernel and the initrd:

xm create -c -f /path/to/domU/config/file \
  kernel=/your/kernel \
  ramdisk=/initrd/created/by/mkinstinitrd \
  extra="install=http://your.mirror/pub/opensuse/distribution/SL-10.1/";

You might want to add "vnc=1 vncpassword=your&secret&here" or
"textmode=1" to the kernel command line.

cheers,

  Gerd

-- 
Gerd Hoffmann <kraxel@xxxxxxx>
http://www.suse.de/~kraxel/julika-dora.jpeg

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