diff options
author | Joe Rayhawk <jrayhawk@richardiv.omgwallhack.org> | 2010-11-16 17:12:09 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@richardiv.omgwallhack.org> | 2010-11-16 17:12:09 -0800 |
commit | 11a8320cab60964d90ad23c0a0b9ddc66b4b1ecd (patch) | |
tree | 53d8600f740e6134019e925f9888b57b005b3186 /notes | |
parent | e41af63b4e17922793a5b1a55f0b4b439eb6ac74 (diff) | |
download | jrayhawk-11a8320cab60964d90ad23c0a0b9ddc66b4b1ecd.tar.gz jrayhawk-11a8320cab60964d90ad23c0a0b9ddc66b4b1ecd.zip |
New notes: qemu ntfs resizing
Diffstat (limited to 'notes')
-rw-r--r-- | notes/qemu_ntfs_resize.mdwn | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/notes/qemu_ntfs_resize.mdwn b/notes/qemu_ntfs_resize.mdwn new file mode 100644 index 0000000..d49efda --- /dev/null +++ b/notes/qemu_ntfs_resize.mdwn @@ -0,0 +1,16 @@ +The normal approach to resizing an ntfs partition (losetup cfdisk, +losetup -o32256 ntfsresize) will not work as you would expect because losetup +and qemu, in the absense of real hardware, will invent disagreeing drive +geometries which Windows' boot sector depends upon to start. It is conceptually +simplest to find a means of running (c|s|)fdisk and ntfsresize from inside qemu +itself. + +http://gparted.sourceforge.net/download.php + +If you are using a qcow2 image, you probably need to + +* qemu-img old.qcow2 new.raw +* truncate -s 100GiB new.raw # or what have you +* qemu-img new.raw old.qcow2 + +It is not clear why qcow2 images do not support resizing. |