diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-04-24 23:07:55 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-04-24 23:07:55 +0000 |
commit | 7130762138f6d50c1bffba41258e982633914368 (patch) | |
tree | 1eff6513763a3215bfd9c1a14b91acc45af47c44 /distrib/notes/sparc | |
parent | 03878c349fb3106f7967c743982233076f71c5ca (diff) |
Update supported hardware list, fix typos, use m4.common macros
whenever possible, remove obsolete information, etc.
ok fries@
Diffstat (limited to 'distrib/notes/sparc')
-rw-r--r-- | distrib/notes/sparc/contents | 2 | ||||
-rw-r--r-- | distrib/notes/sparc/install | 109 | ||||
-rw-r--r-- | distrib/notes/sparc/prep | 6 | ||||
-rw-r--r-- | distrib/notes/sparc/upgrade | 12 | ||||
-rw-r--r-- | distrib/notes/sparc/xfer | 19 |
5 files changed, 50 insertions, 98 deletions
diff --git a/distrib/notes/sparc/contents b/distrib/notes/sparc/contents index 1909dfe08e2..c6140f5a967 100644 --- a/distrib/notes/sparc/contents +++ b/distrib/notes/sparc/contents @@ -13,7 +13,7 @@ OpenBSDrd bsd.scsi3 A kernel with SCSI target 3 re-mapped as 0 and 0 mapped as 3. - installboot The OpenBSD/sparc boot loader installation` + installboot The OpenBSD/sparc boot loader installation program bootxx The OpenBSD/sparc boot block boot The OpenBSD/sparc secondary boot loader diff --git a/distrib/notes/sparc/install b/distrib/notes/sparc/install index c4122684f61..e741c90a244 100644 --- a/distrib/notes/sparc/install +++ b/distrib/notes/sparc/install @@ -1,10 +1,9 @@ -Installing OpenBSD is a relatively complex process, but if you have -this document in hand it shouldn't be too much trouble. +OpenBSDInstallPrelude There are several ways to install OpenBSD onto a disk. The easiest way in terms of preliminary setup is to use the OpenBSD miniroot that can be booted off your local disk's swap partition. The normal way is to -use the OpenBSD installation floppy. +use the OpenBSD installation floppy, or an installation tape. If your Sparc is hooked up in a network and you can find a server to arrange for a diskless setup, which is a convenient way to install on a @@ -13,24 +12,8 @@ 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 -system, using SunOS tools and gnu tar and gunzip (see ``Installing from SunOS'' -below). - - -This section of the install document is really broken into several parts: - - - booting from the installation media - - the floppy or miniroot install script - - after completing an installation - - installing from Sun OS - - net boot or diskless setup information - -The first section gets you up to the point where you've booted the kernel -from whatever media, to where you have to respond to prompts from the -install script(s). The next two sections describe the path through the -install scripts, and the remainder are notes which might be useful, but -outside the bounds of simple "how to" instructions. - +system, using SunOS tools and gnu tar and gunzip (see ``Installing from +SunOS'' below). Booting from the Installation Media: @@ -41,8 +24,8 @@ does not necessarily wipe out all the partitions on the hard disk, errors during the install process can have unforeseen consequences and you will probably render the system unbootable if you start, but do not complete the installation. Having the installation media for the prior installation, -be it a SunOS or OpenBSD CD-ROM or OpenBSD install diskettes is good insurance -if you want to be able to "go back" for some reason. +be it a SunOS or OpenBSD CD-ROM or OpenBSD install diskettes is good +insurance if you want to be able to "go back" for some reason. After taking care of all that, bring your system down gracefully using the shutdown(8) and/or halt(8) commands. This will get you to the monitor @@ -84,10 +67,6 @@ Booting from Floppy Disk installation media: ok boot floppy bsd # for version 2 OpenBOOT ROMs This will cause the kernel contained in the floppy to be booted. -After the kernel loads, it will eject the bootable floppy and prompt -for a filesystem floppy - for the two floppy installation insert -the appropriate filesystem floppy, for the ramdisk installation, -just hit return, the filesystem image is internal to the kernel. After the initial device probe messages you'll asked to start the install or upgrade procedure. Proceed to the section ``Running the @@ -108,8 +87,8 @@ activity, but no messages or complaints about magic numbers, checksums or formats. Not all sparc systems support bootable CDROMS and the current -boot image is only known to work on sun4c architectures. If it -does not work, you'll have to create a boot floppy or bootable +boot image is only known to work on sun4c and sun4m architectures. +If it does not work, you'll have to create a boot floppy or bootable hard disk using the instructions under preparing boot media. After the initial device probe messages you'll asked to start the @@ -117,7 +96,7 @@ install or upgrade procedure. Proceed to the section ``Running the installation scripts'' below. -Booting from SCSI disk (miniroot or floppy image) +Booting from SCSI disk (miniroot or floppy image): Boot the miniroot by typing the appropriate command at the PROM: @@ -146,7 +125,7 @@ install or upgrade procedure. Proceed to the section ``Running the installation scripts'' below. -Booting from SCSI tape +Booting from SCSI tape: Boot the miniroot by typing the appropriate command at the PROM: @@ -174,7 +153,7 @@ install or upgrade procedure. Proceed to the section ``Running the installation scripts'' below. -Installing using a diskless setup. +Installing using a diskless setup: First, you must setup a diskless client configuration on a server. If you are using a OpenBSD system as the boot-server, have a look at the @@ -200,13 +179,7 @@ scripts'' below. Installing using the Floppy, CD-ROM, tape, miniroot or netboot procedure: -The following is a walk-through of the steps you will take while -getting OpenBSD installed on your hard disk. If any question has a -default answer, it will be displayed in brackets ("[]") after the -question. If you wish to stop the installation, you may hit Control-C -at any time, but if you do, you may have to begin the installation -process again from scratch. Using Control-Z to suspend the process -may be a better option. +OpenBSDInstallPart2 Boot your machine from the installation media as described above. @@ -217,14 +190,7 @@ may be a better option. is bad, your diskless setup isn't correct, or you may have a hardware or configuration problem. - You will then be presented with the OpenBSD kernel boot - messages. You will want to read them to determine your - disk's name and geometry. Its name will be something like - "sd0" or "wd0" and the geometry will be printed on a line that - begins with its name. As mentioned above, you will need your - disk's geometry when creating OpenBSD partitions. You will - also need to know the device name to tell the install tools - what disk to install on. +OpenBSDBootMsgs While booting, you will probably see several warnings. You may be warned that the kernel can't figure out what device @@ -241,10 +207,7 @@ may be a better option. installing from a keyboard/monitor console, the default of "sun" if correct. If you are installing from a serial console you should choose the terminal type from amongst those listed. - (If your terminal type is xterm, just use vt100). Next you - will be prompted for a choice of which text editor to use at - several places in the install script. You will probably want - to use "vi" if your terminal supports this. + (If your terminal type is xterm, just use vt100). After entering the terminal type you will be greeted by a welcome message and asked if you really want to continue. @@ -390,10 +353,6 @@ In order to use 'tip' on OpenBSD/sparc, you'll need to edit /etc/ttys and add "local" to the end of the tty configuration line, and run 'ttyflags -a' to put your changes into effect. -On installing X11 for OpenBSD/sparc, you may wish to add a line similar to -'ldconfig /usr/X11R6/lib' to the end of your /etc/rc.local file. This will -add the X libraries to your dynamic linking search path at boot time. - If you are unfamiliar with UN*X-like system administration, it's recommended that you buy a book that discusses it. @@ -404,7 +363,8 @@ 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) + 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 @@ -419,21 +379,22 @@ OpenBSD/sparc uses SunOS disk labels.) Give yourself adequate partition sizes. Here is an example layout: partition size offset will be.. - sd2a 28140 0 / - sd2b 16170 28140 swap - sd2c 204540 0 `whole disk' - sd2g 160230 44310 /usr - -BTW, These are not recommended sizes. They simply match the first -(tiny) disk that OpenBSD/sparc ran on. + 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 identical to SunOS). - sunos# newfs /dev/rsd2a - [... lots of output] - sunos# newfs /dev/rsd2g + 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, @@ -447,8 +408,11 @@ Mount those partitions in a tree formation, under /mnt; ie: sunos# df Filesystem kbytes used avail capacity Mounted on [...] - /dev/sd2a 11501 0 11501 0% /mnt - /dev/sd2g 179529 0 179529 0% /mnt/usr + /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. @@ -472,10 +436,11 @@ And finally copy an OpenBSD kernel (either bsd or bsd.scsi3) onto your disk. sunos# cp bsd.scsi3 /mnt/bsd The GNU gunzip and gtar programs are not distributed as part of SunOS, -but may be present in your 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. +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, setup /mnt/etc/fstab to match your actual disk layout. (Minus the "/mnt" component of each path, of diff --git a/distrib/notes/sparc/prep b/distrib/notes/sparc/prep index bf973a767ef..8475815a6fe 100644 --- a/distrib/notes/sparc/prep +++ b/distrib/notes/sparc/prep @@ -80,14 +80,14 @@ both OpenBSD and SunOS environments on the same system. 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 the new OpenBSD "-s enable" option to the - "tunefs" command, which enable the soft update feature. + 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 have been extended to support 16 partitions, which may be compatible with Solaris, but the old SunOS -format(8) utility only sees the first 8 partititions and may "lose" +format(8) utility only sees the first 8 partitions and may "lose" information about the extended partitions. Use SunOS format(8) only with *extreme* caution on drives that contain diff --git a/distrib/notes/sparc/upgrade b/distrib/notes/sparc/upgrade index b9682976f4d..b7ee9ee41a7 100644 --- a/distrib/notes/sparc/upgrade +++ b/distrib/notes/sparc/upgrade @@ -1,11 +1 @@ -To upgrade to OpenBSD OSREV from a previous version start with the general -instructions in the section "Installing OpenBSD". - -If you are upgrading with the miniroot or the new single floppy image, -select the (U)pdate option rather than the (I)nstall option at the prompt -in the install process. - -The upgrade script will use the existing disk partitions to install the -new system in, and also preserves files in `/etc' which you are likely -to have customized since a previous installation. - +OpenBSDUpgrade({:- or the installation floppy-:}) diff --git a/distrib/notes/sparc/xfer b/distrib/notes/sparc/xfer index b5228455ce8..41a53611a28 100644 --- a/distrib/notes/sparc/xfer +++ b/distrib/notes/sparc/xfer @@ -8,17 +8,15 @@ Installation is supported from several media types, including: HTTP Not all methods are supported on all Sparc Systems and some of them -work only with the single-floppy installation or the miniroot -installation. - +work only with the floppy or the miniroot installation. If you have the OpenBSD CD-ROM distribution (and a CD-ROM drive), you may be able boot from it. Not all sparc systems support booting from -CD-ROM and the current boot images is only known to work on Sun4c -architecture workstations such as the IPC, SS1 or SS2. If you can boot -from the CD-ROM, you are home free and can proceed to the installation -steps. If not, you will need to do some setup work to prepare a bootable -image, either a floppy, hard drive, or compatible net boot server. +CD-ROM and the current boot images is only known to work on sun4c and +some sun4m architecture workstations. If you can boot from the CD-ROM, +you are home free and can proceed to the installation steps. If not, +you will need to do some setup work to prepare a bootable image, either +a floppy, hard drive, or compatible net boot server. In addition to the bootable image, you also need to consider how to access the binary distribution sets to actually install the system. If @@ -61,7 +59,7 @@ Creating a bootable floppy disk using DOS/Windows: errors. Note that if you are using NT to write the images to disk, you - will need to use ntrw.exe instead. It is also availible in the + will need to use ntrw.exe instead. It is also available in the "tools" directory. Grab it and run in with the correct arguments like this "ntrw <image> <drive>:" @@ -273,7 +271,7 @@ NFS, you must do the following: (Both of these actions will probably require superuser privileges on the server.) - You need to know the the numeric IP address of the NFS server, + You need to know the numeric IP address of the NFS server, and, if the server is not on a network directly connected to the machine on which you're installing or upgrading OpenBSD, you need to know the numeric IP address of the router closest @@ -302,4 +300,3 @@ following: Once you have done this, you can proceed to the next step in the upgrade process, actually upgrading your system. - |