LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization
User Name
Password
Linux - Virtualization This forum is for the discussion of all topics relating to Linux Virtualization. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-21-2010, 05:39 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 797

Rep: Reputation: 37
pygrub is failing to boot centos domu on Debian lenny dom0


I am trying to run a CentOS DomU on Debian Dom0 .
I created a VM using QEMU and it boots fine.(Except network connectivity)

Now for Debian Dom0
I created the new_centOS.cfg
added following
Code:
bootloader = "/usr/lib/xen-3.2-1/bin/pygryb"  (there was no softlink
from /usr/lib/xen-3.2-1/bin/pygryb to /usr/bin)
boot = "c"
full file uploaded here
http://pastebin.com/daeGSSpS

and then tried to boot
got an error
Code:
server:/etc/xen# xm create new_centOS.cfg
Using config file "./new_centOS.cfg".
Error: Bootloader isn't executable
about the above error on this link
http://wiki.debian.org/Xen#A.22Error...texecutable.22
some information was but it did not helped.As what they were saying I
had already done.

Then checked this link
http://strugglers.net/~andy/blog/200...m-debian-etch/

I did
usr/lib/xen-3.0.3-1/bin/pygrub /dev/virtualization/centos5-disk xvda

I get a brub screen .
A snapshot for the pygrub booting can be seen here
http://farm5.static.flickr.com/4006/...a6f9c014_b.jpg

But it fails to boot.

Giving following message.

Code:
Traceback (most recent call last):
 File "./pygrub", line 657, in <module>
   dir="/var/run/xend/boot")
 File "/usr/lib/python2.5/tempfile.py", line 302, in mkstemp
   return _mkstemp_inner(dir, prefix, suffix, flags)
 File "/usr/lib/python2.5/tempfile.py", line 236, in _mkstemp_inner
   fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory:
'/var/run/xend/boot/boot_kernel.je5fbt'
I searched this but it did not gave me a single search result
http://www.google.co.in/search?sourc...el.je5fbt'

what can I check next ?
Vm is booting fine with QEMU.
The hard ware I am using is 8 GB RAM ,Quad Core processor
Code:
xm dmesg | grep VMX

(XEN) HVM: VMX enabled
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing CentOS as DomU on Debian Lenny (dom0) Xen tkmsr Linux - Virtualization 8 05-17-2010 07:11 AM
LXer: Pygrub&Loading Fedora 10 PV DomU at Xen 3.3 Ubuntu Hardy Dom0 (all 64 bit) LXer Syndicated Linux News 0 11-15-2008 08:50 PM
LXer: Pygrub & install CentOS 5.2 PV DomU at Xen 3.2 Ubuntu Hardy Dom0 via local HTTP LXer Syndicated Linux News 0 10-20-2008 07:00 PM
LXer: Pygrub & install Solaris (build >75) DomU at CentOS 5.1 Dom0 (64-bit) LXer Syndicated Linux News 0 02-24-2008 06:00 PM
LXer: Pygrub & install Solaris (build >75) DomU at Fedora 8 Dom0 (64-bit) LXer Syndicated Linux News 0 02-21-2008 05:10 PM


All times are GMT -5. The time now is 01:40 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration