Use floppy under Win XP guest

Discussions related to using VirtualBox on Linux hosts.
Post Reply
oturpin
Posts: 2
Joined: 8. Feb 2009, 23:23

Use floppy under Win XP guest

Post by oturpin »

Hello,

I am running VM on Mandriva host. My guest is a Win XP.
I am trying to use the floppy under XP but each time I activate floppy, the VM blocks with error message:


Cannot open host device '/dev/fd0' for read/write access. Check the permissions of that device ('/bin/ls -l /dev/fd0'): Most probably you need to be member of the device group. Make sure that you logout/login after changing the group settings of the current user (VERR_ACCESS_DENIED).
Unknown error creating VM (VERR_ACCESS_DENIED).


Code de résultat :
NS_ERROR_FAILURE (0x80004005)
Composant :
Console
Interface :
IConsole {e3c6d4a1-a935-47ca-b16d-f9e9c496e53e}

I verified that the user is correctly configured in vboxusers and floppy groups.
I verified that /dev/fd0 is rw accessible.

Could anyone advise me some checks or configurations ?

Thx
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Post by baf »

Is the floppy mounted in the host?
If so umount it.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
oturpin
Posts: 2
Joined: 8. Feb 2009, 23:23

Post by oturpin »

Hi Baf,

Thx for your answer.
I checked twice. Floppy is not mounted on mandriva host. The entry /dev/fd0 is present in /etc/fstab but not mounted.

When I start my VM (with floppy activated), I can see the light of the floppy drive which is lit constantly... Is that a clue ?

Thx
jbadiella
Posts: 2
Joined: 17. Feb 2009, 23:10

Post by jbadiella »

I've got more or less the same problem, but haven't find a solution yet.

I have an openSUSE 11.1, and two guests (a Windows XP and an MS-DOS). None of them can access the floppy drive (/dev/fd0), though permissions are OK.

However, the VM doesn'block nor I get any error (excepting that of the guest system telling it can't read the floppy).
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

I tried floppy once too a while ago, just for a test. I noticed that I had to have to floppy mounted in the Host. I found that strange, but it was the only way to get it working. Sort of. Swapping the floppy, remounting it every time didn't help much to keep it working.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
stephanecharette
Volunteer
Posts: 300
Joined: 10. Nov 2007, 22:03
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu-64bit, Windows
Location: Kelowna, British Columbia, Canada
Contact:

Post by stephanecharette »

I haven't used the floppy in over a year, but last time I tried with VB I found it worked much better for me to create .img images of the floppy, and mount the images instead of the actual floppy.

If I remember correctly, this is what I did:

1) insert floppy into drive
2) on the host, open up a shell
3) use the command: cat /dev/fd0 > disk1.img
4) repeat steps 1-3 for all floppies you'll need in VB

Then in VB, bring up the "Devices->Mount Floppy" window and add/select the .img file you need to mount.

Stéphane
Post Reply