David Huff wrote:
I had some issues getting the guest to read a vvfat floppy passed to the guest
via qemu option "-fda fat:floppy:rw:./floppy" it would pass the dir as a vfat
disk and the guest could mount it, however guest could not read the files on the
vdisk......
I'm surprised you opted to work around this with a loop mount rather
than using mtools, given the former approach's need for root.
Granted, getting files off the ISO _could_ also require root -- in my
own analog to these scripts, I use iso-read (from the libcdio package):
# Pull kernel and initrd
iso-read --image "$OS_ISO" \
--extract /isolinux/vmlinuz \
--output-file "$TMPDIR/vmlinuz"
iso-read --image "$OS_ISO" \
--extract /isolinux/initrd.img \
--output-file "$TMPDIR/initrd.img"
# Write floppy image
mformat -C -f 1440 -i "$TMPDIR"/floppy.img ::
mcopy "$TMPDIR"/floppy.d/* -i "$TMPDIR"/floppy.img ::/
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html