2.t (50476) | 2.t (215334) |
---|---|
1.\" Copyright (c) 1988, 1993 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)2.t 8.1 (Berkeley) 7/27/93 | 1.\" Copyright (c) 1988, 1993 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)2.t 8.1 (Berkeley) 7/27/93 |
33.\" $FreeBSD: head/share/doc/smm/01.setup/2.t 50476 1999-08-28 00:22:10Z peter $ | 33.\" $FreeBSD: head/share/doc/smm/01.setup/2.t 215334 2010-11-15 05:25:51Z dougb $ |
34.\" 35.ds lq `` 36.ds rq '' 37.ds LH "Installing/Operating \*(4B 38.ds RH Bootstrapping 39.ds CF \*(Dy 40.Sh 1 "Bootstrap procedure" 41.PP --- 435 unchanged lines hidden (view full) --- 477to be created. 478This is done as follows: 479.DS 480.TS 481lw(2i) l. 482\fB#\fP \fImount_mfs -s 1000 -T type /dev/null /tmp\fP (create a writable filesystem) 483(\fItype\fP is the disk type as determined from /etc/disktab) 484\fB#\fP \fIcd /tmp\fP (connect to that directory) | 34.\" 35.ds lq `` 36.ds rq '' 37.ds LH "Installing/Operating \*(4B 38.ds RH Bootstrapping 39.ds CF \*(Dy 40.Sh 1 "Bootstrap procedure" 41.PP --- 435 unchanged lines hidden (view full) --- 477to be created. 478This is done as follows: 479.DS 480.TS 481lw(2i) l. 482\fB#\fP \fImount_mfs -s 1000 -T type /dev/null /tmp\fP (create a writable filesystem) 483(\fItype\fP is the disk type as determined from /etc/disktab) 484\fB#\fP \fIcd /tmp\fP (connect to that directory) |
485\fB#\fP \fI../dev/MAKEDEV \*(Dk#\fP (create special files for root disk) 486(\fI\*(Dk\fP is the disk type, \fI#\fP is the unit number) 487(ignore warning from ``sh'') | |
488\fB#\fP \fImount \-uw /tmp/\*(Dk#a /\fP (read-write mount root filesystem) | 485\fB#\fP \fImount \-uw /tmp/\*(Dk#a /\fP (read-write mount root filesystem) |
489\fB#\fP \fIcd /dev\fP (go to device directory) 490\fB#\fP \fI./MAKEDEV \*(Dk#\fP (create permanent special files for root disk) 491(again, ignore warning from ``sh'') | |
492.TE 493.DE 494.Sh 4 "Step 4: (optional) restoring the root filesystem" 495.PP 496The root filesystem that you are currently running on is complete, 497however it probably is not optimally laid out for the disk on 498which you are running. 499If you will be cloning copies of the system onto multiple disks for --- 8 unchanged lines hidden (view full) --- 508If you bootstrapped using the two disk method, you can 509overwrite your initial HP-UX disk, as it will no longer 510be needed (assuming you have no plans to run HP-UX again). 511.PP 512To really create the root filesystem on drive 1 513you should first label the disk as described in step 5 below. 514Then run the following commands: 515.DS | 486.TE 487.DE 488.Sh 4 "Step 4: (optional) restoring the root filesystem" 489.PP 490The root filesystem that you are currently running on is complete, 491however it probably is not optimally laid out for the disk on 492which you are running. 493If you will be cloning copies of the system onto multiple disks for --- 8 unchanged lines hidden (view full) --- 502If you bootstrapped using the two disk method, you can 503overwrite your initial HP-UX disk, as it will no longer 504be needed (assuming you have no plans to run HP-UX again). 505.PP 506To really create the root filesystem on drive 1 507you should first label the disk as described in step 5 below. 508Then run the following commands: 509.DS |
516\fB#\fP \fIcd /dev\fP 517\fB#\fP \fI./MAKEDEV \*(Dk1a\fP | |
518\fB#\fP\|\fInewfs /dev/r\*(Dk1a\fP 519\fB#\fP\|\fImount /dev/\*(Dk1a /mnt\fP 520\fB#\fP\|\fIcd /mnt\fP 521\fB#\fP\|\fIdump 0f \- /dev/r\*(Dk0a | restore xf \-\fP 522(Note: restore will ask if you want to ``set owner/mode for '.''' 523to which you should reply ``yes''.) 524.DE 525.PP --- 862 unchanged lines hidden (view full) --- 1388/dev/\*(Dk1f /var ufs rw 1 2 1389/dev/\*(Dk0e /var/users ufs rw 1 2 1390.TE 1391.PP 1392To make the 1393.Pn /var 1394filesystem we would do: 1395.DS | 510\fB#\fP\|\fInewfs /dev/r\*(Dk1a\fP 511\fB#\fP\|\fImount /dev/\*(Dk1a /mnt\fP 512\fB#\fP\|\fIcd /mnt\fP 513\fB#\fP\|\fIdump 0f \- /dev/r\*(Dk0a | restore xf \-\fP 514(Note: restore will ask if you want to ``set owner/mode for '.''' 515to which you should reply ``yes''.) 516.DE 517.PP --- 862 unchanged lines hidden (view full) --- 1380/dev/\*(Dk1f /var ufs rw 1 2 1381/dev/\*(Dk0e /var/users ufs rw 1 2 1382.TE 1383.PP 1384To make the 1385.Pn /var 1386filesystem we would do: 1387.DS |
1396\fB#\fP \fIcd /dev\fP 1397\fB#\fP \fIMAKEDEV \*(Dk1\fP | |
1398\fB#\fP \fIdisklabel -wr \*(Dk1 "disk type" "disk name"\fP 1399\fB#\fP \fInewfs \*(Dk1f\fP 1400(information about filesystem prints out) 1401\fB#\fP \fImkdir /var\fP 1402\fB#\fP \fImount /dev/\*(Dk1f /var\fP 1403.DE 1404.Sh 2 "Installing the rest of the system" 1405.PP --- 254 unchanged lines hidden --- | 1388\fB#\fP \fIdisklabel -wr \*(Dk1 "disk type" "disk name"\fP 1389\fB#\fP \fInewfs \*(Dk1f\fP 1390(information about filesystem prints out) 1391\fB#\fP \fImkdir /var\fP 1392\fB#\fP \fImount /dev/\*(Dk1f /var\fP 1393.DE 1394.Sh 2 "Installing the rest of the system" 1395.PP --- 254 unchanged lines hidden --- |