Xen 3.0 Fedora Core, RHEL, Centos 4.x How-to Tue, Jun 12. 2007
Trackbacks
Trackback specific URI for this entry
No Trackbacks
I gave a talk on the use of Xen for web developers at Lampsig. It took me a while to get my notes transcribed, but here at last they are. This prescription has been used by me to install Xen successfully on a Fedora core 4 box, Centos 4.3 and 4.4 boxes, and should probably work on RHEL, assuming you can figure out how to get the packages you need. #1 - James Cardinal 2007-08-14 20:28 - (Reply)
Hi!
Thanks for the nice article. However, I had a problem on the portion of xm create area.
I downloaded a Fedora image at http://www.jailtime.org/ and mount it using your article. However, at the final stage I encountered this error, as follows:
[root@vmsrv xen-images]# xm create fedora.fc6.xen3.cfg
Using config file "./fedora.fc6.xen3.cfg".
Error: Device 2049 (vbd) could not be connected.
File /home/xen-images/fedora.fc6.img is loopback-mounted through /dev/loop0,
which is mounted in the privileged domain,
and so cannot be mounted by a guest.
I placed the image:
/home/xen-images/fedora.fc6.img
And my config:
kernel = "/boot/vmlinuz-2.6.20-2925.13.fc7xen"
memory = 512
name = "fedora.fc6"
vif = [ '' ]
dhcp = "dhcp"
disk = ['file:/home/xen-images/fedora.fc6.img,sda1,w', 'file:/home/xen-images/fedora.swap,sda2,w']
root = "/dev/sda1 ro"
How can I resolve the problem? Please help me. I'm stuck for almost 2 weeks already. Can't seem to find definite solutions everywhere.
Thank you so much.
#1.1 - David Rolston 2007-11-14 22:23 - (Reply)
Based on the message it looks like you have the fedora.fc6.img file mounted on a loopback device. Unmount that, as you want it to be treated like a file by Xen, not a filesystem.
| Today's Sunrise: | 05:46 |
| Today's Sunset: | 19:55 |
| Local Time: | 06:28 |
|
|
May '13 | |||||
| Mo | Tu | We | Th | Fr | Sa | Su |
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | ||
© 1999-2011 Gizmola.com | About this site | Contact | RSS | Back to top
Design based on 1024px template by Andreas Viklund | Serendipity Port by Carl