Mailinglist Archive: opensuse (1382 mails)

< Previous Next >
Re: [opensuse] [OT] is there a virtual machine that uses harddisk as harddisk image
  • From: Anders Johansson <ajohansson@xxxxxxx>
  • Date: Mon, 1 Jun 2009 18:00:56 +0200
  • Message-id: <200906011800.56336.ajohansson@xxxxxxx>
On Monday 01 June 2009 17:17:19 Greg Freemyer wrote:
Never tried, but I'd be very surprised if a simple dd did not do the
trick.

dd if=<virtual-drive-file> of=/dev/sdx

That's unlikely to work, but in qemu there is a tool called qemu-img, which
can be used to convert between various formats. I haven't actually tested
this, but something like

qemu-img convert -O raw <input file> /dev/sdx

should work

Anders
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >