All of lore.kernel.org
 help / color / mirror / Atom feed
From: Charles Duffy <charles@dyfis.net>
To: kvm@vger.kernel.org
Subject: Re: [KVM_AUTOTEST] unattended installs
Date: Tue, 02 Jun 2009 20:25:54 -0500	[thread overview]
Message-ID: <h04jek$1k1$1@ger.gmane.org> (raw)
In-Reply-To: <1243981484-6391-1-git-send-email-dhuff@redhat.com>

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 ::/


  parent reply	other threads:[~2009-06-03  1:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02 22:24 [KVM_AUTOTEST] unattended installs David Huff
2009-06-02 22:24 ` [PATCH][KVM_AUTOTEST] added script for unattended install David Huff
2009-06-02 22:24 ` [PATCH][KVM_AUTOTEST] modified sample config file to include one example of " David Huff
2009-06-02 22:30 ` [KVM_AUTOTEST] unattended installs David Huff
2009-06-03  1:25 ` Charles Duffy [this message]
2009-06-03 11:25   ` Lucas Meneghel Rodrigues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='h04jek$1k1$1@ger.gmane.org' \
    --to=charles@dyfis.net \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.