Is there ways of installing guests other than:

Install outside Xen like John did
Use "yum --installroot=/mnt -y groupinstall Base"
Use the xenguest-install.py

Peter

On 10/15/06, John Summerfield <[EMAIL PROTECTED]> wrote:
Peter Senna Tschudin wrote:
> I've installed RHEL 5 Beta for testing Xen support. Xen is installed and
> runnig.
>
> If I run xm create -c el5, I see boot messages ending in kernel
> panic(normal kernel panic due no init). Then it return to bash.
Typically, that means no root filesystem.
> The config file is:
> /etc/xen/el5:
> kernel = "/boot/vmlinuz-2.6.17-1.2519.4.21.el5xen"
> name = "el5"
> memory = "128"

What are you using for filesystems?
>

Here's my config:
[EMAIL PROTECTED] ~]# egrep '^[a-z ]' /etc/xen/thesecond
memory = 128
name = "SUSE101"
cpus = ""         # leave to Xen to pick
vcpus = 1
vif = [ 'mac=00:16:3e:00:00:11, bridge=xenbr0, vifname=eth0' ]
disk = [ 'phy:hda5,hda5,w' ]
kernel = "/var/lib/xen/boot/vmlinuz-xenpae"
ramdisk = "/var/lib/xen/boot/initrd-xenpae"
dhcp="dhcp"
hostname='syse101'
root = "/dev/hda5"
extra = "vga=6 3"
[EMAIL PROTECTED] ~]#


My guest is SUSE 10.1, preinstalled. By exercising much cunning, I have
SLES10, SUSE 10.1, EL5 Client and EL5 Server all on the ond disk, each
boots natively.

The client boots, but  my network goes down.

I've tried, with the same result, on SLES10 with a guest SUSE10.1, and
SUSE10.1 with a SLES10 guest.

One has the network going down, the other has a problem I now know how
to resolve.




> But I can't run xenguest-install.py. There are two different errors.
> If I choose 'Domain-0' for VM name:
Don't do that, that's the name of the host!
> [EMAIL PROTECTED] xen]# xenguest-install.py
?? I missed that script, perhaps because I started on SUSE.

> What is the name of your virtual machine? Domain-0
> How much RAM should be allocated (in megabytes)? 256
> What would you like to use as the disk (path)? /tmp/d0
> How large would you like the disk to be (in gigabytes)? 4
> What is the install location? http://10.0.0.144/rhel/Server/
>
>
> Starting install...
> xenconsole: Could not read tty from store: No such file or directory
> You can reconnect to the console of your guest by running
> 'xm console Domain-0'
> [EMAIL PROTECTED] xen]# xm console Domain-0
> xenconsole: Could not read tty from store: No such file or directory
>
> If I choose any other name than Domain-0:
> [EMAIL PROTECTED] xen]# xenguest-install.py
> What is the name of your virtual machine? teste25
> How much RAM should be allocated (in megabytes)? 256
> What would you like to use as the disk (path)? /tmp/teste25
> How large would you like the disk to be (in gigabytes)? 4
> What is the install location? http://10.0.0.144/rhel/Server/
>
>
> Starting install...
> libvir: Xen Daemon error : POST operation failed: No such domain teste25
> Failed to get devices for domain teste25
> Traceback (most recent call last):
> File "/usr/sbin/xenguest-install.py", line 476, in ?
>   main()
> File "/usr/sbin/xenguest-install.py", line 467, in main
>   start_paravirt_install(name, ram, disk, mac, uuid, bridge, src,
> options.extra)
> File "/usr/sbin/xenguest-install.py", line 344, in start_paravirt_install
>   dom = conn.createLinux(cfgxml, 0)
> File "/usr/lib/python2.4/site-packages/libvirt.py", line 233, in
> createLinux
>   if ret is None:raise libvirtError('virDomainCreateLinux() failed')
> libvirt.libvirtError: virDomainCreateLinux() failed
>
> The http server directory /rhel/Server contais all files from /Server
> directory from the CDs, /images directory from CD1 and /repodata from
> CD1.
>
> What am I doing wrong?
>
> Best Regards,
>
> Peter
>


--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

Please do not reply off-list

_______________________________________________
rhelv5-beta-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-beta-list



--
Peter

http://www.parahard.com/peter

_______________________________________________
rhelv5-beta-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-beta-list

Reply via email to