--> Assumes you have the sparc install disk and cd-rom drive --> Log into SunOS, switch to prom and give command: --> boot cdrom 3.3/sparc/bsd.rd sparky console login: root Password: Last login: Thu Jun 19 10:38:37 on console Jun 19 12:01:15 sparky login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.7 Generic October 1998 sparky# Type 'go' to resume Type help for more information ok boot cdrom 3.3/sparc/bsd.rd Resetting ... SPARCstation 5, No Keyboard ROM Rev. 2.24, 64 MB memory installed, Serial #8061085. Ethernet address 8:0:20:7b:0:9d, Host ID: 807b009d. Rebooting with command: cdrom 3.3/sparc/bsd.rd Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@6,0:d File and args: 3.3/sparc/bsd.rd >> OpenBSD BOOT 2.2 Booting 3.3/sparc/bsd.rd @ 0x4000 3373832+182016| console is ttya Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2003 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 3.3 (RAMDISK) #15: Sat Mar 29 15:49:05 MST 2003 deraadt@sparc.openbsd.org:/usr/src/sys/arch/sparc/compile/RAMDISK real mem = 66764800 avail mem = 58212352 using 200 buffers containing 3338240 bytes of memory bootpath: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@6, 0:d mainbus0 (root): SUNW,SPARCstation-5 cpu0 at mainbus0: MB86904 @ 110 MHz, on-chip FPU cpu0: 16K instruction (32 b/l), 8K data (16 b/l) cache enabled obio0 at mainbus0 clock0 at obio0 addr 0x71200000: mk48t08 (eeprom) timer0 at obio0 addr 0x71d00000 delay constant 52 zs0 at obio0 addr 0x71100000 pri 12, softpri 6 zstty0 at zs0 channel 0 (console i/o) zstty1 at zs0 channel 1 zs1 at obio0 addr 0x71000000 pri 12, softpri 6 zskbd0 at zs1 channel 0: reset timeout zskbd0: no keyboard zstty2 at zs1 channel 1: mouse slavioconfig at obio0 addr 0x71800000 not configured auxreg0 at obio0 addr 0x71900000 power0 at obio0 addr 0x71910000 fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec iommu0 at mainbus0 addr 0x10000000: version 0x4/0x0, page-size 4096, range 64MB sbus0 at iommu0: clock = 22 MHz dma0 at sbus0 slot 5 offset 0x8400000: rev 2 esp0 at dma0 offset 0x8800000 pri 4: ESP200, 40MHz, SCSI ID 7 scsibus0 at esp0: 8 targets sd0 at scsibus0 targ 3 lun 0: SCSI2 0/direct fi xed sd0: 1042MB, 3835 cyl, 4 head, 139 sec, 512 bytes/sec, 2134305 sec total cd0 at scsibus0 targ 6 lun 0: SCSI2 5/cdrom re movable SUNW,bpp at sbus0 slot 5 offset 0xc800000 not configured ledma0 at sbus0 slot 5 offset 0x8400010: rev 2 le0 at ledma0 offset 0x8c00000 pri 6: address 08:00:20:7b:00:9d le0: 16 receive buffers, 4 transmit buffers SUNW,CS4231 at sbus0 slot 4 offset 0xc000000 not configured power-management at sbus0 slot 4 offset 0xa000000 not configured cgsix0 at sbus0 slot 1 offset 0x0: SUNW,501-2253, 1152x900, rev 11 wsdisplay0 at cgsix0 wsdisplay0: screen 0 added (std, sun emulation) cgsix1 at sbus0 slot 2 offset 0x0: SUNW,501-2325, 1152x900, rev 11 wsdisplay1 at cgsix1 wsdisplay1: screen 0 added (std, sun emulation) cgsix2 at sbus0 slot 3 offset 0x0: SUNW,501-2253, 1152x900, rev 11 wsdisplay2 at cgsix2 wsdisplay2: screen 0 added (std, sun emulation) root on rd0a rd0: fixed, 4352 blocks rootdev=0x1100 rrootdev=0x6a00 rawdev=0x6a02 WARNING: clock gained 81 days -- CHECK AND RESET THE DATE! erase ^?, werase ^W, kill ^U, intr ^C, status ^T (I)nstall, (U)pgrade or (S)hell? i Welcome to the OpenBSD/sparc 3.3 install program. This program will help you install OpenBSD in a simple and rational way. At any prompt except password prompts you can run a shell command by typing '!foo', or escape to a shell by typing '!'. Default answers are shown in []'s and are selected by pressing RETURN. At any time you can exit this program by pressing Control-C and then RETURN, but quitting during an install can leave your system in an inconsistent state. Terminal type? [sun] vt100 IS YOUR DATA BACKED UP? As with anything that modifies disk contents, this program can cause SIGNIFICANT data loss. It is often helpful to have the installation notes handy. For complex disk configurations, relevant disk hardware manuals and a calculator are useful. Proceed with install? [n] y Cool! Let's get to it... You will now initialize the disk(s) that OpenBSD will use. To enable all available security features you should configure the disk(s) to allow the creation of separate filesystems for /, /tmp, /var, /usr, and /home. Available disks are: sd0. Which one is the root disk? (or 'done') [sd0] This platform requires that partition offsets/sizes be on cylinder boundaries. Partition offsets/sizes will be rounded to the nearest cylinder automatically. Initial label editor (enter '?' for help at any prompt) > ? Available commands: p [unit] - print label. M - show entire OpenBSD man page for disklabel. e - edit drive parameters. a [part] - add new partition. b - set OpenBSD disk boundaries. c [part] - change partition size. d [part] - delete partition. D - set label to default. g [d|b] - Use [d]isk or [b]ios geometry. m [part] - modify existing partition. n [part] - set the mount point for a partition. r - recalculate free space. u - undo last change. s [path] - save label to file. w - write label to disk. q - quit and save changes. x - exit without saving changes. X - toggle expert mode. z - zero out partition table. ? [cmnd] - this message or command specific help. Numeric parameters may use suffixes to indicate units: 'b' for bytes, 'c' for cylinders, 'k' for kilobytes, 'm' for megabytes, 'g' for gigabytes or no suffix for sectors (usually 512 bytes). Non-sector units will be rounded to the nearest cylinder. Entering '?' at most prompts will give you (simple) context sensitive help. > p device: /dev/rsd0c type: SCSI disk: SCSI disk label: SUN1.05 cyl 2036 bytes/sector: 512 sectors/track: 72 tracks/cylinder: 14 sectors/cylinder: 1008 cylinders: 2036 total sectors: 2052288 free sectors: 2016 rpm: 5400 16 partitions: # size offset fstype [fsize bsize cpg] a: 156240 0 4.2BSD 1024 8192 16 b: 156240 156240 swap c: 2052288 0 unused 0 0 d: 379008 312480 4.2BSD 1024 8192 16 f: 315504 691488 4.2BSD 1024 8192 16 g: 983808 1006992 4.2BSD 1024 8192 16 h: 59472 1990800 4.2BSD 1024 8192 16 --> all partitions deleted except for c: > d a > d b > d d > d f > d g > d h > p device: /dev/rsd0c type: SCSI disk: SCSI disk label: SUN1.05 cyl 2036 bytes/sector: 512 sectors/track: 72 tracks/cylinder: 14 sectors/cylinder: 1008 cylinders: 2036 total sectors: 2052288 free sectors: 2052288 rpm: 5400 16 partitions: # size offset fstype [fsize bsize cpg] c: 2052288 0 unused 0 0 --> create new partitions and mount points > a a offset: [0] size: [2052288] 150M Rounding to nearest cylinder: 307440 FS type: [4.2BSD] mount point: [none] / > a b offset: [307440] size: [1744848] 128M Rounding to nearest cylinder: 262080 FS type: [swap] > a d offset: [569520] size: [1482768] 300M Rounding to nearest cylinder: 614880 FS type: [4.2BSD] mount point: [none] /usr > p device: /dev/rsd0c type: SCSI disk: SCSI disk label: SUN1.05 cyl 2036 bytes/sector: 512 sectors/track: 72 tracks/cylinder: 14 sectors/cylinder: 1008 cylinders: 2036 total sectors: 2052288 free sectors: 867888 rpm: 5400 16 partitions: # size offset fstype [fsize bsize cpg] a: 307440 0 4.2BSD 1024 8192 16 # / b: 262080 307440 swap c: 2052288 0 unused 0 0 d: 614880 569520 4.2BSD 1024 8192 16 # /usr > a e offset: [1184400] size: [867888] 150M Rounding to nearest cylinder: 307440 FS type: [4.2BSD] mount point: [none] /var > a f offset: [1491840] size: [560448] FS type: [4.2BSD] mount point: [none] /home > p device: /dev/rsd0c type: SCSI disk: SCSI disk label: SUN1.05 cyl 2036 bytes/sector: 512 sectors/track: 72 tracks/cylinder: 14 sectors/cylinder: 1008 cylinders: 2036 total sectors: 2052288 free sectors: 0 rpm: 5400 16 partitions: # size offset fstype [fsize bsize cpg] a: 307440 0 4.2BSD 1024 8192 16 # / b: 262080 307440 swap c: 2052288 0 unused 0 0 d: 614880 569520 4.2BSD 1024 8192 16 # /usr e: 307440 1184400 4.2BSD 1024 8192 16 # /var f: 560448 1491840 4.2BSD 1024 8192 16 # /home > q Write new label?: [y] The root filesystem will be mounted on sd0a. sd0b will be used for swap space. Mount point for sd0d (size=307440k)? (or 'none' or 'done') [/usr] Mount point for sd0e (size=153720k)? (or 'none' or 'done') [/var] Mount point for sd0f (size=280224k)? (or 'none' or 'done') [/home] Mount point for sd0d (size=307440k)? (or 'none' or 'done') [/usr] done Done - no available disks found. You have configured the following partitions and mount points: sd0a / sd0d /usr sd0e /var sd0f /home The next step creates a filesystem on each partition, ERASING existing data. Are you really sure that you're ready to proceed? [n] y /dev/rsd0a: 307440 sectors in 305 cylinders of 14 tracks, 72 sectors 150.1MB in 20 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/rsd0d: 614880 sectors in 610 cylinders of 14 tracks, 72 sectors 300.2MB in 39 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/rsd0e: 307440 sectors in 305 cylinders of 14 tracks, 72 sectors 150.1MB in 20 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/rsd0f: 560448 sectors in 556 cylinders of 14 tracks, 72 sectors 273.7MB in 35 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/sd0a on /mnt type ffs (rw, asynchronous, local, ctime=Thu Jun 19 16:29:11 2 003) /dev/sd0f on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid, ctime=T hu Jun 19 16:29:12 2003) /dev/sd0d on /mnt/usr type ffs (rw, asynchronous, local, nodev, ctime=Thu Jun 19 16:29:12 2003) /dev/sd0e on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Th u Jun 19 16:29:12 2003) System hostname? (short form, e.g. 'foo') sparky Configure the network? [y] y Available interfaces are: le0. Which one do you wish to initialize? (or 'done') [le0] Symbolic (host) name for le0? [sparky] The default media for le0 is media: Ethernet autoselect (10baseT) Do you want to change the default media? [n] IP address for le0? (or 'dhcp') dhcp Issuing hostname-associated DHCP request for le0. Internet Software Consortium DHCP Client 2.0pl5-OpenBSD Listening on BPF/le0/08:00:20:7b:00:9d Sending on BPF/le0/08:00:20:7b:00:9d Sending on Socket/fallback/fallback-net --> Numbers are commented out due to work network DHCPDISCOVER on le0 to XXX.XXX.XXX.XXX port XX interval 2 DHCPOFFER from XX.XXX.XXX.XX DHCPREQUEST on le0 to XXX.XXX.XXX.XXX port XX DHCPACK from XXX.XXX.XXX.XX New Network Number: XX.XXX.XXX.X New Broadcast Address: XX.XXX.XXX.XXX bound to XX.XXX.XXX.XX -- renewal in 216000 seconds. Done - no available interfaces found. DNS domain name? (e.g. 'bar.com') [XXX.XXXXX] DNS nameserver? (IP address or 'none') [XX.XXX.XXX.XX XXX.XX.XXX.XX XXX.XX.XXX.XX] Use the nameserver now? [y] Default route? (IP address, 'dhcp' or 'none') [XX.XXX.XXX.X] add net default: gateway XX.XXX.XXX.X Edit hosts with ed? [n] Do you want to do any manual network configuration? [n] Password for root account? (will not echo) Password for root account? (again) You will now specify the location and names of the install sets you want to load. You will be able to repeat this step until all of your sets have been successfully loaded. If you are not sure what sets to install, refer to the installation notes for details on the contents of each. Sets can be located on a (m)ounted filesystem; a (c)drom, (d)isk or (t)ape device; or a (f)tp, (n)fs or (h)ttp server. Where are the install sets? (or 'done') c Available CD-ROMs are: cd0. Which one contains the install media? (or 'done') [cd0] Pathname to the sets? (or 'done') [3.3/sparc] The following sets are available. Enter a filename, 'all' to select all the sets, or 'done'. You may de-select a set by prepending a '-' to its name. [X] bsd [ ] bsd.rd [X] base33.tgz [X] etc33.tgz [X] misc33.tgz [X] comp33.tgz [X] man33.tgz [X] game33.tgz [ ] xbase33.tgz [ ] xshare33.tgz [ ] xfont33.tgz [ ] xserv33.tgz File name? (or 'done') [bsd.rd] -game33.tgz The following sets are available. Enter a filename, 'all' to select all the sets, or 'done'. You may de-select a set by prepending a '-' to its name. [X] bsd [ ] bsd.rd [X] base33.tgz [X] etc33.tgz [X] misc33.tgz [X] comp33.tgz [X] man33.tgz [ ] game33.tgz [ ] xbase33.tgz [ ] xshare33.tgz [ ] xfont33.tgz [ ] xserv33.tgz File name? (or 'done') [bsd.rd] done Ready to install sets? [y] Getting bsd ... 100% |**************************************************| 2673 KB 00:14 Getting base33.tgz ... 100% |**************************************************| 31852 KB 04:36 Getting etc33.tgz ... 100% |**************************************************| 1475 KB 00:17 Getting misc33.tgz ... 100% |**************************************************| 1828 KB 00:16 Getting comp33.tgz ... 100% |**************************************************| 19147 KB 03:02 Getting man33.tgz ... 100% |**************************************************| 6154 KB 01:03 Sets can be located on a (m)ounted filesystem; a (c)drom, (d)isk or (t)ape device; or a (f)tp, (n)fs or (h)ttp server. Where are the install sets? (or 'done') done Saving configuration files...done. Generating initial host.random file...done. What timezone are you in? ('?' for list) [US/Pacific] ? Africa/ Chile/ GB-Eire Israel NZ-CHAT Turkey America/ Cuba GMT Jamaica Navajo UCT Antarctica/ EET GMT+0 Japan PRC US/ Arctic/ EST GMT-0 Kwajalein PST8PDT UTC Asia/ EST5EDT GMT0 Libya Pacific/ Universal Atlantic/ Egypt Greenwich MET Poland W-SU Australia/ Eire HST MST Portugal WET Brazil/ Etc/ Hongkong MST7MDT ROC Zulu CET Europe/ Iceland Mexico/ ROK posix/ CST6CDT Factory Indian/ Mideast/ Singapore posixrules Canada/ GB Iran NZ SystemV/ right/ What timezone are you in? ('?' for list) [US/Pacific] America What sub-timezone of 'America' are you in? ('?' for list) ? Adak Cuiaba Hermosillo Montevideo Santo_Domingo Anchorage Curacao Indiana/ Montreal Sao_Paulo Anguilla Danmarkshavn Indianapolis Montserrat Scoresbysund Antigua Dawson Inuvik Nassau Shiprock Araguaina Dawson_Creek Iqaluit New_York St_Johns Aruba Denver Jamaica Nipigon St_Kitts Asuncion Detroit Jujuy Nome St_Lucia Atka Dominica Juneau Noronha St_Thomas Barbados Edmonton Kentucky/ North_Dakota/ St_Vincent Belem Eirunepe Knox_IN Panama Swift_Current Belize El_Salvador La_Paz Pangnirtung Tegucigalpa Boa_Vista Ensenada Lima Paramaribo Thule Bogota Fort_Wayne Los_Angeles Phoenix Thunder_Bay Boise Fortaleza Louisville Port-au-Prince Tijuana Buenos_Aires Glace_Bay Maceio Port_of_Spain Tortola Cambridge_Bay Godthab Managua Porto_Acre Vancouver Cancun Goose_Bay Manaus Porto_Velho Virgin Caracas Grand_Turk Martinique Puerto_Rico Whitehorse Catamarca Grenada Mazatlan Rainy_River Winnipeg Cayenne Guadeloupe Mendoza Rankin_Inlet Yakutat Cayman Guatemala Menominee Recife Yellowknife Chicago Guayaquil Merida Regina Chihuahua Guyana Mexico_City Rio_Branco Cordoba Halifax Miquelon Rosario Costa_Rica Havana Monterrey Santiago What sub-timezone of 'America' are you in? ('?' for list) Chicago Setting local timezone to 'America/Chicago'...done. Making all device nodes...done. Installing boot block... boot: /mnt/boot proto: /mnt/usr/mdec/bootxx device: /dev/rsd0c architecture: sun4c /mnt/usr/mdec/bootxx: entry point 0x340000 /mnt/usr/mdec/bootxx: a.out header left on proto bootblock size 7680 room for 256 filesystem blocks at 0x341810 /mnt/boot: block numbers: 6032 6048 6064 6080 6096 6112 6128 550 CONGRATULATIONS! Your OpenBSD install has been successfully completed! To boot the new system, enter halt at the command prompt. Once the system has halted, reset the machine and boot from the disk. # halt syncing disks... done halted Program terminated Type help for more information ok reboot reboot ? ok boot Resetting ... SPARCstation 5, No Keyboard ROM Rev. 2.24, 64 MB memory installed, Serial #8061085. Ethernet address 8:0:20:7b:0:9d, Host ID: 807b009d. Rebooting with command: Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: >> OpenBSD BOOT 2.2 Booting bsd @ 0x4000 2501620+250692 [67+112832+95605] [ using 208960 bytes of bsd ELF symbol table ] console is ttya Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2003 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 3.3 (GENERIC) #14: Sat Mar 29 15:13:34 MST 2003 deraadt@sparc.openbsd.org:/usr/src/sys/arch/sparc/compile/GENERIC real mem = 66764800 avail mem = 58769408 using 200 buffers containing 3338240 bytes of memory bootpath: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@3, 0 mainbus0 (root): SUNW,SPARCstation-5 cpu0 at mainbus0: MB86904 @ 110 MHz, on-chip FPU cpu0: 16K instruction (32 b/l), 8K data (16 b/l) cache enabled obio0 at mainbus0 clock0 at obio0 addr 0x71200000: mk48t08 (eeprom) timer0 at obio0 addr 0x71d00000 delay constant 52 zs0 at obio0 addr 0x71100000 pri 12, softpri 6 zstty0 at zs0 channel 0 (console i/o) zstty1 at zs0 channel 1 zs1 at obio0 addr 0x71000000 pri 12, softpri 6 zskbd0 at zs1 channel 0: reset timeout zskbd0: no keyboard zstty2 at zs1 channel 1: mouse slavioconfig at obio0 addr 0x71800000 not configured auxreg0 at obio0 addr 0x71900000 power0 at obio0 addr 0x71910000 fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec iommu0 at mainbus0 addr 0x10000000: version 0x4/0x0, page-size 4096, range 64MB sbus0 at iommu0: clock = 22 MHz dma0 at sbus0 slot 5 offset 0x8400000: rev 2 esp0 at dma0 offset 0x8800000 pri 4: ESP200, 40MHz, SCSI ID 7 scsibus0 at esp0: 8 targets sd0 at scsibus0 targ 3 lun 0: SCSI2 0/direct fi xed sd0: 1042MB, 3835 cyl, 4 head, 139 sec, 512 bytes/sec, 2134305 sec total cd0 at scsibus0 targ 6 lun 0: SCSI2 5/cdrom re movable bpp0 at sbus0 slot 5 offset 0xc800000: DMA2 ledma0 at sbus0 slot 5 offset 0x8400010: rev 2 le0 at ledma0 offset 0x8c00000 pri 6: address 08:00:20:7b:00:9d le0: 16 receive buffers, 4 transmit buffers audiocs0 at sbus0 slot 4 offset 0xc000000 pri 9, softpri 4 audio0 at audiocs0 power-management at sbus0 slot 4 offset 0xa000000 not configured cgsix0 at sbus0 slot 1 offset 0x0: SUNW,501-2253, 1152x900, rev 11 wsdisplay0 at cgsix0 wsdisplay0: screen 0 added (std, sun emulation) cgsix1 at sbus0 slot 2 offset 0x0: SUNW,501-2325, 1152x900, rev 11 wsdisplay1 at cgsix1 wsdisplay1: screen 0 added (std, sun emulation) cgsix2 at sbus0 slot 3 offset 0x0: SUNW,501-2253, 1152x900, rev 11 wsdisplay2 at cgsix2 wsdisplay2: screen 0 added (std, sun emulation) root on sd0a rootdev=0x700 rrootdev=0x1100 rawdev=0x1102 Automatic boot in progress: starting file system checks. /dev/rsd0a: file system is clean; not checking /dev/rsd0f: file system is clean; not checking /dev/rsd0d: file system is clean; not checking /dev/rsd0e: file system is clean; not checking setting tty flags starting network writing to routing socket: File exists Internet Software Consortium DHCP Client 2.0pl5-OpenBSD Listening on BPF/le0/08:00:20:7b:00:9d Sending on BPF/le0/08:00:20:7b:00:9d Sending on Socket/fallback/fallback-net DHCPREQUEST on le0 to XXX.XXX.XXX.XXX port XX DHCPACK from XX.XXX.XXX.XX New Network Number: XX.XXX.XXX.X New Broadcast Address: XX.XXX.XXX.XXX bound to XX.XXX.XXX.XX -- renewal in 216000 seconds. add net default: gateway XX.XXX.XXX.X starting system logger starting rpc daemons:. savecore: no core dump checking quotas: done. building ps databases: kvm dev. clearing /tmp starting pre-securelevel daemons:. setting kernel security level: kern.securelevel: 0 -> 1 preserving editor files creating runtime link editor directory cache. ssh-keygen: generating new DSA host key... done. ssh-keygen: generating new RSA host key... done. ssh-keygen: generating new RSA1 host key... done. starting network daemons: sendmail inetd sshd. starting local daemons:. standard daemons: cron. Thu Jun 19 13:32:39 CDT 2003 OpenBSD/sparc (sparky.XXX.XXXXX) (console) login: root Password: Jun 19 13:32:54 sparky login: ROOT LOGIN (root) ON console OpenBSD 3.3 (GENERIC) #14: Sat Mar 29 15:13:34 MST 2003 Welcome to OpenBSD: The proactively secure Unix-like operating system. Please use the sendbug(1) utility to report bugs in the system. Before reporting a bug, please try to reproduce it with the latest version of the code. With bug reports, please try to ensure that enough information to reproduce the problem is enclosed, and if a known fix for it exists, include that as well. You have mail. Terminal type? [vt100] Don't login as root, use su sparky#