Well... if you still do:
Note that this procedure will always repartition, and will always use scsi target 3. It also provides a fixed amount of swap space (not the amount configured for the install!), unless you change the constants in the install script - not recommended.
Do you really want to install SunOS 4.1.x? First check out why you might prefer Solaris 2.5.
http://www.nacs.uci.edu/support/dcs/automation/sunos4-install.html