All of lore.kernel.org
 help / color / mirror / Atom feed
* VMware disk image type
@ 2011-02-23 12:48 Mickael Chazaux
  2011-02-23 21:42 ` Tom Rini
  0 siblings, 1 reply; 7+ messages in thread
From: Mickael Chazaux @ 2011-02-23 12:48 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I see there is a vmware.conf in conf/machine, but it does not generate
vmdk (vmware virtual disk files) files. Here are the steps I take to
do that:

- create an empty file the size wanted (with dd),
- format it to ext3 (mkfs.ext3 myfile)
- mount it loopback (mount -o loop myfile /mnt)
- untar the OE-generated rootfs in /mnt
- create a /boot/extlinux.conf [1],
- install extlinux in /boot (extlinux -i /mnt/boot)
- umount,
- convert to vmdk (using qemu-img -O vmdk myfile myfile.vmdk)
- boot it in vmware.

Is it possible to add a "vmdk" image to openembedded to do this automatically?

Regards,

Mickael

[1]
/boot/extlinux.conf contents :

label a
kernel /boot/bzImage
append root=/dev/sda rw



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-04-04 14:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-23 12:48 VMware disk image type Mickael Chazaux
2011-02-23 21:42 ` Tom Rini
2011-04-04 11:21   ` Mickael Chazaux
2011-04-04 13:56     ` Koen Kooi
2011-04-04 14:00     ` Mike Westerhof
2011-04-04 14:07     ` Phil Blundell
2011-04-04 14:46     ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.