|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Convert CentOS system to Xen image?
On Wed, Apr 2, 2008 at 8:41 AM, James Pifer < jep@xxxxxxxxxxxxxxxx> wrote:
Attempted to do this using netcat + ssh and here's my next problem. The
CentOS server is using LVM, so instead of getting an img file of around
8 gig that I expected, I got one that is 18 gig, or the size of the LV.
I tried it anyway and I get a valid boot sector not found.
Any suggestions? Xen uses a partition within a partiton. If you are going from a real
system to a xen and they are both on lvms do something like
lvcreate -n xenBoot -L <a little bigger than the real servers lvm>G /dev/VolGroup00
fdisk /dev/VolGroup00/xenBoot create a primary partion
kpartx -a /dev/VolGroup/xendBoot <this will make the partition visible to dom0 in /dev/mapper/xenBoot1
dd if=/dev/VolGroup/<your real boot volume> of=/dev/mapper/xenBoot1
Thanks,
James
-- Joe Royall 407-401-2007
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-users] Convert CentOS system to Xen image?, (continued)
- RE: [Xen-users] Convert CentOS system to Xen image?, Ross S. W. Walker
- Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
- RE: [Xen-users] Convert CentOS system to Xen image?, Ross S. W. Walker
- Re: [Xen-users] Convert CentOS system to Xen image?,
Joe Royall <=
- Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
- Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
- Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
- Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
- Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
- Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
- Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
- Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
- Re: [Xen-users] Convert CentOS system to Xen image?, Tiago Cruz
- Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
|
|
|
|
|