System Administration Guide: Devices and File Systems

ProcedureHow to Change the Solaris fdisk Identifier

A new fdisk menu option enables you to switch back and forth between the new and old identifier. The fdisk identifier can be changed even when the file system that is contained in the partition is mounted.

Two type values in the fdisk menu reflect the old and new identifiers as follows:

  1. Become superuser.

  2. Display the current fdisk identifier.

    For example:


                Total disk size is 39890 cylinders
                Cylinder size is 4032 (512 byte) blocks
    
                                                  Cylinders
         Partition   Status    Type          Start   End   Length    %
         =========   ======    ============  =====   ===   ======   ===
             1       Active    x86 Boot          1     6       6      0
             2                 Solaris2          7  39889    39883    100
  3. Select option 4 from the fdisk menu to change the fdisk partition identifier back to 0x82.


    SELECT ONE OF THE FOLLOWING:
      1. Create a partition
      2. Specify the active partition
      3. Delete a partition
      4. Change between Solaris and Solaris2 Partition IDs
      5. Exit (update disk configuration and exit)
      6. Cancel (exit without updating disk configuration)
    Enter Selection: 4
    
  4. Select option 5 to update your disk configuration and exit.

  5. If necessary, select option 4 from the fdisk menu to change the fdisk partition identifier back to 0xbf.

    For example:


    Total disk size is 39890 cylinders
                Cylinder size is 4032 (512 byte) blocks
    
                                                  Cylinders
         Partition   Status    Type          Start   End   Length    %
         =========   ======    ============  =====   ===   ======   ===
             1       Active    x86 Boot          1     6       6      0
             2                 Solaris           7  39889    39883    100
    
    SELECT ONE OF THE FOLLOWING:
      1. Create a partition
      2. Specify the active partition
      3. Delete a partition
      4. Change between Solaris and Solaris2 Partition IDs
      5. Exit (update disk configuration and exit)
      6. Cancel (exit without updating disk configuration)
    Enter Selection: 4
    
  6. Select option 5 to update your disk configuration and exit.