On Fri, Nov 22, 2013 at 11:34:34AM -0500, Jason A. Kates wrote: > what about just using dd? > dd if=disk.img of=mbr bs=512b count=1
Correct, that's what I alluded to here: > > This will work for any format of disk. Of course for a raw format > > disk this is just a slower way of reading the first 512 bytes from the > > raw file. 'dd' is only going to work for a raw format file. It won't work for any other disk image format. 'qemu-io' will work for all disk image formats supported by qemu (same as libguestfs). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
