Page 1 of 1

why i can't mount floppy driver in bochs?

Posted: Sun May 11, 2003 8:10 pm
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?

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

Posted: Mon May 12, 2003 3:53 am
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 ...

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

Posted: Mon May 12, 2003 5:35 am
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...

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

Posted: Mon May 12, 2003 6:11 am
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.)