From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Duffy Subject: Re: [KVM_AUTOTEST] unattended installs Date: Tue, 02 Jun 2009 20:25:54 -0500 Message-ID: References: <1243981484-6391-1-git-send-email-dhuff@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:53126 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751225AbZFCBZv (ORCPT ); Tue, 2 Jun 2009 21:25:51 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MBfEl-0000fP-Pf for kvm@vger.kernel.org; Wed, 03 Jun 2009 01:25:51 +0000 Received: from 143.166.197.6 ([143.166.197.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Jun 2009 01:25:51 +0000 Received: from charles by 143.166.197.6 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Jun 2009 01:25:51 +0000 In-Reply-To: <1243981484-6391-1-git-send-email-dhuff@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 ::/