[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Convert CentOS system to Xen image?



On Mi, Apr 02, 2008 at 02:59:11 -0400, James Pifer wrote:
> On Wed, 2008-04-02 at 15:33 -0300, Tiago Cruz wrote:
> > On Wed, 2008-04-02 at 14:27 -0400, James Pifer wrote:
> > > Anyway, I'm trying to create the domain for the "captured" centos.img
> > > using the Virtual Machine Manager/Create Virtual Machine. When I click
> > > the last "OK" is when I get the error. So it never creates a config file
> > > for the domain. 
> > 
> > When you got this error, don't press "OK". Go to your /etc/xen
> > directory, look for one new file (ls -ltr /etc/xen) and show us.
> > 
> 
> Nothing new in /etc/xen or /etc/xen/vm. I did not press ok on the error,
> it's still on the screen. It doesn't create the config file. 
> 
> Screenshot of error here:
> http://www.obrien-pifer.com/screenshot.jpg


Hello James, 


I'm sorry for delay, I was away from the network.



Let us check image you have grabbed.
Is it ok or no.


Question #1.

If you have qemu installed, 
just try to run

qemu -hda centos.img

and say (or better show)
what do you see.


Question #2.

(if QEMU is not installed and you can't install it)

What does the command chow?

# file centos.img



Question #3.


# lsmod | grep -q ^loop || modprobe loop
# losetup /dev/loop1 centos.img  
  (if /dev/loop1 is busy, try /dev/loop2, /dev/loop3 and so on
  you can get know what loop devices are busy with the command
  losetup -a
  if device is not listed, it is not busy and you can use it)

# fdisk -l /dev/loop1

And show what you have got.











> 
> James
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
WBR, i.m.chubin


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.