Solaris Express Installation Guide: Custom JumpStart and Advanced Installations

x86: fdisk Profile Keyword

fdisk disk_name type size

fdisk defines how the fdisk partitions are set up on an x86 based system. You can specify fdisk more than once. When fdisk partitions an x86 based system, the following occurs:

disk_name

Use the following values to specify where the fdisk partition is to be created or deleted:

  • cxtydz or cydz – A specific disk, for example, c0t3d0.

  • rootdisk – The variable that contains the value of the system's root disk, which is where the installation takes place. The root disk is determined by the JumpStart program as described in How the System's Root Disk Is Determined.

  • all – All the selected disks.

type

Use the following values to specify the type of fdisk partition that is to be created or deleted on the specified disk:

  • solaris – A Solaris fdisk partition (SUNIXOS fdisk type).

  • dosprimary – An alias for primary DOS fdisk partitions, not for fdisk partitions that are extended or reserved for data DOS. When you delete fdisk partitions by assigning size the value delete, dosprimary is an alias for the DOSHUGE, DOSOS12, and DOSOS16 fdisk types. When you create an fdisk partition, dosprimary is an alias for the DOSHUGE fdisk partition.

  • DDD – An integer fdisk partition. DDD is an integer between 1 and 255 inclusive.


    Note –

    You can specify this value only if size is delete.


  • 0xHH – A hexadecimal fdisk partition. HH is a hexadecimal number between 01 and FF.


    Note –

    You can specify this value only if size is delete.


The following table shows the integer and hexadecimal numbers for some of the fdisk types.

fdisk Type

DDD

HH

DOSOS12 

1

01

PCIXOS 

2

02

DOSOS16 

4

04

EXTDOS 

5

05

DOSHUGE 

6

06

DOSDATA 

86

56

OTHEROS 

98

62

UNIXOS 

99

63

size

Use one of the following values:

  • DDD – An fdisk partition of size DDD in Mbytes is created on the specified disk. DDD must be an integer, and the JumpStart program automatically rounds the number up to the nearest cylinder boundary. Specifying a value of 0 is the same as specifying delete.

  • all – An fdisk partition is created on the entire disk. All existing fdisk partitions are deleted.


    x86 only –

    The all value can be specified only if type is solaris.


  • maxfree – An fdisk partition is created in the largest contiguous free space on the specified disk. If an fdisk partition of the specified type already exists on the disk, the existing fdisk partition is used. A new fdisk partition is not created on the disk.


    x86 only –

    The disk must contain at least one unused fdisk partition. Also, the disk must have free space or the installation fails. The maxfree value can be specified only if type is solaris or dosprimary.


  • delete – All fdisk partitions of the specified type are deleted on the specified disk.