[rescue] SunOS 4

Romain Dolbeau romain at dolbeau.org
Wed Jan 8 09:59:35 EST 2025


Le mer. 8 janv. 2025 à 15:05, Mike Spooner <mikes at aalin.co.uk> a écrit :
> Note that the original CD of Workshop 4.2 for SunOS4 appears to not actually be an ISO-9660 format CD, probably is Sun UFS with a Sun partition table.

It is in UFS/FFS, but doesn't seem to have a format entry so is not
recognized directly as a valid hard drive by SunOS.
QEmu CDROM doesn't seem to work properly in SunOS 4 (I'm guessing the
usual 512 vs. 2048 bytes sector issue).

However, the 'brute force' approach works for me - I just duplicated
the file for the emulated SUN2.1G drive in QEmu with my system, and
then dd'ed the content of the workshop IMG in place of the /usr
partition:

dd if=~/SPARC/fido.aalin.co.uk/vault/sw/sunos4/sparc/sdks/Sun-Workshop-4.2/Sun-Workshop-v4.2-for-SunOS4-sparc.iso
of=sunos414.img bs=512 seek=259920 conv=notrunc
(fdisk on linux is able to display the sun label to get the 259920 offset).

And then used that as another emulated SCSI disk in Qemu. In my case
it was in partition g, and I can see the content just fine:

bash-3.2# ls /mnt
.litphones                              SW3.0.1_sw
LIC_CONFIG_FILE                         SW3.0.1_swmgr
Patch                                   SunPro_AB
READ_ME_FIRST                           SunTech_License
SC3.0.1_SunC                            TW1.0.2_codmg
SC3.0.1_SunC++                          TW1.0.2_flmrg
SC3.0.1_SunCincl                        TW1.0.2_frzpt
SC3.0.1_SunCommon                       TW1.0.2_pmake
SC3.0.1_SunFortran                      TW1.0.2_vertl
SC3.0.1_SunPascal                       bin
SC3.0.1_SunSoftPerformanceLibrary       config_template
SC3.0.1_Tools.h++                       lic2.0_reconfig
SW3.0.1_brows                           lit
SW3.0.1_dbgr                            lit_tty
SW3.0.1_mktl                            prod_config_file
SW3.0.1_prfan                           spro_install
SW3.0.1_sbfsf                           spro_install_tool

This might be a solution for QEmu users (and maybe emulated SCSI
drives as well with things like scsi2sd and others).

Now, I need to figure out how to install and license it...

Cordially,

-- 
Romain Dolbeau



More information about the rescue mailing list