public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: Charles Duffy <charles@dyfis.net>
Cc: kvm@vger.kernel.org
Subject: Re: [KVM_AUTOTEST] unattended installs
Date: Wed, 03 Jun 2009 08:25:39 -0300	[thread overview]
Message-ID: <1244028339.6333.1.camel@localhost.localdomain> (raw)
In-Reply-To: <h04jek$1k1$1@ger.gmane.org>

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


      reply	other threads:[~2009-06-03 11: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
2009-06-03 11:25   ` Lucas Meneghel Rodrigues [this message]

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=1244028339.6333.1.camel@localhost.localdomain \
    --to=lmr@redhat.com \
    --cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox