From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Meneghel Rodrigues Subject: Re: [KVM_AUTOTEST] unattended installs Date: Wed, 03 Jun 2009 08:25:39 -0300 Message-ID: <1244028339.6333.1.camel@localhost.localdomain> References: <1243981484-6391-1-git-send-email-dhuff@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Charles Duffy Return-path: Received: from mx2.redhat.com ([66.187.237.31]:52782 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752764AbZFCLZm (ORCPT ); Wed, 3 Jun 2009 07:25:42 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Tue, 2009-06-02 at 20:25 -0500, Charles Duffy wrote: > 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. Autotest runs the tests as root, so we will have root privileges anyway... > 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 majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Lucas Meneghel Rodrigues Software Engineer (QE) Red Hat - Emerging Technologies