Solaris のシステム管理 (デバイスとファイルシステム)

ProcedureSolaris fdisk 識別子を変更する方法

fdisk の新しいメニュー項目を使用すると、新しい識別子と古い識別子を切り替えられます。fdisk の識別子は、パーティションに含まれるファイルシステムがマウントされている場合でも変更できます。

fdisk メニューでは、次の 2 つの type の値によって、古い識別子と新しい識別子が示されます。

  1. スーパーユーザーになります。

  2. 現在の fdisk 識別子を表示します。

    次に例を示します。


                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. fdisk メニューのオプション 4 を選択し、fdisk パーティション識別子を 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. オプション 5 を選択し、ディスク構成を更新して終了します。

  5. 必要であれば、fdisk メニューのオプション 4 を選択し、fdisk パーティション識別子を 0xbf に変更します。

    次に例を示します。


    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. オプション 5 を選択し、ディスク構成を更新して終了します。