[CentOS] xen guest system - install source - NOT

aurfalien at gmail.com aurfalien at gmail.com
Fri Oct 9 18:03:57 UTC 2009


Chiming in a bit late on this one.

Not sure you still have a problem with this but what I do for domU  
install sources are;

- Download the distros iso, and copy its contents to some dir, I then  
serve out that dir via a local apache server, so my install url would  
look like;

http://ip-addy-of apache-server/centos5.3


or...

- I mount the DVD and use virt-install with the --cdrom flag;

virt-install --name centos --hvm --ram 512 --disk path=/var/lib/ 
libvirt/images/centos.img,size=20,sparse=false --cdrom=/dev/cdrom

just some options for flexible xen installs.

On Oct 9, 2009, at 7:33 AM, Tait Clarridge wrote:

> On Fri, 2009-10-09 at 07:11 -0700, Craig White wrote:
>> On Fri, 2009-10-09 at 09:45 -0400, Tait Clarridge wrote:
>>>>
>>>>
>>>>                    +---------------+ Error +----------------+
>>>>
>>>>                    |                                        |
>>>>
>>>>                    | Unable to retrieve                     |
>>>>
>>>>                    | http://ftp.funet.fi//pub/mirrors/cent  |
>>>>
>>>>                    | os.org/5.3/os/i386/images/stage2.img.  |
>>>>
>>>>                    |                                        |
>>>>
>>>>                    |                +----+                  |
>>>>
>>>>                    |                | OK |                  |
>>>>
>>>>                    |                +----+                  |
>>>>
>>>>                    |                                        |
>>>>
>>>>                    |                                        |
>>>>
>>>>                    +----------------------------------------+
>>>>
>>>>
>>>>
>>>> Strange, because I can download that image both with wget (from a  
>>>> http
>>>> mirror) and with ftp (from a ftp mirror). Should I try  
>>>> downloading the
>>>> whole i386 directory, and publish it locally with Apache, or  
>>>> something
>>>> like that?
>>>>
>>>> - Jussi
>>>
>>> Well, it is putting an extra slash in front of the server  
>>> address.. I
>>> remember this being a pain when trying to set a mirror to install  
>>> up.
>>>
>>>
>>> Try the following:
>>>
>>> Web site name:  ftp.funet.fi
>>> CentOS directory: pub/mirrors/centos.org/5.3/os/i386/
>>>
>>>
>>> Make sure you DO NOT add a slash infront of "pub" in the CentOS
>>> directory line.
>>>
>>> This tends to work for me, how are you kicking off the xen guest
>>> install? Grabbed the xen kernel and ramdisk from a mirror?
>> ----
>> two // doesn't matter in the least.
>>
>> I can easily retrieve this url...
>>
>> wget \
>> http://ftp.funet.fi//pub/mirrors/centos.org/5.3/os/i386/images/stage2.img
>>
>> If you look at the URL's generated by yum repos, they often have 2
>> slashes.
>>
>> Craig
>
> Alright, just relaying my findings when I was having problems here. I
> ended up having to mount the CD images on a blank ext3 partition and
> putting that in the domU config file.
>
> Thanks for clearing up the two slashes, I have noticed them working
> before but didn't know if the CentOS installer was getting confused  
> with
> them or not.
>
> Could this be a network issue?
>
> OP: Is your domU config'd for networking properly?
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos



More information about the CentOS mailing list