(I)nstall, (U)pgrade or (S)hell? i Welcome to the OpenBSD/i386 3.9 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? [vt220] kbd(8) mapping? ('L' for list) [none] 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? [no] yes 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: wd0 wd1. Which one is the root disk? (or 'done') [done] wd0 Do you want to use *all* of wd0 for OpenBSD? [no] yes Putting all of wd0 into an active OpenBSD MBR partition (type 'A6')...done. You will now create an OpenBSD disklabel inside the OpenBSD MBR partition. The disklabel defines how OpenBSD splits up the MBR partition into OpenBSD partitions in which filesystems and swap space are created. The offsets used in the disklabel are ABSOLUTE, i.e. relative to the start of the disk, NOT the start of the OpenBSD MBR partition. # Inside MBR partition 3: type A6 start 63 size 241248042 Treating sectors 63-241248105 as the OpenBSD portion of the disk. You can use the 'b' command to change this. Initial label editor (enter '?' for help at any prompt) > p device: /dev/rwd0c type: ESDI disk: ESDI/IDE disk label: IC35L120AVV207-0 bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 241254720 free sectors: 441 rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 2096577 63 4.2BSD 2048 16384 328 b: 8388576 2096640 swap c: 241254720 0 unused 0 0 d: 8387568 10485216 4.2BSD 2048 16384 328 e: 33554304 18872784 4.2BSD 2048 16384 328 f: 33554304 52427088 4.2BSD 2048 16384 328 g: 33554304 85981392 4.2BSD 2048 16384 328 h: 33554304 119535696 4.2BSD 2048 16384 328 i: 52429104 153090000 4.2BSD 2048 16384 328 j: 33554304 205519104 4.2BSD 2048 16384 328 k: 2174256 239073408 4.2BSD 2048 16384 328 > p gb device: /dev/rwd0c type: ESDI disk: ESDI/IDE disk label: IC35L120AVV207-0 bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total bytes: 115.0G free bytes: 0.0G rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 1.0G 0.0G 4.2BSD 2048 16384 328 b: 4.0G 1.0G swap c: 115.0G 0.0G unused 0 0 d: 4.0G 5.0G 4.2BSD 2048 16384 328 e: 16.0G 9.0G 4.2BSD 2048 16384 328 f: 16.0G 25.0G 4.2BSD 2048 16384 328 g: 16.0G 41.0G 4.2BSD 2048 16384 328 h: 16.0G 57.0G 4.2BSD 2048 16384 328 i: 25.0G 73.0G 4.2BSD 2048 16384 328 j: 16.0G 98.0G 4.2BSD 2048 16384 328 k: 1.0G 114.0G 4.2BSD 2048 16384 328 > q No label changes. Mount point for wd0d (size=4193784k)? (or 'none' or 'done') /tmp Mount point for wd0e (size=16777152k)? (or 'none' or 'done') /var Mount point for wd0f (size=16777152k)? (or 'none' or 'done') /var/db Mount point for wd0g (size=16777152k)? (or 'none' or 'done') /var/www Mount point for wd0h (size=16777152k)? (or 'none' or 'done') /usr Mount point for wd0i (size=26214552k)? (or 'none' or 'done') /home Mount point for wd0j (size=16777152k)? (or 'none' or 'done') /mail Mount point for wd0k (size=1087128k)? (or 'none' or 'done') /altroot Mount point for wd0d (size=4193784k)? (or 'none' or 'done') [/tmp] done Available disks are: wd1. Which one do you wish to initialize? (or 'done') [done] OpenBSD filesystems: wd0a / wd0d /tmp wd0e /var wd0f /var/db wd0g /var/www wd0h /usr wd0i /home wd0j /mail wd0k /altroot The next step *DESTROYS* all existing data on these partitions! Are you really sure that you're ready to proceed? [no] yes /dev/rwd0a: 2096576 sectors in 2080 cylinders of 16 tracks, 63 sectors 1023.7MB in 7 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0d: 8387568 sectors in 8321 cylinders of 16 tracks, 63 sectors 4095.5MB in 26 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0e: 33554304 sectors in 33288 cylinders of 16 tracks, 63 sectors 16383.9MB in 102 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0f: 33554304 sectors in 33288 cylinders of 16 tracks, 63 sectors 16383.9MB in 102 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0g: 33554304 sectors in 33288 cylinders of 16 tracks, 63 sectors 16383.9MB in 102 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0h: 33554304 sectors in 33288 cylinders of 16 tracks, 63 sectors 16383.9MB in 102 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0i: 52429104 sectors in 52013 cylinders of 16 tracks, 63 sectors 25600.1MB in 159 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0j: 33554304 sectors in 33288 cylinders of 16 tracks, 63 sectors 16383.9MB in 102 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0k: 2174256 sectors in 2157 cylinders of 16 tracks, 63 sectors 1061.6MB in 7 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/wd0a on /mnt type ffs (rw, asynchronous, local, ctime=Tue Jun 12 17:43:27 2007) /dev/wd0k on /mnt/altroot type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Tue Jun 12 17:43:27 2007) /dev/wd0i on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Tue Jun 12 17:43:27 2007) /dev/wd0j on /mnt/mail type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Tue Jun 12 17:43:27 2007) /dev/wd0d on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Tue Jun 12 17:43:28 2007) /dev/wd0h on /mnt/usr type ffs (rw, asynchronous, local, nodev, ctime=Tue Jun 12 17:43:28 2007) /dev/wd0e on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Tue Jun 12 17:43:28 2007) /dev/wd0f on /mnt/var/db type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Tue Jun 12 17:43:28 2007) /dev/wd0g on /mnt/var/www type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Tue Jun 12 17:43:28 2007) System hostname? (short form, e.g. 'foo') hobbes Configure the network? [yes] Available interfaces are: rl0. Which one do you wish to initialize? (or 'done') [rl0] Symbolic (host) name for rl0? [hobbes] The media options for rl0 are currently media: Ethernet autoselect Do you want to change the media options? [no] IPv4 address for rl0? (or 'none' or 'dhcp') 69.63.196.100 Netmask? [255.255.255.0] 255.255.255.224 IPv6 address for rl0? (or 'rtsol' or 'none') [none] No more interfaces to initialize. DNS domain name? (e.g. 'bar.com') [my.domain] surfutopia.net DNS nameserver? (IP address or 'none') [none] 69.63.196.99 Use the nameserver now? [yes] Default IPv4 route? (IPv4 address, 'dhcp' or 'none') 69.63.196.97 add net default: gateway 69.63.196.97 Edit hosts with ed? [no] Do you want to do any manual network configuration? [no] Password for root account? (will not echo) Password for root account? (again) Let's install the sets! Location of sets? (cd disk ftp http or 'done') [cd] Available CD-ROMs are: cd0. Which one contains the install media? (or 'done') [cd0] Pathname to the sets? (or 'done') [3.9/i386] Select sets by entering a set name, a file name pattern or 'all'. De-select sets by prepending a '-' to the set name, file name pattern or 'all'. Selected sets are labelled '[X]'. [X] bsd [X] bsd.rd [ ] bsd.mp [X] base39.tgz [X] etc39.tgz [X] misc39.tgz [X] comp39.tgz [X] man39.tgz [X] game39.tgz [ ] xbase39.tgz [ ] xetc39.tgz [ ] xshare39.tgz [ ] xfont39.tgz [ ] xserv39.tgz Set name? (or 'done') [bsd.mp] done