why i can't mount floppy driver in bochs?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
yan

why i can't mount floppy driver in bochs?

Post by yan »

i download
minix203.tar.gz & Bochs-2.0.2.exe from
http://sourceforge.net/projects/bochs/
and i creat a 1.44mb 'a.img' using bximage.exe
and add 'floppya: 1_44=a.img, status=inserted' in bochsrc.txt
i starting bochs with command '..\bochs -q -f bochsrc.txt'
in minix,#mount /dev/fd0 /floppy
#mount /dev/fd1 /floppy
get a result 'mount:Can't mount /dev/fd0 on /floppy:Ivalid argument'
why?
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:why i can't mount floppy driver in bochs?

Post by Pype.Clicker »

do the /floppy directory exists ? if not "mkdir /floppy" should do the trick ...

maybe the floppy device isn't named "/dev/fd0" in minix. Try out a "ls /dev/f*" to get additionnal hints ...
yan

Re:why i can't mount floppy driver in bochs?

Post by yan »

i did add the /floppy directory
and i tried fd0,fd1,there is no fd2,fd3...

and there is fd0p0,fd0p1,fd0p2
fd1p0,fd1p1,fd1p2
i tried,but failed again and again...
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:why i can't mount floppy driver in bochs?

Post by Pype.Clicker »

hmm ... from what i've read at minix://man fstab, it seems that minix has no support for filesystems other than minixFS v1 and minixFSv2. So you'll probably have to make your floppy a minix floppy disk (using mkfs) before you can mount it ...

fd0p<x> is usually for alternate format (forcing a 360Kb, or 720Kb disk, etc.)
Post Reply