On Mon, Sep 27, 2010 at 05:16:54PM +0100, Richard W.M. Jones wrote:
+ $g->pwrite_device ("/dev/sdb", 446, 0);
+ $g->pwrite_device ("/dev/sdb", $max_bootloader, $start);
Oops, rather obvious bug.
The attached patch fixes this, and I have successfully used it to
shrink a Fedora disk image. Even booted up after I did it ...
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora