Re: [Hampshire] Convert VMWare files into .ISO

Top Page

Reply to this message
Author: john
Date:  
To: isaacclose, Hampshire LUG Discussion List
Subject: Re: [Hampshire] Convert VMWare files into .ISO
Hi

I presume you want a clone of the setup on a USB disk.

look at http://legroom.net/2007/08/05/how-mount-vmware-disk-images-under-linux

I am using vmware to run windows xp in ubuntu

To access the vmdk disk for reading and writing do the following script - have
only 1 partition on vmware disk

#!/bin/bash
cd where vmdk is located
sudo modprobe nbd
sudo vmware-loop vm.vmdk 1 /dev/nbd0


I then open another terminal and run another script
#!/bin/bash
sudo chmod 777 /dev/nbd0
sudo mount /dev/nbd0 /home/john/aa
echo "to umount sudo umount /dev/nbd0"

This gives you full access to the vmware drive from within the operating
system

I leave it to you to copy the files to the USB stick or iso in the appropriate
manner

John Eayrs



On Wednesday 18 February 2009 18:04:52 Isaac Close wrote:
> > <stephen.davies@???> wrote:
> > > I've been working on a highly customised
> >
> > configuration
> >
> > > based on Ubuntu.
> > > The eventual target is for it to be booted from a USB
> >
> > stick
> >
> > > but all the
> > > development has been done in a vmware image.
> > >
> > > Has anyone any guidelines about how to take the data
> >
> > in the
> >
> > > VMWare image
> > > files and turn it into something that I can eventually
> >
> > burn
> >
> > > into a
> > > bootable USB.
>
> Not sure if this answers your question, but iirc there is
> some perl script someplace on that thing called the internet
> allowing one to mount vmware images onto a linux box.
>
> You could then 'mkisofs' :)
>
> Isaac.