Please consider a donation to the Higher Intellect project. See https://preterhuman.net/donate.php or the Donate to Higher Intellect page for more info.

Reading a NeXT floppy

From Higher Intellect Wiki
Jump to navigation Jump to search

Question

I have some old floppies (1.44 , not 2.88) that have data on them from 
my NeXT days.  I believe this data (commercial fonts) were sold in NeXT 
format.  I want to try and read them on my Linux box.  
I've compiled a kernel with UFS support and now try

mount -t ufs -r -o ufstype=nextstep /dev/fd0 /media/floppy


I get errors about wrong fs type, bad option, bad superblock on /dev/fd0

Anyone have tips for doing this?

Response

Well I do these things most of/all the time when I (try to) get OPENSTEP
under VMware. Thus I do know it works (at least for the Intel-boot- and
driver-floppy).

: I get errors about wrong fs type, bad option, bad superblock on /dev/fd0

It is possible, that disk-sectors, especially the superblock-sector are
physically damaged. Thus what I'd do (and did with the floppies mentioned
above) is to 'dd' the floppy-image to the harddisk and then play around
with (a copy of) it. If the 'dd' fails, you know that there is a problem
with the floppy on the hardware side. If not, and if it is in NeXTs BFFS
format, you should then be able to read it by 'loop'-mounting the
imagefile. You can try any other (especially FAT) filesystem, too.

: Anyone have tips for doing this?

If it really is in BFFS format and it is 'just' the superblock, you might
get away with skipping it from the original diskette and pre-pending it
from another (undamaged) one. For read-only purposes, this should work,
I think [for writing, which the Linux-driver does not support(!), you'd at
least have to run a proper 'fsck' over that thing!].

To summarize: yes, your method should work - it does for me, and I do think
you have a phyiscal floppy problem, which one might be able to work around.