WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

...
> 
> This looks good I think.
> 
> # file centos.img
> centos.img: x86 boot sector, Microsoft Windows XP mbr,Serial 0xb5058

Can you run 

file -s /dev/ida/c0d0

on the host where from
you have copied the image?




> 
> 
> > 
> > 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.
> 
> This can't be good.....
> 
> # lsmod | grep -q ^loop || modprobe lo
> # losetup /dev/loop1 centos.img
> # fdisk -l /dev/loop1
> 
> Disk /dev/loop1: 3845 MB, 3845230592 bytes
> 255 heads, 63 sectors/track, 467 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
> Disk /dev/loop1 doesn't contain a valid partition table

What shows fdisk -l /dev/ida/c0d0 on the source host?


Size=4G <- is it ok?
You have said that your HDD is 8GB size


> 
> Thanks,
> James
> 
> 

-- 
WBR, i.m.chubin


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