|
|||
1. Where to Find Solaris Installation Planning Information 2. Custom JumpStart (Overview) 3. Preparing Custom JumpStart Installations (Tasks) 4. Using Optional Custom JumpStart Features (Tasks) To Add Files With a Finish Script Creating a Compressed Configuration File To Create a Compressed Configuration File Using a Site-Specific Installation Program 5. Creating Custom Rule and Probe Keywords (Tasks) 6. Performing a Custom JumpStart Installation (Tasks) 7. Installing With Custom JumpStart (Examples) 8. Custom JumpStart (Reference) |
Creating Disk Configuration FilesThis section describes how to create single-disk and multiple-disk configuration files. Disk configuration files enable you to use pfinstall(1M) from a single system to test profiles against different disk configurations. SPARC: To Create a Disk Configuration File
SPARC: Disk Configuration File ExampleThe following example shows how to create a single–disk configuration file, 104_test, on a SPARC based system with a 104-Mbyte disk. Example 4-8 SPARC: Creating a Disk Configuration FileYou redirect the output of the prtvtoc command to a single–disk configuration file that is named 104_test: # prtvtoc /dev/rdsk/c0t3d0s2 >104_test The contents of the 104_test file resemble the following: * /dev/rdsk/c0t3d0s2 partition map * * Dimensions: * 512 bytes/sector * 72 sectors/track * 14 tracks/cylinder * 1008 sectors/cylinder * 2038 cylinders* 2036 accessible cylinders * Flags: * 1: unmountable * 10: read-only * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 1 2 00 0 164304 164303 / 2 5 00 0 2052288 2052287 3 0 00 164304 823536 987839 /disk2/b298 5 0 00 987840 614880 1602719 /install/298/sparc/work 7 0 00 1602720 449568 2052287 /space You have created disk configuration files for a SPARC based system. Testing a Profile contains information about using disk configuration files to test profiles. x86: To Create a Disk Configuration File
x86: Disk Configuration File ExampleThe following example shows how to create a single-disk configuration file, 500_test, on an x86 based system that contains a 500-Mbyte disk. Example 4-9 x86: Creating a Disk Configuration FileFirst, you save the output of the fdisk command to a file that is named 500_test: # fdisk -R -W 500_test -h /dev/rdsk/c0t0d0p0 The 500_test file looks like the following: * /dev/rdsk/c0t0d0p0 default fdisk table * Dimensions: * 512 bytes/sector * 94 sectors/track * 15 tracks/cylinder * 1455 cylinders * * HBA Dimensions: * 512 bytes/sector * 94 sectors/track * 15 tracks/cylinder * 1455 cylinders * * systid: * 1: DOSOS12 * 2: PCIXOS * 4: DOSOS16 * 5: EXTDOS * 6: DOSBIG * 86: DOSDATA * 98: OTHEROS * 99: UNIXOS * 130: SUNIXOS * * Id Act Bhead Bsect Bcyl Ehead Esect Ecyl Rsect Numsect 130 128 44 3 0 46 30 1001 1410 2050140 Second, you append the output of the prtvtoc command to the 500_test file: # prtvtoc /dev/rdsk/c0t0d0s2 >>500_test The 500_test file is now a complete disk configuration file: * /dev/rdsk/c0t0d0p0 default fdisk table * Dimensions: * 512 bytes/sector * 94 sectors/track * 15 tracks/cylinder * 1455 cylinders * * HBA Dimensions: * 512 bytes/sector * 94 sectors/track * 15 tracks/cylinder * 1455 cylinders * * systid: * 1: DOSOS12 * 2: PCIXOS * 4: DOSOS16 * 5: EXTDOS * 6: DOSBIG * 86: DOSDATA * 98: OTHEROS * 99: UNIXOS * 130: SUNIXOS * * Id Act Bhead Bsect Bcyl Ehead Esec Ecyl Rsect Numsect 130 128 44 3 0 46 30 1001 1410 2050140 * /dev/rdsk/c0t0d0s2 partition map * * Dimensions: * 512 bytes/sector * 94 sectors/track * 15 tracks/cylinder * 1110 sectors/cylinder * 1454 cylinders * 1452 accessible cylinders * * Flags: * 1: unmountable * 10: read-only * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 2 5 01 1410 2045910 2047319 7 6 00 4230 2043090 2047319 /space 8 1 01 0 1410 1409 9 9 01 1410 2820 422987 You have created disk configuration files for an x86 based system. Testing a Profile contains information about using disk configuration files to test profiles. |
||
|