To Copy The Boot Block And Root File System Contents To The New Boot Disk - Sun Microsystems Sun StorEdge Installation Manual

Sbus dual fibre channel host adapter
Hide thumbs Also See for Sun StorEdge:
Table of Contents

Advertisement

"To Specify the New Boot Disk as the Boot Device" on page B-23
To Copy the Boot Block and Root File System
Contents to the New Boot Disk
1. Install the boot block on the root (/) file system of the new disk.
The following example uses the installboot(1M) command to install the boot
block. The boot block resides in the
/usr/platform/platform_name/lib/fs/ufs/bootblk directory. The example
shows invoking the uname command with the -i option between left single quotes
on the command line to specify the platform name.
# /usr/sbin/installboot /usr/platform/'uname -m'/lib/fs/ufs/bootblk \
/dev/rdsk/c7t16d0s0
For more information, see the instructions on how to install a boot block in the
Solaris system administration documentation.
2. Mount the root file system from slice 0 of the new boot disk onto the /mnt mount
point.
# mount /dev/dsk/c7t16d0s0 /mnt
3. Use the ufsdump (1M) and ufsrestore (1M) commands to copy the contents of
the root file system from the temporary boot disk to the root slice of the new boot
disk (on the /mnt mount point).
Make sure you use the original root slice in the command. In the following example,
the root slice is /dev/rdsk/c0t1d0s0.
B-20
Sun StorEdge SBus Dual Fibre Channel Host Adapter Installation Guide • October 2002

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storedge

Table of Contents