Home | History | Annotate | Line # | Download | only in mvme68k
install revision 1.2
      1  1.1  scw Installing NetBSD is a relatively complex process, but if you have
      2  1.1  scw this document in hand it should not be too difficult.
      3  1.1  scw 
      4  1.1  scw There are several ways to install NetBSD onto your disk.  If your
      5  1.1  scw machine has a tape drive the easiest way is "Installing from tape"
      6  1.1  scw (details below). If your machine is on a network with a suitable
      7  1.1  scw NFS server, then "Installing from NFS" is the next best method.
      8  1.1  scw Otherwise, if you have another VME147 machine running NetBSD you can
      9  1.1  scw initialize the disk on that machine and then move the disk.
     10  1.1  scw 
     11  1.1  scw 
     12  1.1  scw * Installing from tape:
     13  1.1  scw 
     14  1.1  scw Create the NetBSD/mvme68k _VER boot tape as described in the section
     15  1.1  scw entitled "Preparing a boot tape". Then, with the tape in the drive,
     16  1.1  scw type the following at the 147Bug prompt:
     17  1.1  scw 
     18  1.1  scw -->     147-Bug> bo 5
     19  1.1  scw 
     20  1.1  scw As mentioned earlier, this assumes your tape is jumpered for SCSI-id 5.
     21  1.1  scw 
     22  1.1  scw As the tape loads (which may take 20 to 30 seconds), you will see a
     23  1.1  scw series of status messages. It may be useful if you can capture these
     24  1.1  scw messages to a file, or a scrollable xterm window. In particular, you
     25  1.1  scw should make a note of the lines which describe the geometry of the
     26  1.1  scw SCSI disks detected by NetBSD. They are of the form:
     27  1.1  scw 
     28  1.1  scw sd0 at scsibus0 targ 0 lun 0: <CDC, 94161-9, 2506> SCSI1 0/direct fixed
     29  1.1  scw sd0: 148MB, 967 cyl, 9 head, 35 sec, 512 bytes/sect x 304605 sectors
     30  1.1  scw 
     31  1.1  scw The information of most interest is the number of sectors; here it's
     32  1.1  scw 304605. You will need this number when you come to create a disklabel
     33  1.1  scw for that drive.
     34  1.1  scw 
     35  1.1  scw [ START OF STATUS MESSAGES ]
     36  1.1  scw 
     37  1.1  scw RAM address from VMEbus = $00000000
     38  1.1  scw 
     39  1.1  scw Booting from: VME147, Controller 5, Device 0
     40  1.1  scw Loading: Operating System
     41  1.1  scw 
     42  1.1  scw Volume: NBSD
     43  1.1  scw 
     44  1.1  scw IPL loaded at:  $003F0000
     45  1.1  scw >> BSD MVME147 tapeboot [$Revision: 1.2 $]
     46  1.1  scw 578616+422344+55540+[46032+51284]=0x11a6e4
     47  1.1  scw Start @ 0x8000 ...
     48  1.1  scw Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.  All rights reserved.
     49  1.1  scw Copyright (c) 1982, 1986, 1989, 1991, 1993
     50  1.1  scw     The Regents of the University of California.  All rights reserved.
     51  1.1  scw 
     52  1.1  scw NetBSD 1.3 (RAMDISK) #1: Sun Dec 21 16:19:04 GMT 1997
     53  1.1  scw     steve (a] soapy.mctavish.demon.co.uk:/usr/src/sys/arch/mvme68k/compile/RAMDISK
     54  1.1  scw Motorola MVME-147S: 25MHz MC68030 CPU+MMU, MC68882 FPU
     55  1.1  scw real mem  = 7237632
     56  1.1  scw avail mem = 6381568
     57  1.1  scw using 88 buffers containing 360448 bytes of memory
     58  1.1  scw mainbus0 (root)
     59  1.1  scw pcc0 at mainbus0: Peripheral Channel Controller, rev 0, vecbase 0x40
     60  1.1  scw clock0 at pcc0 offset 0x0 ipl 5: Mostek MK48T02, 2048 bytes of NVRAM
     61  1.1  scw   .
     62  1.1  scw   .
     63  1.1  scw 
     64  1.1  scw [ END OF STATUS MESSAGES ]
     65  1.1  scw 
     66  1.1  scw Note that the exact text of the messages will vary depending on which
     67  1.1  scw MVME147 variant you're using.
     68  1.1  scw 
     69  1.1  scw Finally, you will see the following "welcome" message:
     70  1.1  scw 
     71  1.1  scw [ START OF WELCOME MESSAGE ]
     72  1.1  scw 
     73  1.1  scw         Welcome to the NetBSD/mvme68k RAMDISK root!
     74  1.1  scw 
     75  1.1  scw This environment is designed to do only four things:
     76  1.1  scw   1:  Partititon your disk (use the command:  edlabel /dev/rsd0c)
     77  1.1  scw   2:  Copy a miniroot image into the swap partition  (/dev/rsd0b)
     78  1.1  scw   3:  Make that partition bootable (using 'installboot')
     79  1.1  scw   4:  Reboot (using the swap partition, i.e. /dev/sd0b).
     80  1.1  scw 
     81  1.1  scw Copying the miniroot can be done several ways, allowing the source
     82  1.1  scw of the miniroot image to be on any of these:
     83  1.1  scw     boot tape,  NFS server, TFTP server, rsh server
     84  1.1  scw 
     85  1.1  scw The easiest is loading from tape, which is done as follows:
     86  1.1  scw         mt -f /dev/nrst0 rewind
     87  1.1  scw         mt -f /dev/nrst0 fsf 3
     88  1.1  scw         dd bs=8k if=/dev/nrst0 of=/dev/rsd0b
     89  1.1  scw (For help with other methods, please see the install notes.)
     90  1.1  scw 
     91  1.1  scw To reboot using the swap partition after running installboot, first
     92  1.1  scw use "halt", then at the Bug monitor prompt use a command like:
     93  1.1  scw         bo 0,,b:
     94  1.1  scw 
     95  1.1  scw To view this message again, type:  cat /.welcome
     96  1.1  scw ssh:
     97  1.1  scw 
     98  1.1  scw [ END OF WELCOME MESSAGE ]
     99  1.1  scw 
    100  1.1  scw You must now create a disklabel on the disk you wish to use for the
    101  1.1  scw root filesystem. This will usually be 'sd0'. The disklabel is used by
    102  1.1  scw NetBSD to identify the starting block and size of each partition on
    103  1.1  scw the disk.
    104  1.1  scw 
    105  1.1  scw Partitions are named 'sd0a', 'sd0b', 'sd0c' etc, up to 'sd0h'. The
    106  1.1  scw mvme68k port of NetBSD makes some assumptions about the first three
    107  1.1  scw partitions on a boot disk:
    108  1.1  scw 
    109  1.1  scw         sd0a    The root filesystem.
    110  1.1  scw         sd0b    The swap partition.
    111  1.1  scw         sd0c    The whole disk. Also known as the Raw Partition.
    112  1.1  scw 
    113  1.1  scw The 'Raw Partition' is special; NetBSD is able to use it even if the
    114  1.1  scw disk has no label. You should never create a filesystem on the Raw
    115  1.1  scw Partition, even on a non-boot disk.
    116  1.1  scw 
    117  1.1  scw It is good practice to put /usr on a different partition than / (sd0a).
    118  1.1  scw So, the first available partition for /usr is 'sd0d'. Refer to the
    119  1.1  scw section entitled "NetBSD System Requirements and Supported Devices" for
    120  1.1  scw information on the recommended sizes of the /, /usr and swap partitions.
    121  1.1  scw 
    122  1.1  scw You are not required to define any partitions beyond sd0d, but if you
    123  1.1  scw have a large disk drive, you might want to create several other partitions
    124  1.1  scw for filesystems such as /home or /usr/src. Note that at this time you
    125  1.1  scw are only required to partition the root/boot disk; you will get the
    126  1.1  scw opportunity to partition any other disks in your system from the main
    127  1.1  scw 'miniroot' installation program.
    128  1.1  scw 
    129  1.1  scw To create the disklabel and partitions, use the 'edlabel' program,
    130  1.1  scw passing it the name of the Raw Partition of your root/boot disk. Note
    131  1.1  scw that '-->' at the start of a line in the following examples indicates
    132  1.1  scw you are being prompted to enter some information. Obviously, you won't
    133  1.1  scw see this when you run the program for real.
    134  1.1  scw 
    135  1.1  scw -->     ssh: edlabel /dev/rsd0c
    136  1.1  scw         edlabel menu:
    137  1.1  scw         print   - display the current disk label
    138  1.1  scw         modify  - prompt for changes to the label
    139  1.1  scw         write   - write the new label to disk
    140  1.1  scw         quit    - terminate program
    141  1.1  scw         edlabel> 
    142  1.1  scw 
    143  1.1  scw The program shows what commands it recognises; "print", "modify",
    144  1.1  scw "write" and "quit". It will accept the first letter of a command if
    145  1.1  scw you don't feel like typing each one in full.
    146  1.1  scw 
    147  1.1  scw To start creating the basic partitions, you should enter 'm' (modify)
    148  1.1  scw at the edlabel prompt, then enter the letter corresponding to the first
    149  1.2  scw partition, 'a'.
    150  1.1  scw 
    151  1.1  scw -->     edlabel> m
    152  1.1  scw         modify subcommands:
    153  1.1  scw          @   : modify disk parameters
    154  1.2  scw          a-h : modify partition
    155  1.1  scw          s   : standarize geometry
    156  1.1  scw          q   : quit this subcommand
    157  1.1  scw -->     edlabel/modify> a
    158  1.1  scw          a (root)          0       (0/00/00)          0       (0/00/00)  unused
    159  1.1  scw -->     start as <blkno> or <cyls/trks/sects> : 0
    160  1.1  scw -->     length as <nblks> or <cyls/trks/sects> : 38000
    161  1.1  scw -->     type: 4.2BSD
    162  1.1  scw         edlabel/modify> 
    163  1.1  scw 
    164  1.1  scw When you enter the start and length of a partition, you can use either
    165  1.1  scw blocks or cylinder/track/sector notation. If this is the first time
    166  1.1  scw you've partitioned a disk for NetBSD, it's probably easiest to use block
    167  1.1  scw notation. The above example creates partition 'a', starting at block zero
    168  1.1  scw and with a size of 38000 blocks. Note that the usual size of a block is
    169  1.1  scw 512 bytes, so this creates a 19Mb partition.
    170  1.1  scw 
    171  1.1  scw The 'type' of the partition should be "4.2BSD", otherwise you won't
    172  1.1  scw be able to create a filesystem on it.
    173  1.1  scw 
    174  1.1  scw Next, create a swap partition (b). Note that the minimum size of this
    175  1.1  scw swap partition should be 8Mb, otherwise you won't be able to use a
    176  1.1  scw miniroot to complete the NetBSD installation!
    177  1.1  scw 
    178  1.1  scw -->     edlabel/modify> b
    179  1.1  scw          b (swap)          0       (0/00/00)          0       (0/00/00)  unused
    180  1.1  scw -->     start as <blkno> or <cyls/trks/sects> : 38000
    181  1.1  scw -->     length as <nblks> or <cyls/trks/sects> : 32768
    182  1.1  scw -->     type: swap
    183  1.1  scw         edlabel/modify> 
    184  1.1  scw 
    185  1.1  scw Here, we specify a value for 'start' such that the swap partition follows
    186  1.1  scw immediately after partition 'a', i.e. 38000. The length of the swap
    187  1.1  scw partition should be a multiple of the amount of RAM you have in your
    188  1.1  scw system. Here, I've chosen 32768, or 16Mb.  The next available block on the
    189  1.1  scw drive is thus 38000 + 32768. We will use this to create partition 'd' for
    190  1.1  scw our /usr filesystem. (Note that for a busy system, or a system with more
    191  1.1  scw than 8Mb of RAM, you'll be better off with a 32 or 64Mb swap partition.)
    192  1.1  scw 
    193  1.1  scw -->     edlabel/modify> d
    194  1.1  scw          d (user)          0       (0/00/00)          0       (0/00/00)  unused
    195  1.1  scw -->     start as <blkno> or <cyls/trks/sects> : 70768
    196  1.1  scw -->     length as <nblks> or <cyls/trks/sects> : 233837
    197  1.1  scw -->     type: 4.2BSD
    198  1.1  scw -->     edlabel/modify> q
    199  1.1  scw         edlabel>
    200  1.1  scw 
    201  1.1  scw As you can see, I've chosen to assign the remainder of the disk to /usr.
    202  1.1  scw Since there are 304605 sectors on the example disk (did you remember to
    203  1.1  scw note down the number of sectors on your disk during boot?), and partition
    204  1.1  scw 'd' starts at sector 70768, a simple bit of arithmetic (304605 - 70768)
    205  1.1  scw gives 'd' a size of 233837.
    206  1.1  scw 
    207  1.1  scw You now need to write this new disklabel, together with the partition
    208  1.1  scw details you've just entered, to disk. You might also try the 'p' command
    209  1.1  scw to view the partitions. Once written, you can quit back to ssh using 'q'.
    210  1.1  scw 
    211  1.1  scw -->     edlabel> p
    212  1.1  scw                 type_num: 4
    213  1.1  scw                 sub_type: 0
    214  1.1  scw                type_name: SCSI disk
    215  1.1  scw                pack_name: fictitious
    216  1.1  scw             bytes/sector: 512
    217  1.1  scw            sectors/track: 35
    218  1.1  scw          tracks/cylinder: 9
    219  1.1  scw                cylinders: 967
    220  1.1  scw         sectors/cylinder: 315
    221  1.1  scw         partition      start         (c/t/s)      nblks         (c/t/s)  type
    222  1.1  scw 
    223  1.1  scw          a (root)          0       (0/00/00)      38000     (120/05/25)* 4.2BSD
    224  1.1  scw          b (swap)      38000     (120/05/25)*     32768     (104/00/08)* swap
    225  1.1  scw          c (disk)          0       (0/00/00)     304605     (967/00/00)  unused
    226  1.1  scw          d (user)      70768     (224/05/33)*    233837     (742/03/02)* 4.2BSD
    227  1.1  scw -->     edlabel> w
    228  1.1  scw -->     edlabel> q
    229  1.1  scw         ssh:
    230  1.1  scw 
    231  1.1  scw 
    232  1.1  scw Now that your disk's partitioned, you need to get the proper installation
    233  1.1  scw miniroot image onto it. The miniroot image is designed to be copied into
    234  1.1  scw the swap partition of your disk. This is a safe place which won't be
    235  1.1  scw overwritten by the installation procedure. From the ssh prompt, use the
    236  1.1  scw following commands to copy the miniroot image from tape to swap (b).
    237  1.1  scw 
    238  1.1  scw -->     ssh: mt -f /dev/nrst0 rewind
    239  1.1  scw -->     ssh: mt -f /dev/nrst0 fsf 3
    240  1.1  scw -->     ssh: dd bs=8k if=/dev/nrst0 of=/dev/rsd0b
    241  1.1  scw 
    242  1.1  scw The disk and the miniroot must now be made bootable using the
    243  1.1  scw 'installboot' command, To do this, issue the following commands:
    244  1.1  scw 
    245  1.1  scw -->     ssh: mount /dev/sd0b /mnt
    246  1.1  scw -->     ssh: installboot /mnt/usr/mdec/bootsd /bootxx /dev/rsd0b
    247  1.1  scw -->     ssh: umount /dev/sd0b
    248  1.1  scw 
    249  1.1  scw You can now shutdown the system.
    250  1.1  scw 
    251  1.1  scw -->     ssh: halt
    252  1.1  scw          signal 15
    253  1.1  scw         ssh: syncing disks... done
    254  1.1  scw         unmounting /mnt (/dev/sd1b)...
    255  1.1  scw         unmounting / (root_device)...
    256  1.1  scw         halted
    257  1.1  scw 
    258  1.1  scw -->     147-Bug>reset
    259  1.1  scw -->     Reset Local SCSI Bus [Y,N] N? y
    260  1.1  scw -->     Automatic reset of known SCSI Buses on RESET [Y,N] = Y? 
    261  1.1  scw -->     Cold/Warm Reset flag [C,W] = C? 
    262  1.1  scw -->     Execute Soft Reset [Y,N] N? y
    263  1.1  scw 
    264  1.1  scw You should now reboot from that just installed miniroot. See the section
    265  1.1  scw entitled "Booting the miniroot" for details.
    266  1.1  scw 
    267  1.1  scw 
    268  1.1  scw * Installing from NFS:
    269  1.1  scw 
    270  1.1  scw Before you can install from NFS, you must have already configured
    271  1.1  scw your NFS server to support your machine as a bootable client.
    272  1.1  scw Instructions for configuring the server are found in the section
    273  1.1  scw entitled "Getting the NetBSD System onto Useful Media" above.
    274  1.1  scw 
    275  1.1  scw To get started, you need to download "sboot" into RAM (you will find
    276  1.1  scw 'sboot' in the "install" directory of the mvme68k distribution).
    277  1.1  scw You can either do that through the console line or through a 2nd serial
    278  1.1  scw connection. For example, a VME147 connected to a sun4/110 and accessed
    279  1.1  scw via "tip" can be loaded as follows:
    280  1.1  scw 
    281  1.1  scw         lo 0
    282  1.1  scw         ~Ccat sboot
    283  1.1  scw         go 4000
    284  1.1  scw 
    285  1.1  scw Which will look like this:
    286  1.1  scw 
    287  1.1  scw -->     147-Bug>lo 0
    288  1.1  scw -->     ~CLocal command? cat sboot
    289  1.1  scw 
    290  1.1  scw         away for 11 seconds 
    291  1.1  scw         !
    292  1.1  scw 
    293  1.1  scw -->     147-Bug>g 4000
    294  1.1  scw         Effective address: 00004000 
    295  1.1  scw 
    296  1.1  scw         sboot: serial line bootstrap program (&end = 6018)
    297  1.1  scw 
    298  1.1  scw         >>> 
    299  1.1  scw 
    300  1.1  scw Now, if you want to do it through serial line 1, then connect serial
    301  1.1  scw line one to a machine. At the "147-Bug> " prompt do this "tm 1".
    302  1.1  scw You should then login to whatever machine it is connected to.
    303  1.1  scw Then hit "^A" to escape to Bug.  do "lo 1;x=cat sboot" ... then when
    304  1.1  scw that is done you can reconnect "tm 1" and logout. Then do "go 4000"
    305  1.1  scw and you've got ">>> " prompt of sboot.
    306  1.1  scw 
    307  1.1  scw Once you've got the ">>> " prompt, you can boot the RAMDISK kernel
    308  1.1  scw from the server:
    309  1.1  scw 
    310  1.1  scw -->     >>> b
    311  1.1  scw 
    312  1.1  scw         le0: ethernet address: 8:0:3e:20:cb:87
    313  1.1  scw         My ip address is: 192.168.1.4
    314  1.1  scw         Server ip address is: 192.168.1.1
    315  1.1  scw         4800 
    316  1.1  scw         Download was a success!
    317  1.1  scw         Start @ 0x8000 ... 
    318  1.2  scw         >> BSD MVME147 netboot (via sboot) [$Revision: 1.2 $]
    319  1.1  scw         device: le0 attached to 08:00:3e:20:cb:87
    320  1.1  scw         boot: client IP address: 192.168.1.4
    321  1.1  scw         boot: client name: soapy
    322  1.1  scw         root addr=192.168.1.1 path=/export/soapy
    323  1.1  scw         578616+422344+55540+[46032+51284]=0x11a6e4
    324  1.1  scw         Start @ 0x8000 ...
    325  1.1  scw         Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.  All rights reserved.
    326  1.1  scw         Copyright (c) 1982, 1986, 1989, 1991, 1993
    327  1.1  scw                 The Regents of the University of California.  All rights reserved.
    328  1.1  scw 
    329  1.1  scw         NetBSD 1.3 (RAMDISK) #1: Sun Dec 21 16:19:04 GMT 1997
    330  1.1  scw             steve (a] soapy.mctavish.demon.co.uk:/usr/src/sys/arch/mvme68k/compile/RAMDISK
    331  1.1  scw         Motorola MVME-147S: 25MHz MC68030 CPU+MMU, MC68882 FPU
    332  1.1  scw         real mem  = 7237632
    333  1.1  scw         avail mem = 6381568
    334  1.1  scw         using 88 buffers containing 360448 bytes of memory
    335  1.1  scw         mainbus0 (root)
    336  1.1  scw         pcc0 at mainbus0: Peripheral Channel Controller, rev 0, vecbase 0x40
    337  1.1  scw         clock0 at pcc0 offset 0x0 ipl 5: Mostek MK48T02, 2048 bytes of NVRAM
    338  1.1  scw           .
    339  1.1  scw           .
    340  1.1  scw 
    341  1.1  scw After the boot program loads the RAMDISK kernel, you should see the
    342  1.1  scw welcome screen as shown in the "tape boot" section above.
    343  1.1  scw 
    344  1.1  scw You now need to create a disklabel with partition information on the
    345  1.1  scw SCSI disk on which you intend to create your root filesystem. Follow
    346  1.1  scw the instructions in the previous section entitled "Installing from
    347  1.1  scw tape" to do this. (But stop short of the part which describes how to
    348  1.1  scw copy the miniroot from tape.)
    349  1.1  scw 
    350  1.1  scw You must now configure the network interface before you can access the
    351  1.1  scw NFS server containing the miniroot image. For example the command:
    352  1.1  scw 
    353  1.1  scw -->     ssh: ifconfig le0 inet 192.168.1.4 up
    354  1.1  scw 
    355  1.1  scw will bring up the network interface 'le0' with that address. The next
    356  1.1  scw step is to copy the miniroot from your server. This can be done using
    357  1.1  scw either NFS or remote shell. (In the examples that follow, the server has
    358  1.1  scw IP address 192.168.1.1) You may then need to add a default route if the
    359  1.1  scw server is on a different subnet:
    360  1.1  scw 
    361  1.1  scw -->     ssh: route add default 192.168.1.2 1
    362  1.1  scw 
    363  1.1  scw You can look at the route table using:
    364  1.1  scw 
    365  1.1  scw -->     ssh: route show
    366  1.1  scw 
    367  1.1  scw Now mount the NFS filesystem containing the miniroot image:
    368  1.1  scw 
    369  1.1  scw -->     ssh: mount -r 192.168.1.1:/export/soapy /mnt
    370  1.1  scw 
    371  1.1  scw The procedure is simpler if you have space for an expanded (not
    372  1.1  scw compressed) copy of the miniroot image. In that case:
    373  1.1  scw 
    374  1.1  scw -->     ssh: dd bs=8k if=/mnt/miniroot of=/dev/rsd0b
    375  1.1  scw 
    376  1.1  scw Otherwise, you will need to use "zcat" to expand the miniroot image
    377  1.1  scw while copying. This is tricky because the "ssh" program (small shell)
    378  1.1  scw does not handle sh(1) pipeline syntax. Instead, you first run the reader
    379  1.1  scw in the background with its input set to /dev/pipe and then run the other
    380  1.1  scw program in the foreground with its output to /dev/pipe. The result looks
    381  1.1  scw like this:
    382  1.1  scw 
    383  1.1  scw -->     ssh: run -bg dd obs=8k if=/dev/pipe of=/dev/rsd0b
    384  1.1  scw -->     ssh: run -o /dev/pipe zcat /mnt/install/miniroot.gz
    385  1.1  scw 
    386  1.1  scw To load the miniroot using rsh to the server, you would use a pair
    387  1.1  scw of commands similar to the above. Here is another example:
    388  1.1  scw 
    389  1.1  scw -->     ssh: run -b dd obs=8k if=/dev/pipe of=/dev/rsd0b
    390  1.1  scw -->     ssh: run -o /dev/pipe rsh 192.168.1.1 zcat miniroot.gz
    391  1.1  scw 
    392  1.1  scw You must now make the disk bootable. Refer to the previous section on
    393  1.1  scw installing from tape, where it describes how to run 'installboot'.
    394  1.1  scw This is immediately following the part which explains how to copy the
    395  1.1  scw miniroot from tape.
    396  1.1  scw 
    397  1.1  scw 
    398  1.1  scw * Booting the miniroot:
    399  1.1  scw 
    400  1.1  scw Assuming the miniroot is installed on partition 'b' of the disk with
    401  1.1  scw SCSI-id 0, then the 147Bug boot command is:
    402  1.1  scw 
    403  1.1  scw         147-Bug> bo 0,,b:
    404  1.1  scw 
    405  1.1  scw The command line parameters above are:
    406  1.1  scw 
    407  1.1  scw         0   controller (usually zero)
    408  1.1  scw         ,,  bug argument separators
    409  1.1  scw         b:  tell the bootstrap code to boot from partition 'b'
    410  1.1  scw 
    411  1.1  scw You should see a bunch of boot messages, followed by messages from
    412  1.1  scw the miniroot kernel just as you did when the RAMDISK kernel booted.
    413  1.1  scw 
    414  1.1  scw You will then be prompted to enter the root device. Since the miniroot
    415  1.1  scw was booted from the swap partition, you should enter 'sd0b'. You will
    416  1.1  scw then be asked for the swap device and filesystem type. Just press
    417  1.1  scw return twice to accept the defaults. When asked to enter a terminal
    418  1.1  scw type, either accept the default, or use whatever the TERM environment
    419  1.1  scw variable is set to in the shell of your host system:
    420  1.1  scw 
    421  1.1  scw         vmel0 at vmechip0
    422  1.1  scw         boot device: sd0
    423  1.1  scw -->     root device (default sd0a): sd0b
    424  1.1  scw -->     dump device (default sd0b): 
    425  1.1  scw -->     file system (default generic): 
    426  1.1  scw         root on sd0b dumps on sd0b
    427  1.1  scw         mountroot: trying ffs...
    428  1.1  scw         root file system type: ffs
    429  1.1  scw         init: copying out path `/sbin/init' 11
    430  1.1  scw         erase ^H, werase ^W, kill ^U, intr ^C
    431  1.1  scw -->     Terminal type? [vt100] 
    432  1.1  scw 
    433  1.1  scw Congratulations! The system should now be running the miniroot
    434  1.1  scw installation program.
    435  1.1  scw 
    436  1.1  scw 
    437  1.1  scw Miniroot install program:
    438  1.1  scw ------------------------
    439  1.1  scw 
    440  1.1  scw The miniroot's install program is very simple to use. It will guide
    441  1.1  scw you through the entire process, and is well automated. Additional
    442  1.1  scw improvements are planned for future releases.
    443  1.1  scw 
    444  1.1  scw The miniroot's install program will:
    445  1.1  scw 
    446  1.1  scw         * Allow you to place disklabels on additional disks.
    447  1.1  scw           The disk we are installing on should already have
    448  1.1  scw           been partitioned using the RAMDISK kernel.
    449  1.1  scw 
    450  1.1  scw           Note that partition sizes and offsets are expressed
    451  1.1  scw           in sectors. When you fill out the disklabel, you will
    452  1.1  scw           need to specify partition types and filesystem parameters.
    453  1.1  scw           If you're unsure what the these values should be, use the
    454  1.1  scw           following defaults:
    455  1.1  scw 
    456  1.1  scw                 fstype: 4.2BSD
    457  1.1  scw                 fsize: 1024
    458  1.1  scw                 bsize: 4096
    459  1.1  scw                 cpg: 16
    460  1.1  scw 
    461  1.1  scw           If the partition will be a swap partition, use the following:
    462  1.1  scw 
    463  1.1  scw                 fstype: swap
    464  1.1  scw                 fsize: 0 (or blank)
    465  1.1  scw                 bsize: 0 (or blank)
    466  1.1  scw                 cpg: 0 (or blank)
    467  1.1  scw 
    468  1.1  scw           Note that partition 'c' is special; it covers then entire
    469  1.1  scw           disk and should not be assigned to a filesystem.
    470  1.1  scw 
    471  1.1  scw           The number of partitions is currently fixed at 8.
    472  1.1  scw 
    473  1.1  scw         * Create filesystems on target partitions.
    474  1.1  scw 
    475  1.1  scw         * Allow you to set up your system's network configuration.
    476  1.1  scw           Remember to specify host names without the domain name
    477  1.1  scw           appended to the end.  For example use `foo' instead of
    478  1.1  scw           `foo.bar.org'.  If, during the process of configuring
    479  1.1  scw           the network interfaces, you make a mistake, you will
    480  1.1  scw           be able to re-configure that interface by simply selecting
    481  1.1  scw           it for configuration again.
    482  1.1  scw 
    483  1.1  scw         * Mount target filesystems.  You will be given the opportunity
    484  1.1  scw           to manually edit the resulting /etc/fstab.
    485  1.1  scw 
    486  1.1  scw         * Extract binary sets from the media of your choice.
    487  1.1  scw 
    488  1.1  scw         * Copy configuration information gathered during the
    489  1.1  scw           installation process to your root filesystem.
    490  1.1  scw 
    491  1.1  scw         * Make device nodes in your root filesystem.
    492  1.1  scw 
    493  1.1  scw         * Copy a new kernel onto your root partition.
    494  1.1  scw 
    495  1.1  scw         * Install a new boot block.
    496  1.1  scw 
    497  1.1  scw         * Check your filesystems for integrity.
    498  1.1  scw 
    499  1.1  scw First-time installation on a system through a method other than the
    500  1.1  scw installation program is possible, but strongly discouraged.
    501