summaryrefslogtreecommitdiff
path: root/distrib/notes/sparc64
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-03-27 20:50:41 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-03-27 20:50:41 +0000
commit091404dc1fd548dc15067025c8a1cf7103784432 (patch)
tree25946e1f8b72f9c41268ab474d5bf627b1a5cd85 /distrib/notes/sparc64
parent74c5bcb31f697a53ddd7242a6a0d1da119f2b51f (diff)
Remove `installing from SunOS' and `installing from Solaris' instructions.
They are much more troublesome than using the miniroot, and if you're actually still running a SunOS setup in 2015, then you're me, and you don't need to be told this information anyway. Do not suggest disks might be shared between OpenBSD and SunOS or Solaris anymore. This is just asking for trouble.
Diffstat (limited to 'distrib/notes/sparc64')
-rw-r--r--distrib/notes/sparc64/install95
-rw-r--r--distrib/notes/sparc64/prep37
2 files changed, 2 insertions, 130 deletions
diff --git a/distrib/notes/sparc64/install b/distrib/notes/sparc64/install
index 0103f3b0b1b..d872e426ac7 100644
--- a/distrib/notes/sparc64/install
+++ b/distrib/notes/sparc64/install
@@ -1,4 +1,4 @@
-dnl $OpenBSD: install,v 1.49 2015/01/11 21:02:55 miod Exp $
+dnl $OpenBSD: install,v 1.50 2015/03/27 20:50:40 miod Exp $
OpenBSDInstallPrelude
There are several ways to install OpenBSD onto a disk. The easiest way
@@ -11,10 +11,6 @@ machine whose disk does not currently hold a usable operating system.
This is difficult to get set up correctly the first time, but easy to
use afterwards. (See ``Installing using a diskless setup'' below.)
-It is also possible to install OpenBSD "manually" from a running Solaris
-system, using the system tools, as well as gunzip; see ``Installing from
-Solaris'' below.
-
Booting from the Installation Media:
Prior to attempting an installation, you should make sure that everything
@@ -133,95 +129,6 @@ empty, value, type the following:
OpenBSDCongratulations
-Installing from Solaris:
-
-You need a machine running under Solaris to install OpenBSD. You will
-also need at least the following pieces:
-
- - the *.tgz files you want to install (as a minimum, base{:--:}OSrev.tgz and
- etc{:--:}OSrev.tgz)
- - gunzip (GNU gzip) Solaris binary
- - the OpenBSD boot blocks (bootblk and ofwboot)
- - an OpenBSD kernel
-
-All these pieces, except gunzip, are supplied in the OpenBSD/MACHINE
-distribution.
-
-You need to format and partition the disk using Solaris (since
-OpenBSD/MACHINE uses Sun compatible disk labels). Give yourself adequate
-partition sizes. Here is an example layout:
-
- solaris# prtvtoc -s /dev/rdsk/c0t1d0s2
- * First Sector Last
- * Partition Tag Flags Sector Count Sector Mount Directory
- 0 2 00 0 80000 79999 /
- 1 3 01 80000 256000 335999
- 2 5 00 0 4165271 4165270
- 3 7 00 336000 100000 435999 /tmp
- 4 7 00 436000 100000 535999 /var
- 5 7 00 536000 400000 935999 /var/tmp
- 6 4 00 936000 3229271 4165270 /usr
-
-Use Solaris to newfs the partitions which will have filesystems on them.
-(OpenBSD's filesystem format is almost identical to Solaris.)
-
- solaris# newfs /dev/rdsk/c0t1d0s0
- [... lots of output]
-
-Repeat for any other partition (in this example, /dev/rdsk/c0t1d0s3,
-/dev/rdsk/c0t1d0s4, /dev/rdsk/c0t1d0s5 and /dev/rdsk/c0t1d0s6).
-
-dnl XXX I had no time to check the -O restriction is still necessary.
-NOTE: If you are able to, there is a performance benefit from
-newfs'ing using OpenBSD. If you newfs using the OpenBSD newfs command,
-be sure to use the -O flag for your / partition, so that newfs will
-use the 4.3BSD filesystem format, rather than the new 4.4BSD filesystem
-format. If you forget, you will not be able to boot -- the Solaris boot
-blocks do not understand the extended 4.4BSD filesystem format.
-
-Mount those partitions in a tree formation, under /mnt; ie:
-
- solaris# df -k
- Filesystem kbytes used avail capacity Mounted on
- [...]
- /dev/dsk/c0t1d0s0 38427 0 38427 0% /mnt
- /dev/dsk/c0t1d0s3 48249 0 48249 0% /mnt/tmp
- /dev/dsk/c0t1d0s4 48249 0 48249 0% /mnt/var
- /dev/dsk/c0t1d0s5 193536 0 193536 0% /mnt/var/tmp
- /dev/dsk/c0t1d0s6 1564024 0 1564024 0% /mnt/usr
-
-Place the boot blocks in /mnt (your new root partition), and use the Solaris
-command "installboot" to make it work.
-The installboot man page says to do something like this:
-
- solaris# cp bootblk ofwboot /mnt
- solaris# sync; sync
- solaris# /usr/sbin/installboot /mnt/bootblk /dev/rdsk/c0t1d0s0
-
-You can now extract the provided "*.tgz" files onto your disk.
-
- solaris# ls -FC
- base{:--:}OSrev.tgz etc{:--:}OSrev.tgz xbase{:--:}OSrev.tgz xshare{:--:}OSrev.tgz
- bsd game{:--:}OSrev.tgz xfont{:--:}OSrev.tgz
- comp{:--:}OSrev.tgz man{:--:}OSrev.tgz xserv{:--:}OSrev.tgz
- solaris{:-#-:} gunzip < base{:--:}OSrev.tgz | (cd /mnt; tar xvpf -)
- [...] for each set
-
-And finally copy the OpenBSD kernel onto your disk.
-
- solaris# cp bsd /mnt/bsd
-
-The GNU gunzip program is not distributed as part of Solaris, but may be
-present in your /usr/local/bin. If not, you will need to obtain it from a
-GNU archive and install before proceeding.
-
-After the files have been extracted, set up /mnt/etc/fstab to match
-your actual disk layout. (Minus the "/mnt" component of each path, of
-course :-)
-
-Now proceed to reboot the machine and the customize your installation.
-
-
Net Boot or Diskless Setup Information:
The set up is similar to the diskless setup, but not identical, because
diff --git a/distrib/notes/sparc64/prep b/distrib/notes/sparc64/prep
index a3925e6feac..dc0a77b5879 100644
--- a/distrib/notes/sparc64/prep
+++ b/distrib/notes/sparc64/prep
@@ -1,4 +1,4 @@
-dnl $OpenBSD: prep,v 1.24 2014/01/09 19:44:49 miod Exp $
+dnl $OpenBSD: prep,v 1.25 2015/03/27 20:50:40 miod Exp $
If your UltraSPARC machine is somewhat old, it might need a firmware update
before it can be used under OpenBSD. You are advised to try to install
OpenBSD first; if it can't boot or fails mysteriously, you might need to
@@ -11,41 +11,6 @@ of the OpenBOOT ROM. Make sure that the ROM security modes are disabled:
ok setenv security-mode none
-Please note that while OpenBSD and Solaris have a reasonable degree of
-compatibility between disk labels and filesystems there are some problems
-to watch out for during initial installation or when trying to maintain
-both OpenBSD and Solaris environments on the same system.
-
- If the OpenBSD fsck(8) utility is used on a Solaris filesystem, it will
- set OpenBSD "clean flags" and BSD4.4 summary fields in the superblock.
- Solaris does *not* like this and you will have to do a "fsck -b 32" under
- Solaris to access an alternate superblock to repair the filesystem. You
- should always specify Solaris filesystems with a "pass number" of 0 in
- their /etc/fstab entry to prevent this, and preferably mount them "RO".
-
- If Solaris fsck is used on an OpenBSD filesystem in the default OpenBSD
- (4.4BSD) format, it will first complain about the superblock and then
- about missing . and .. entries. Do *not* try to "correct" these
- problems, as attempting to do so will completely trash the filesystem.
-
- You should avoid using soft updates (option softdep in /etc/fstab)
- on your shared filesystems. Although untested, it is likely that
- Solaris would be confused by a filesystem with soft update flags
- enabled.
-
-The OpenBSD "Sun Compatible" disklabel has been extended to support 16
-partitions, which may be compatible with Solaris, but Solaris only sees
-the first 8 partitions and may "lose" information about the extended
-partitions.
-
-
-
-OpenBSD and Sun bootblocks are similar in concept, though implemented
-differently. The OpenBSD bootblocks are architecture independent and also
-understand the extended disk labels with 16 partitions. You can use Solaris
-bootblocks, but remember that OpenBSD bootblocks must be installed with
-OpenBSD installboot and Solaris bootblocks with Solaris installboot.
-
Most of the new Ultras shipped by Sun (or Oracle) with a preinstalled Solaris
have an initial specific factory setup of the boot ROM, in order to start up
Solaris WebStart at the first boot; the boot-device variable is set to