Re: [KVM_AUTOTEST] unattended installs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Lucas Meneghel Rodrigues
Software Engineer (QE)
Red Hat - Emerging Technologies

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux