virt-manager doesn't enable DVD installation media!!
Hi,
I was trying to create a virtual machine using virt-manager (xen) on a CENTOS 5 machine, but virt-manager doesn't enable the installation media to be the DVD, in only enabled the HTTP/NFS combo box. Can anybody please tell me why did this happen?. I am able to mount and umount stuff on my DVD drive without problems but for some reason virt-manager doesn't allow me to install the vm from the DVD. any help is greatly appreciated. Thanks |
Quote:
see http://centos.org/docs/5/html/5.2/Vi...t_manager.html |
Thanks alot cetnosboy. Got it.
|
Pls tell me the exact procedure?
Though I have done it through NFS, if failed on half way. i.e, when it asks for the installation directory (not url). Then it says that directory could not be mounted. Though I have posted my problem twice, nobody responded. It will be very helpful if the detailed procedure is explained |
@ sunils1973
probably you didn't export the correct NFS installation tree. here's how i did it: 1. mount your DVD (containing installation tree) under say umm /media 2. export this directory through NFS by adding the line /media *(ro) in /etc/exports 3. restart nfs service 4. make sure that SELINUX & iptables are configured properly or off. I have them off 5. make sure that you see the NFS export on your local machine by running "showmount -e localhost".you should see /media *(ro) 6. when virt-manager asks you for the installation media url, input nfs:localhost:/media hope this simplified procedure helps. Regards, |
I have mounted the dvd image by loop on /home/vertual
and when asked the url, given the ursl as /home/vertual. It started installation but stopped when it asked the ipno and directory and shown message "the directory could not be mounter". I shall try giving url as nfs:/localhost/home/vertual [root@centos ~]# showmount -e Export list for centos: /home/vertual 127.0.0.1 It may also be because, of SELinux also.. I shall try Thank u geek |
Still not solved
I think there is no problem in nfs mount and installation as it is showing the vertual manager that vertual machine vm01 is running. The installation proceeds as follows installation media url : nfs:localhost:/home/vertual installation file location : /home/vm/vm01.img (with 2048 ) Then comes the Config TCP/IP dialogue box I have opted manual and given the ip address 192.168.0.2/255.255.255.0 Then the message : Waiting for network manager to configure eth0 (eth1 is configured for internet ) Error: That directory could not be mounted from the server Then it shows the dialogue box with already filled NFS servername : location Fedora directory : /home/vertual/images/install.img Pls help me |
Quote:
what are your logs saying?? (/var/log/messages) you will find all clues here so you are allowing nfs access to only 127.0.0.1? whatever ip you give the vm will have to be able to access your nfs server. your nfs server will have to be allowing access to the vm ip address. also take into consideration any iptables or selinux rules |
Thank u centosboy
I think we are close to the point (though I didn't tried the log files) The problem may be because of the network interface of the installing vertual machine. And I have done only localhost as the nfs share. I should have given the vertual machine network interface also as the nfs share. But some confusion is with me----- My ifconfig output is as follows ======================================================================== [root@centos ~]# ifconfig eth1 Link encap:Ethernet HWaddr 00:1C:C0:DE:D2:14 inet addr:116.68.87.176 Bcast:255.255.255.255 Mask:255.255.240.0 inet6 addr: fe80::21c:c0ff:fede:d214/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1179011 errors:0 dropped:0 overruns:0 frame:0 TX packets:31842 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:107371463 (102.3 MiB) TX bytes:4238856 (4.0 MiB) Interrupt:252 Base address:0xe000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:192 errors:0 dropped:0 overruns:0 frame:0 TX packets:192 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:17756 (17.3 KiB) TX bytes:17756 (17.3 KiB) peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:21 Base address:0xa000 vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:9592 (9.3 KiB) xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) ================================================================================ Here, eth1 is the interface through which I am getting interface. eth0 no link is currently available peth0 - Interface of dom0? and is it the server interface? which are these virbro0, xenbro, and vif0.0? virbr0 has an automatically assigned ip of 192.168.122.1 |
All times are GMT -5. The time now is 03:49 PM. |