Install OpenSolaris on a SPARC without wanboot enabled OBP

October 23rd, 2009 | by | opensolaris

Oct
23

If you ever want to install OpenSolaris on your SPARC and you don’t have an OBP with wanboot enable, there is a way to still boot wantboot.

The trick is to put the wanboot boot program on your disk and boot strap from there:

ok boot net -s
Boot device: /pci@1f,0/ethernet@c  File and args: -s
Using Onboard Transceiver - Link Up.
38e00
Server IP address: 192.168.0.28
Client IP address: 192.168.0.16
Using Onboard Transceiver - Link Up.
ramdisk-root ufs-file-system
Loading: /platform/SUNW,UltraAX-i2/kernel/sparcv9/unix
Loading: /platform/sun4u/kernel/sparcv9/unix
SunOS Release 5.11 Version snv_122 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
os-io Booting to milestone "milestone/single-user:default".
Configuring /dev
WARNING: emlxs: ddi_modopen drv/fct failed: err 2
Using RPC Bootparams for network configuration information.
Attempting to configure interface dmfe1...
Skipped interface dmfe1
Attempting to configure interface dmfe0...
Configured interface dmfe0
Requesting System Maintenance Mode
SINGLE USER MODE
# newfs /dev/rdsk/c0t0d0s0
newfs: construct a new file system /dev/rdsk/c0t0d0s0: (y/n)? y
Warning: 3828 sector(s) in last cylinder unallocated
/dev/rdsk/c0t0d0s0:     192780 sectors in 32 cylinders of 48 tracks, 128 sectors
        94.1MB in 3 cyl groups (13 c/g, 39.00MB/g, 18624 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 80032, 160032,

# mount /dev/dsk/c0t0d0s0 /a
# cd /
# find platform/`uname -m`/wanboot | cpio -pmvd /a
/a/platform/sun4u/wanboot
2320 blocks
# umount /a
# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s0
# init 0
# syncing file systems... done
Program terminated
ok boot disk -F wanboot -o dhcp

After that you should follow this procedure to make the Automated Installer to work.

Authored by

One Response to “Install OpenSolaris on a SPARC without wanboot enabled OBP”

Show / Hide Comments
  1. Sophia Atkinss says:

    Simply I say it is awesome information you have shared in this post. I really like it. By cisco ccna

Leave a Comment