Hi all! I found some time and thought about playing around with Xen 3.1 in Fedora 7! I tried to setup Fedora 7 as a para-virtualized guest on a Fedora 7 host with help of a nice howto in the O`Reilly book about Fedora what suggest the folling steps: 1)Setup a network installation server in Dom0: setenforce 0 ln -s /media/disk/ /var/www/html/fedora service httpd start 2)Start the Installation with virt-manager The installation starts up fine until I can choose the installation method!I choose http and after I always get the Error message: "Unable to retrieve http://192.168.0.123/fedora//images/stage2.img " The strange things are the two *//* !I cant get rid of it!I tried any combination who came to my mind, but no success until now... When I open Firefox and go to http://192.168.0.123/fedora/images/stage2.img or localhost/fedora/images/stage2.img the file just downloads fine without any error! I tried the http installation from a fedora server: http://limestone.uoregon.edu/ftp/fedora/linux/7/Fedora/x86_64/os/ No problem either! So what is wrong with my attempt to install from the local server? Thanks for your help, Claus
Ronald Warsow
2007-Sep-08 21:48 UTC
Re: [Fedora-xen] Guest Installation via local http fails
Claus Reheis wrote:> Hi all! > > I found some time and thought about playing around with Xen 3.1 in > Fedora 7! > I tried to setup Fedora 7 as a para-virtualized guest on a Fedora 7 host > with help of a nice howto in the O`Reilly book about Fedora what suggest > the folling steps: > > 1)Setup a network installation server in Dom0: > > setenforce 0 > > ln -s /media/disk/ /var/www/html/fedora > > service httpd start > > 2)Start the Installation with virt-manager > > The installation starts up fine until I can choose the installation > method!I choose http and after I always get the Error message: > > "Unable to retrieve http://192.168.0.123/fedora//images/stage2.img " > > The strange things are the two *//* !I cant get rid of it!I tried any > combination who came to my mind, but no success until now... > > When I open Firefox and go to > > http://192.168.0.123/fedora/images/stage2.img > > or > > localhost/fedora/images/stage2.img > > the file just downloads fine without any error! > I tried the http installation from a fedora server: > > http://limestone.uoregon.edu/ftp/fedora/linux/7/Fedora/x86_64/os/ > > No problem either! > So what is wrong with my attempt to install from the local server? >1. I''m not sure if the above can work with ln -s ... , so why not to mount directly under /var/www .... 2. your iptables setting for http maybe ?> Thanks for your help, > > Claus > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen-- Ronald
Claus Reheis
2007-Sep-08 22:18 UTC
Re: [Fedora-xen] Guest Installation via local http fails[SOLVED]
On Sat, 2007-09-08 at 23:48 +0200, Ronald Warsow wrote:> Claus Reheis wrote: > > Hi all! > > > > I found some time and thought about playing around with Xen 3.1 in > > Fedora 7! > > I tried to setup Fedora 7 as a para-virtualized guest on a Fedora 7 host > > with help of a nice howto in the O`Reilly book about Fedora what suggest > > the folling steps: > > > > 1)Setup a network installation server in Dom0: > > > > setenforce 0 > > > > ln -s /media/disk/ /var/www/html/fedora > > > > service httpd start > > > > 2)Start the Installation with virt-manager > > > > The installation starts up fine until I can choose the installation > > method!I choose http and after I always get the Error message: > > > > "Unable to retrieve http://192.168.0.123/fedora//images/stage2.img " > > > > The strange things are the two *//* !I cant get rid of it!I tried any > > combination who came to my mind, but no success until now... > > > > When I open Firefox and go to > > > > http://192.168.0.123/fedora/images/stage2.img > > > > or > > > > localhost/fedora/images/stage2.img > > > > the file just downloads fine without any error! > > I tried the http installation from a fedora server: > > > > http://limestone.uoregon.edu/ftp/fedora/linux/7/Fedora/x86_64/os/ > > > > No problem either! > > So what is wrong with my attempt to install from the local server? > > > > 1. I''m not sure if the above can work with ln -s ... , so why not to > mount directly under /var/www ....ok> > 2. your iptables setting for http maybe ?ok Changed settings from "Virtual Network" to "Shared physical device eth0" and its workinf fine now... I dont know what did the trick, but I will find out:) Thanks for your help, Claus> > > > -- > > Fedora-xen mailing list > > Fedora-xen@redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-xen > >
I think the problem is, when DomU get''s it''s ip address,DomU has it''s own localhost (127.0.0.1 address), so then it asks you to choose new location enter eth0 ip address for dom0 machine, and the it will find installation. Claus Reheis wrote:> > Hi all! > > I found some time and thought about playing around with Xen 3.1 in > Fedora 7! > I tried to setup Fedora 7 as a para-virtualized guest on a Fedora 7 host > with help of a nice howto in the O`Reilly book about Fedora what suggest > the folling steps: > > 1)Setup a network installation server in Dom0: > > setenforce 0 > > ln -s /media/disk/ /var/www/html/fedora > > service httpd start > > 2)Start the Installation with virt-manager > > The installation starts up fine until I can choose the installation > method!I choose http and after I always get the Error message: > > "Unable to retrieve http://192.168.0.123/fedora//images/stage2.img " > > The strange things are the two *//* !I cant get rid of it!I tried any > combination who came to my mind, but no success until now... > > When I open Firefox and go to > > http://192.168.0.123/fedora/images/stage2.img > > or > > localhost/fedora/images/stage2.img > > the file just downloads fine without any error! > I tried the http installation from a fedora server: > > http://limestone.uoregon.edu/ftp/fedora/linux/7/Fedora/x86_64/os/ > > No problem either! > So what is wrong with my attempt to install from the local server? > > Thanks for your help, > > Claus > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > >-- View this message in context: http://www.nabble.com/Guest-Installation-via-local-http-fails-tf4407145.html#a12675542 Sent from the Fedora Xen mailing list archive at Nabble.com.