Sample Header Ad - 728x90

Mounting an old Sun CDROM on Linux (Debian Buster)

1 vote
0 answers
423 views
I have an old CDROM of media content that will have been intended for use on a Sun Unix machine. The CD packaging gives no details of the filesystem type etc. beyond- mount -o ro /dev/sr0 /cdrom Obviously this command was for a Sun workstation. I want to read the disk contents (which are mostly video files I believe), if they look useful I will probably copy them back out to an ISO format disk. On my Debian 10.0 (Buster) Linux machine, the simple mount command suggested (changing /cdrom to /mnt as the mount point) fails with the error- mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error. I have checked the CD FStype with file -s /dev/sr0 which gives this result-
/dev/sr0: Unix Fast File system [v1] (big-endian), last mounted on /mnt, last written at Mon Aug 31 14:56:42 1992, clean flag 1, number of blocks 51660, number of data blocks 50838, number of cylinder groups 7, block size 8192, fragment size 8192, minimum percentage of free blocks 0, rotational delay 0ms, disk rotational speed 73rps, SPACE optimization
This indicates the disk FS is the "Unix Fast Filesystem", which should be supported by the UFS kernel module. I do have UFS available-
cat /proc/filesystems | grep ufs
	ufs
However mount -t ufs -o ro /dev/cdrom /mnt gives the same error. I'm wondering if it's the endian-ness issue (SPARC being big-endian while X86 is little-endian) but I haven't found a mount option to deal with that. I have found some sources on the net that say that Linux can handle filesystems with either endianness. Maybe it should be auto-detected, but if so that's not woerking. I would welcome suggestions on how to read this disk (or even just convert it to a readable format).
Asked by Incans (41 rep)
Sep 6, 2020, 08:36 PM