Peter Skogström <peter.skogst...@bitrunner.com> writes: > Josh Triplett wrote:
> > When installing a virtual machine, I'd really like to use the entire > > unpartitioned virtual disk as a filesystem, rather than partitioning > > it. Doing so then makes the virtual disk contain a filesystem image > > directly, which I can more easily mount from the host OS. However, > > debian-installer does not let me create a filesystem directly on a > > disk device; choosing a disk device only offers me the option of > > partitioning it. > It just as easy to mount virtual disks, image files with a tool called > kpartx. Its packaged in debian, since lenny for itself and before that > in multipath-tools It sets up loopdevices against the image so that > every partition is easily mounted. Yes, but using an unpartitioned disk with qemu (i.e. one for /boot, one for /, etc.) should make it trivial to resize a partition. With multiple partitions in one image it's harder. Though I imagine you can do something similar with a single partition per qemu drive and kpartx/fdisk, but it's probably not as easy as running dd if=drive.img ... seek=... resize2fs ... drive.img on the host. -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87wrh0t7rr....@raven.defaultvalue.org