[comp.os.minix] Floppy Disk problem with ST1.5.10.3

lrh@ukc.ac.uk (L.R.Henry) (10/29/90)

i have just upgraded to minixST1.5.10.3 and have the problem that I can no
longer access the floppy disk:-

trying mount /dev/fd0 /user - results in /dev/fd0 is not a valid file system.

trying cat /dev/fd0 results in cannot open /dev/fd0.

the upgrade went OK execpt that the crc for fs/main.c is
62320 17133 and should be
47648 17133

any ideas? (can someone send me fs/main.c with the correct crc)

luke.

archer%segin4.segin.fr@relay.prime.com (Vincent Archer) (11/01/90)

"L.R.Henry" <lrh@ukc.ac.uk> says:
>i have just upgraded to minixST1.5.10.3 and have the problem that I can no
>longer access the floppy disk:-
>
>trying mount /dev/fd0 /user - results in /dev/fd0 is not a valid file system.
>
>trying cat /dev/fd0 results in cannot open /dev/fd0.

This has nothing to do with your kernel and/or fs. The disk you're using was
probably mkfs-ed with STMinix 1.1. At this release, mkfs was wiping out the
contents of the boot sector, notably the disk geometry. Since patch3, STMinix
tries to read the disk geometry from the boot sector (and fails when the boot
sector is blank) to adapt to the REAL disk capacity (and I get 810K disks, at
last!).

>the upgrade went OK execpt that the crc for fs/main.c is
>62320 17133 and should be
>47648 17133
>
>any ideas? (can someone send me fs/main.c with the correct crc)

Check the copyright date that is printed when you boot. PCMinix is copyrighted
1990 (that's the main.c you have). STMinix is copyrighted 1991 (STs are one
generation in advance compared to PCs :-> !!!) for some obscure reason...
Change the date, you should get the correct crc!

_________
 |\___/|	Vincent Archer
 | \ / |	Email: archer%segin4.segin.fr@relay.prime.com
 | /|\ |
 |// \\|
-+-----+-	"Time is running fast..."