[Top][All Lists]

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

Re: [Qemu-discuss] Host drive basics.

From: Dale R. Worley
Subject: Re: [Qemu-discuss] Host drive basics.
Date: Mon, 24 Nov 2014 17:45:59 -0500

> From: "Peter Easthope" <address@hidden>

> address@hidden:~$ sudo qemu-system-i386 -fda /dev/fd0 -vga std -boot a
> qemu-system-i386: -fda /dev/fd0: could not open disk image /dev/fd0:
> Input/output error
> I/O error?  Why?  Certainly it is read/writable.
> address@hidden:~$ ls -l /dev/fd0
> brw-rw---T 1 root floppy 2, 0 Nov 17 16:44 /dev/fd0

it's only read/writable if you're user root or in group floppy.  So
I'd first check that the Qemu process has the right id's to access
/dev/fd0.  Another check is to run "dd if=/dev/fd0 of=/dev/null
count=1440" and see if you get an error.  Even better, use dd to copy
the floppy's contents into a disk file and specify the disk file as
the argument to -fda -- the minimizes the chance that there is some
odd behavior of the /dev/fd0 device that is giving Qemu trouble.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]