LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-01-2011, 03:14 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 39
virt-manager 0.8.2 local ISO and PXE boot install option greyed out on pv dom0


Hi,
I just installed a pv-ops Dom0 2.6.32.27 Kernel on a 64 bit non VT machine.
Following instructions here
http://wiki.xensource.com/xenwiki/Xen4.0
for 64 bit Ubuntu 10.04
Code:
apt-get install bcc bin86 gawk bridge-utils iproute libcurl3
libcurl4-openssl-dev bzip2 module-init-tools transfig tgif texinfo
texlive-latex-base texlive-latex-recommended texlive-fonts-extra
texlive-fonts-recommended pciutils-dev mercurial build-essential 
make gcc libc6-dev zlib1g-dev python python-dev python-twisted
libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev iasl libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-dev bison flex

apt-get install gcc-multilib
apt-get install xz-utils

make xen
make tools
make install-xen
make install-tools PYTHON_PREFIX_ARG=
I did not do
Code:
 make install-stubdom.


It is a Ubuntu Desktop 10.04 amd64 bit version.
Then as mentioned here on this guide
http://bderzhavets.wordpress.com/201...-koala-server/
(I did not follow the above guide strictly)

Commented out (xend-unix-server yes) in
Code:
/etc/xen/xend-config.sxp
,
here is my xend-config.sxp
http://pastebin.com/M8CfrqBc
Then exported variable
Code:
VIRSH_DEFAULT_CONNECT_URI=”xen:///”
in root’s .bashrc.
Then :-
Code:
# apt-get install ubuntu-virt-server ubuntu-virt-mgmt
Now when I open virt-manager the option to install from Local ISO or
PXE are greyed out.
virt-manager version is 0.8.2


Let me know if there is any possibility of improvement so that I can get the option of install from Local ISO here.
 
Old 03-01-2011, 03:45 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Might be a permissions issue. Have you tried running it with sudo?
 
Old 03-01-2011, 04:09 AM   #3
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 39
Yes I tried with sudo also.Same problem every thing is greyed out.
The kernel I compile above is a PV Dom0 kernel so any guest which I will have to install will have to be PV (if I am not mistaken)
and the ISO's we download all are made to run on bare metal or say HVM guests so I think that might be one reason these options are greyed out.
I have even tried with command lines
I tried doing it with virt-install command line
Quote:
virt-install -n LucidPVG -r 512 --paravirt --vnc -f /dev/sda9 -c
/home/tkmsr/Documents/ISO\'s/ubuntu-10.04.1-desktop-i386.iso --debug

Tue, 01 Mar 2011 23:19:51 DEBUG Launched with command line:
/usr/bin/virt-install -n LucidPVG -r 512 --paravirt --vnc -f /dev/sda9
-c /home/tkmsr/Documents/ISO's/ubuntu-10.04.1-desktop-i386.iso --debug
Tue, 01 Mar 2011 23:19:51 DEBUG Requesting libvirt URI default
Tue, 01 Mar 2011 23:19:51 DEBUG Received libvirt URI xen:///
Tue, 01 Mar 2011 23:19:51 DEBUG Requesting virt method 'xen', hv
type 'default'.
Tue, 01 Mar 2011 23:19:51 DEBUG Received virt method 'xen'
Tue, 01 Mar 2011 23:19:51 DEBUG Hypervisor name is 'xen'
Tue, 01 Mar 2011 23:19:51 DEBUG Could not open
"/etc/sysconfig/keyboard" [Errno 2] No such file or directory:
'/etc/sysconfig/keyboard'
Tue, 01 Mar 2011 23:19:51 DEBUG Could not open
"/etc/X11/xorg.conf": [Errno 2] No such file or directory:
'/etc/X11/xorg.conf'
Tue, 01 Mar 2011 23:19:51 ERROR Paravirtualized guests cannot
install off cdrom media.

As you can see I have used ubuntu-10.04.1-desktop-i386.iso above but
it did not worked out and then I also used
mini.iso downloaded from here
http://archive.ubuntu.com/ubuntu/dis...tboot/mini.iso

and then on my local machine (laptop) tried putting it in /var/www and
running apache but this did not gave any success.
I also tried loop mounting the ISO's to some temporary location and
even from there it did not worked.
Quote:
/usr/bin/virt-install -n LucidPVG -r 512 --paravirt --vnc -f /dev/sda9
-c /home/tkmsr/Documents/ISO's/mini.iso --debug
I got the same error as above.
I am trying to create a PV guest (Ubuntu 10.04 32 bit) on PV-Dom0
2.6.32.27 kernel using Xen 4.0.1
xm info and xm list are giving proper output but the process of
creating PV guest on non VT machine (but 64) is failing for some
reason.
Can any one suggest how should I proceed in this case.

Last edited by tkmsr; 03-01-2011 at 01:33 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PXE boot from ISO rmugunthan Linux - Newbie 5 07-09-2010 04:32 PM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM
LXer: Virt-install at Xen 3.2.1 F8 Dom0 (64-bit) LXer Syndicated Linux News 0 06-01-2008 08:12 PM
Unable to install Virtual Machine In Rhel5 with Virt-manager with CD-Rom Source prasun_mitra Linux - Enterprise 0 08-30-2007 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration