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] Xen: invalid source and/or image destination

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen: invalid source and/or image destination
From: Evan Lavelle <sa212+xen@xxxxxxxxxxx>
Date: Mon, 03 Mar 2008 22:43:37 +0000
Delivery-date: Mon, 03 Mar 2008 14:44:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <15813515.post@xxxxxxxxxxxxxxx>
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: <15764149.post@xxxxxxxxxxxxxxx> <47CADFF5.8010809@xxxxxxxxxx> <15792605.post@xxxxxxxxxxxxxxx> <20080302163539.05fd7f57@zooty> <15809710.post@xxxxxxxxxxxxxxx> <15813515.post@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)
new2xen wrote:
Although starting off well - I'm now hitting

"Unable to retrieve http://127.0.0.1/CentOS_5.1_Final/images/stage2.img "

Reading up a little I have found the using 127.0.0.1 is a bit of a no-no; so
have changed to use the actual IP address; but the problem is the same.

Also read that "ln -s" isn't great either so I have not tried to mount via:

mount -t iso9660 -o ro /dev/cdrom /var/www/html/CentOS

Which seems to work (the mounting part) same problem though.

Now - when I first did this I hit: "Unable to retreive
http:/127.0.0.1/images/minstg2.img" but this just went away after a few
attempts and moved onto "stage2.img"...

I have not tried to copy the whole DVD under /var/www/html - perhaps I
should!

No, don't do that. Look at:

http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/

That's the top level of an Anaconda install tree.

Can you point your web browser at anything on your *local* network that looks like that? If you can, then give that URL to virt-install/manager/whatever. If you can't:

1) mount your DVD in it's normal location, as given by /etc/fstab; let's say it's '/media/dvd'. when you 'ls' it, it should look like the URL above.

2) Find the directory Apache serves files from, go to it. Create a symlink in this directory to '/media/dvd':

> ln -s /media/dvd MYDVD

When you 'ls' MYDVD, it should look like the URL above.

3) Browse to 'http://127.0.0.l/MYDVD'. This should look like the URL above.

4) Start virt-install, supply 'http://127.0.0.1/MYDVD'. I've only done this between two machines, rather than using 127.0.0.1, but I'd be surprised if 127.0.0.1 doesn't work.

You need to paste the error messages you get, and the commands you try, *exactly*. Your commands and error messages don't make sense.

Evan

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