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

Re: [Xen-users] Xen-3.0 on Suse-10



Hi Digvijoy,

On Feb 10, 2006 08:11 AM, Digvijoy Chatterjee
<digvijoy_chatterjee@xxxxxxxxxxx> wrote:

> 
> I am trying to start a DomU using yast2 on Suse-10 which autogenerates
> this file and starts it up:
> 
> disk = [ 'file:/var/lib/xen/images/domain1/hda,hda,w' ]
> memory = 256
> kernel = "/var/lib/xen/images/domain1/vmlinuz-2.6.13-15-xen"
> ramdisk = "/var/lib/xen/images/domain1/inst-initrd"
> name = "domain1"
> dhcp = "dhcp"
> extra = ""
> root = ""
 
Edit the file above and make the following changes:

disk = [ 'file:/var/lib/xen/images/domain1/hda,xvda,w' ]

extra = "TERM=xterm textmode=1
install=nfs://servername/path_to_source_dir"

restart = "never"

Then open an xterm and type:

xm create -c domain1

You should see linuxrc start inside the xterm.

When the instalation finishes you should change the line

ramdisk = "/var/lib/xen/images/domain1/inst-initrd"

to contain the initrd for a running system instead of the installation
one. Hopefully you can safely use "/boot/initrd-xen"

Also you'll need to change the root line to:

root = "/dev/xvda1"

(or xvda2, depending in how partitioning was performed during install)

And finaly:

restart = "onreboot"

Now start domain1 again from an xterm and you should be able to finish
the installation.

Another option is to use the option "Installation into directory" from
YaST and then use that directory as the image for xen.

rgrds,
Braulio Gergull


_______________________________________________
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®.