Have been playing with this a bit today.
Can’t seem to get it to work though. Here’s some output, perhaps someone might know what it all ads up to?
Plug in usb floppy & insert a (BBC disk):
tail -f /var/log/messages
... click click whir...
Dec 6 14:59:15 ayreon kernel: 2603.134195] sd 7:0:0:0: [sdb] Unit Not Ready
Dec 6 14:59:15 ayreon kernel: 2603.134208] sd 7:0:0:0: [sdb] Sense Key : Medium Error [current]
Dec 6 14:59:15 ayreon kernel: 2603.134219] sd 7:0:0:0: [sdb] Add. Sense: Cannot read medium - unknown format
.
.
.
Same, with an old MSDOS disk instead:
Dec 6 15:00:58 ayreon kernel: 2706.064471] sd 7:0:0:0: [sdb] 2880 512-byte logical blocks: (1.47 MB/1.40 MiB)
Dec 6 15:00:58 ayreon kernel: 2706.080778] sd 7:0:0:0: [sdb] Assuming drive cache: write through
Dec 6 15:00:58 ayreon kernel: 2706.128670] sd 7:0:0:0: [sdb] Assuming drive cache: write through
Dec 6 15:00:58 ayreon kernel: 2706.272523] ldm_parse_privhead(): Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting.
Dec 6 15:00:58 ayreon kernel: 2706.272537] ldm_validate_privheads(): Cannot find PRIVHEAD 1.
Dec 6 15:00:58 ayreon kernel: 2706.272550] sdb:
Mount that msdos disk:
# mount -t msdos /dev/sdb /mnt/temp
mount: block device /dev/sdb is write-protected, mounting read-only
# cd /mnt/temp
# ls
..floppy contents listed...
# cd ..
# umount /mnt/temp
Mount the BBC disk:
# mount /dev/sdb /mnt/temp
mount: no medium found on /dev/sdb
I found libdsk (LIBDSK homepage) - a library for reading old disks - and installed it via zypper.
I also found Reading DFS and ADFS floppy disks under Linux and trying a few commands:
BBC disk
# dsktrans /dev/sdb adfs.raw -otype raw -format acorn640
... some checking stuff flashes up here...
Opening: Disc rejected by driver.
# dskid /dev/sdb
/dev/sdb: Disc rejected by driver.
MSDOS disk
# dsktrans /dev/sdb adfs.raw -otype raw -format acorn640
Input driver: Raw file driver
Output driver:Raw file driver
^C^C^C/80 Head 1/2 Sector 000/015 <-- I pressed ctrl+C here to cancel
# dskid /dev/sdb
/dev/sdb:
Driver: Raw file driver
Sidedness: 0
Cylinders: 80
Heads: 2
Sectors: 18
First sector: 1
Sector size: 512
Data rate: 2
Record mode: MFM
R/W gap: 0x1b
Format gap: 0x50
Drive status: 0x68
So, does this mean:
That libdsk can’t read the bbc filesystem (software issue), or
The bbc disk is damaged (media problem), or
The floppy drive can’t read the kind of disk the BBC uses (hardware issue) or?
The floppy says on it, by way of reference,
MF2DD
Double Sided
Double Density
135 TPI (80 Tr.)
Which I’m assuming means an 80 track double sided, double density disk
Any information is gratefully received!