diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-03-27 20:50:41 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-03-27 20:50:41 +0000 |
commit | 091404dc1fd548dc15067025c8a1cf7103784432 (patch) | |
tree | 25946e1f8b72f9c41268ab474d5bf627b1a5cd85 /distrib | |
parent | 74c5bcb31f697a53ddd7242a6a0d1da119f2b51f (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')
-rw-r--r-- | distrib/notes/sparc/install | 188 | ||||
-rw-r--r-- | distrib/notes/sparc/prep | 35 | ||||
-rw-r--r-- | distrib/notes/sparc64/install | 95 | ||||
-rw-r--r-- | distrib/notes/sparc64/prep | 37 |
4 files changed, 3 insertions, 352 deletions
diff --git a/distrib/notes/sparc/install b/distrib/notes/sparc/install index f59a0a91b57..1f2f9fbdadd 100644 --- a/distrib/notes/sparc/install +++ b/distrib/notes/sparc/install @@ -1,4 +1,4 @@ -dnl $OpenBSD: install,v 1.77 2015/03/27 20:40:36 miod Exp $ +dnl $OpenBSD: install,v 1.78 2015/03/27 20:50:40 miod Exp $ OpenBSDInstallPrelude({:-SMD disks-:}) There are several ways to install OpenBSD onto a disk. The normal way @@ -15,11 +15,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 SunOS -or Solaris system, using the system tools, as well as gunzip (and gnu tar -on SunOS); see ``Installing from SunOS'' or ``Installing from Solaris'' -below. - Booting from the Installation Media: @@ -196,187 +191,6 @@ the OpenBSD boot blocks will look for "bsd" on the boot device by default. OpenBSDCongratulations -Installing from SunOS: - -You need a SunOS machine to install OpenBSD. You 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) SunOS binary - - gtar (GNU tar) SunOS binary - - a "/boot" file from a SunOS machine that matches your machine type - (e.g. sun4m or sun4c) - - an OpenBSD kernel, most likely "/bsd" - -All these pieces, except "/boot" and the GNU utilities, are supplied in -the OpenBSD/MACHINE distribution. - -You need to format and partition the disk using SunOS (since -OpenBSD/MACHINE uses SunOS disk labels.) Give yourself adequate -partition sizes. Here is an example layout: - - partition size offset will be.. - sd0a 80000 0 / - sd0b 256000 80000 swap - sd0c 4165271 0 `whole disk' - sd0d 100000 436000 /var - sd0f 100000 336000 /tmp - sd0g 3229271 936000 /usr - sd0h 400000 536000 /var/tmp - -Use SunOS to newfs the partitions which will have filesystems on them. -(OpenBSD's filesystem format is almost identical to SunOS.) - - sunos# newfs /dev/rsd0a - [... lots of output] - -Repeat for any other partition (in this example, /dev/rsd0d, /dev/rsd0f, -/dev/rsd0g, /dev/rsd0h). - -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 SunOS boot -blocks do not understand the extended 4.4BSD filesystem format. - -Mount those partitions in a tree formation, under /mnt; ie: - - sunos# df - Filesystem kbytes used avail capacity Mounted on - [...] - /dev/sd0a 38427 0 38427 0% /mnt - /dev/sd0d 48249 0 48249 0% /mnt/var - /dev/sd0f 48249 0 48249 0% /mnt/tmp - /dev/sd0g 1564024 0 1564024 0% /mnt/usr - /dev/sd0h 193536 0 193536 0% /mnt/var/tmp - -Place a standard SunOS "boot" program in /mnt (your new root -partition), and use the SunOS command "installboot" to make it work. -The installboot man page says to do something like this: - - sunos# cp /usr/mdec/sdboot /mnt/boot - sunos# sync; sync - sunos# /usr/mdec/installboot -vlt /mnt/boot /usr/mdec/bootsd /dev/rsd2a - -You can now extract the provided "*.tgz" files onto your disk. - - sunos# ls -FC - base{:--:}OSrev.tgz comp{:--:}OSrev.tgz man{:--:}OSrev.tgz xfont{:--:}OSrev.tgz - bsd etc{:--:}OSrev.tgz xbase{:--:}OSrev.tgz xserv{:--:}OSrev.tgz - bsd.rd game{:--:}OSrev.tgz xetc{:--:}OSrev.tgz xshare{:--:}OSrev.tgz - sunos{:-#-:} gunzip < base{:--:}OSrev.tgz | (cd /mnt; gtar xvpf -) - [...] for each set - -And finally copy the OpenBSD kernel onto your disk. - - sunos# cp bsd /mnt/bsd - -The GNU gunzip and gtar programs are not distributed as part of SunOS, -but may be present in your /usr/local/bin. If not, you will need to -obtain them from a GNU archive and install before proceeding. The -OpenBSD tar files are in the "new format" that includes directory -information, and the standard SunOS tar will not extract from them -successfully. - -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 then customize your installation. - - -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 -- a boot block file from a Solaris machine that matches your machine type, - for ufs filesystem, such as /usr/platform/`uname -i`/lib/fs/ufs/bootblk -- an OpenBSD kernel, most likely "/bsd" - -All these pieces, except the boot block and the GNU utilities, 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 block 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 /usr/platform/`uname -i`/lib/fs/ufs/bootblk /mnt/bootblk - 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 comp{:--:}OSrev.tgz man{:--:}OSrev.tgz xfont{:--:}OSrev.tgz - bsd etc{:--:}OSrev.tgz xbase{:--:}OSrev.tgz xserv{:--:}OSrev.tgz - bsd.rd game{:--:}OSrev.tgz xetc{:--:}OSrev.tgz xshare{:--:}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 then customize your installation. - - Net Boot or Diskless Setup Information: The set up is similar to SunOS diskless setup, but not identical, because diff --git a/distrib/notes/sparc/prep b/distrib/notes/sparc/prep index 8d76a071c91..9849a6ab983 100644 --- a/distrib/notes/sparc/prep +++ b/distrib/notes/sparc/prep @@ -67,38 +67,3 @@ or on an installed system use the eeprom(8) command: # eeprom 'auto-boot?=true' -Please note that while OpenBSD and SunOS 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 SunOS environments on the same system. - - If the OpenBSD fsck(8) utility is used on a SunOS filesystem, it will - set OpenBSD "clean flags" and BSD4.4 summary fields in the superblock. - SunOS does *not* like this and you will have to do a "fsck -b 32" under - SunOS to access an alternate superblock to repair the filesystem. You - should always specify SunOS filesystem with a "pass number" of 0 in - their /etc/fstab entry to prevent this, and preferably mount them "RO". - - If SunOS 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 SunOS 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 and SunOS, but they will -only see the first 8 partitions and you may "lose" information about the -extended partitions. - - -OpenBSD and Sun BSD 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 SunOS -bootblocks, but remember that OpenBSD bootblocks must be installed with -OpenBSD installboot and SunOS bootblocks with SunOS installboot. - - 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 |