this is obsolete doc -- see http://doc.nethence.com/ instead
SunOS 4.1.4 (Solaris 1.1.2)
Installation
Boot from the cdrom on the ok prompt,
boot cdrom
the installer kernel starts up and you need to switch to 7-bit serial console to get to the installer.
Ref http://solaris.itags.org/q_solaris_51221.html
Drop to the shell (2) and erase previously written partitions on the disk you need to install the operating system on, here sd0, the first disk,
dd if=/dev/zero of=/dev/rsd0c bs=1024k count=1
get back to the installer,
exit or Ctrl-D
At the format prompt, choose a disk,
disk
define a type,
type
check with,
current
verify the default partitioning provided by the type selection,
partition
quit
write the partitions to the disk and quit,
label
quit
Once the system has rebooted, launch the post-installer,
suninstall
and answer the questions,
Select your terminal type: 4) Others
Enter the terminal type ( the type must be in /etc/termcap ): vt100
Do you want to preserve the existing data partitions? [Y/N] : n
SPACE SPACE... x to choose your installation type
Configuration
Configure the network,
address=<IP ADDRESS>
short=<SHORT HOST NAME>
gw=<DEFAULT GATEWAY>
cd /etc/
ifconfig -a
echo "$short" > hostname.le0
cat > hosts <<EOF9
127.0.0.1 localhost
$address $short loghost
EOF9
echo "$gw" > defaultrouter
You can now access the system through telnet and rlogin.
Usage
Reboot the system,
shutdown -r now
Shutdown the system,
shutdown -h now
and serial console it gets to the ok prompt, you can now power the system off,
ok power-off
Note. do not use "reboot" nor "halt" commands directly.
Note. there is also -f for fastboot(8).
Miscellaneous notes
Adding a disk to the system,
dmesg | grep ^sd
dd if=/dev/zero of=/dev/rsd1c bs=1024k count=1
format
choose the disk you want to prepare,
1. sd1 at esp0 slave 8
sd1: <SUN1.05 cyl 2036 alt 2 hd 14 sec 72>
choose the type of disk,
11. SUN1.05
check the type,
current
Initialize the file system,
newfs /dev/rsd1c
Troubleshooting
If you get an error message about not having enought space on the disk, do the dd trick above before you launch the installer.
References
QEMU/SunOS 4.1.4
http://en.wikibooks.org/wiki/QEMU/SunOS_4.1.4
Archive-name: Solaris2/FAQ
http://www.science.uva.nl/pub/solaris/solaris2.html
Maximum partition size for sunos 4.1.4 on sunsparc 20
http://solaris.itags.org/q_solaris_25103.html
Solaris 1.1.2 / Sunos 4.1.4 - please help install problem
https://forums.oracle.com/thread/1935038
19.1.4 File System Mounting, SunOS 4.1.X
http://www.cs.duke.edu/csl/docs/sysadmin_course/sysadm-347.html
SunOS Install Media
http://www.sun3arc.org/install/install.phtml
Examples--Identifying the Disks on a System
http://docs.oracle.com/cd/E19455-01/805-7228/disksprep-8/index.html
SunOS 4.1.3 manual pages
http://www.freebsd.org/cgi/man.cgi?manpath=SunOS+4.1.3