[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Converting a VMDK on ESX to raw
On Tue, Feb 04, 2014 at 05:28:06AM +0000, Manoj Subramaniam (manojsub) wrote: > I tried this and it didn¹t work either. > > Here¹s what I did. I had a windows VM on ESX (I did install GPL PV > drivers) and a Linux VM. I turned off the windows VM and attached it¹s > disk to the linux VM. So I could see it as /dev/sdd . Then I did a ³ dd > if=/dev/sdd of=windows.img bs=1m ³ After this I moved the windows.img to > another machine running Xen 4.2.3 and Ubuntu Dom0, I tried to bring it up > as an HVM. It tries to boot up and then says ³Boot from hard disk failed: > could not read the boot disk² and ³No bootable device. Powering off in 30 > seconds.² > This looks right. Remember inside the VM you always sees a raw disk, nothing fancy going on, otherwise the OS itself won't be able to read its content. But TBH I've never used ESX. What happens when you do "file windows.img"? I have a raw disk image called "rhel7.img" and it returns "rhel7.img: x86 boot sector". Wei. > > > On 1/31/14, 5:51 PM, "mitch@xxxxxxxxxxxx" <mitch@xxxxxxxxxxxx> wrote: > > >Wei can you provide a little more detail? > >I have a client machine running Windows 2000 on vmware 2 I desparately > >want to convert to XenServer 6.2 but so far my attempts have all failed. > >Single machine - but I'm not quite sure what I'd be dd'ing to what? > > > >Cheers - have a great weekend! > > > >-----Original Message----- > >From: xen-users-bounces@xxxxxxxxxxxxx > >[mailto:xen-users-bounces@xxxxxxxxxxxxx] On Behalf Of Wei Liu > >Sent: January 31, 2014 2:13 PM > >To: Manoj Subramaniam (manojsub) > >Cc: xen-users@xxxxxxxxxxxxx; wei.liu2@xxxxxxxxxx > >Subject: Re: [Xen-users] Converting a VMDK on ESX to raw > > > >On Fri, Jan 31, 2014 at 07:25:37PM +0000, Manoj Subramaniam (manojsub) > >wrote: > >> I¹m trying to convert a vmdk windows image to a raw image compatible > >>with xen. I have tried qemu-img and vmkfstools so far, but have had no > >>luck I.e, DomU says it can¹t find the boot disk and fails. I am going to > >> try out Redhat¹s virt-v2v. Is there a tool you guys use? > >> > > > >A dumb method I can think of is you create a Linux guest on ESX, mount > >attach that disk and use dd. It should be doable if you only want to > >convert one or two disks. > > > >Wei. > > > >> - Manoj > > > >> _______________________________________________ > >> Xen-users mailing list > >> Xen-users@xxxxxxxxxxxxx > >> http://lists.xen.org/xen-users > > > > > >_______________________________________________ > >Xen-users mailing list > >Xen-users@xxxxxxxxxxxxx > >http://lists.xen.org/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |