|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Complete Xen n00b getting stuck trying to create a VM
What I'm trying to do is to run through the example on page 18 of "The
Book of Xen" by Takemura & Crawford.
I'm trying to use CentOS because that's what they used in the book.
so CentOS host with virtualisation. Getting it's ip address from DHCP.
my virt-install is as follows:
[root@localhost ~]# virt-install --prompt
What is the name of your virtual machine? capello
How much RAM should be allocated (in megabytes)? 256
What would you like to use as the disk (file path)?
/var/lib/xen/images/capello.img
How large would you like the disk (/var/lib/xen/images/capello.img)
to be (in gigabytes)? 4
What is the install URL? http://192.168.1.73/iso
Starting install...
Retrieving file .treeinfo... | 413 B 00:00
Retrieving file vmlinuz... | 2.1 MB 00:00
Retrieving file initrd.img... | 7.2 MB 00:00
Creating storage file... | 4.0 GB 00:00
Creating domain... | 0 B 00:00
The apache error_log contains the following:
[Tue Jun 22 07:22:42 2010] [error] [client 192.168.1.73] (70014)End of
file found: mod_mime_magic: read failed from uncompress of
/var/www/html/iso/images/xen/vmlinuz
I did tail -f on the access_log but nothing seems to be being written there.
How would I tell if the DomU gets an IP address (I specified DHCP when
prompted by the install in the VM)?
Cheers,
Ewan
On 22 June 2010 10:11, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Tue, Jun 22, 2010 at 3:16 PM, Ewan Slater <ewan.slater@xxxxxxxxxxxxxx>
> wrote:
>> Then the installer in the VM tells me that it is "unable to retrieve
>> http://192.168.1.71//iso/images/stage2.img". Note the "//" after the
>> ip address. I am definitely not putting a second slash in there when
>> I specify the URL.
>>
>
> The extra slash should be fine. I'm more concern about your network
> setup. What does your virt-install line look like? does domU get an IP
> address? does http log on dom0 shows ANY access from domU's IP
> address?
>
> Usually it's easier to put domU on virbr0 bridge, and let domU use
> dhcp to configure its IP address.
>
>> As I said, I can browse to the URL just fine, and see stage2.img.
>
> Can you download it to your computer? Just trying to eliminate
> possible selinux/permission-related problem.
>
> --
> Fajar
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|