fdisk パーティションについては、「x86: fdisk パーティションの作成上のガイドライン」を参照してください。
スーパーユーザーになるか、同等の役割を引き受けます。
# format |
番号付きのディスクのリストが表示されます。
詳細は、format(1M) のマニュアルページを参照してください。
Solaris fdisk パーティションを作成するディスクの番号を入力します。
Specify disk (enter its number): disk-number |
disk-number は、Solaris fdisk パーティションを作成するディスクの番号です。
fdisk メニューを選択します。
format> fdisk |
表示される fdisk メニューは、fdisk パーティションがすでにディスク上に存在しているかどうかによって異なります。次の表を使用して、次に行う手順を決定してください。
作業 |
次の手順 |
参照先 |
---|---|---|
ディスク全体を占有する Solaris fdisk パーティションを作成します。 |
手順 5 | |
Solaris fdisk パーティションを作成します。既存の Solaris 以外の fdisk パーティションは変更しません。 |
手順 6 | |
Solaris fdisk パーティションと、Solaris 以外の fdisk パーティションを追加作成します。 |
手順 6 |
ディスク全体にまたがる Solaris fdisk パーティションを作成してそれをアクティブにするには、プロンプトで y を入力します。次に、手順 13 に進みます。
No fdisk table exists. The default partition for the disk is: a 100% "SOLARIS System" partition Type "y" to accept the default partition, otherwise type "n" to edit the partition table. y |
ディスク全体にまたがる Solaris fdisk パーティションを作成しない場合は、プロンプトで n を入力します。
Type "y" to accept the default partition, otherwise type "n" to edit the partition table. n Total disk size is 3498 cylinders Cylinder size is 1199 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ======== ===== === ====== === 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: |
「1. Create a partition」を選択し、fdisk パーティションを作成します。
Enter Selection: 1 |
「1(=Solaris2)」を選択して、Solaris fdisk パーティションを作成します。
Indicate the type of partition you want to create 1=SOLARIS2 2=UNIX 3=PCIXOS 4=Other 5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG 9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32 D=FAT32LBA E=DOSEXTLBA F=EFI 0=Exit? 1 |
Solaris fdisk パーティション用に割り当てるディスクのパーセントを指定します。このパーセントを計算するときには、既存の fdisk パーティションのサイズを考慮してください。
Specify the percentage of disk to use for this partition (or type "c" to specify the size in cylinders). nn |
プロンプトで y を入力して、Solaris fdisk パーティションをアクティブにします。
Should this to become the active partition? If yes, it will be activated each time the computer is reset or turned on. Please type "y" or "n". y |
fdisk パーティションがアクティブになったあと、Enter Selection: プロンプトが表示されます。
別の fdisk パーティションを作成する場合は、「1. Create a partition」を選択します。
fdisk パーティションの作成方法については、手順 8 - 10 を参照してください。
ディスク構成を更新し、Selection メニューから fdisk メニューを終了します。
Selection: 5 |
label コマンドを使用して、ディスクに新しいラベルを付けます。
format> label Ready to label disk, continue? yes format> |
format ユーティリティーを終了します。
format> quit |
次の例は、format ユーティリティーの fdisk オプションを使用して、ディスク全体にまたがる Solaris fdisk パーティションを作成する方法を説明しています。
# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0d0 <DEFAULT cyl 2466 alt 2 hd 16 sec 63> /pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0 1. c0d1 <DEFAULT cyl 522 alt 2 hd 32 sec 63> /pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0 2. c1d0 <DEFAULT cyl 13102 alt 2 hd 16 sec 63> /pci@0,0/pci-ide@7,1/ide@1/cmdk@0,0 Specify disk (enter its number): 0 selecting c0d0 Controller working list found [disk formatted] format> fdisk No fdisk table exists. The default partitioning for your disk is: a 100% "SOLARIS System" partition. Type "y" to accept the default partition, otherwise type "n" to edit the partition table. y format> label Ready to label disk, continue? yes format> quit |
次の例は、DOS-BIG fdisk パーティションがすでに存在しているディスクに、Solaris fdisk パーティションを作成する方法を説明しています。
format> fdisk Total disk size is 3498 cylinders Cylinder size is 1199 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === 1 Active DOS-BIG 1 699 699 20 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: 1 Indicate the type of partition you want to create 1=SOLARIS2 2=UNIX 3=PCIXOS 4=Other 5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG 9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32 D=FAT32LBA E=DOSEXTLBA F=EFI 0=Exit?1 Indicate the percentage of the disk you want this partition to use (or enter "c" to specify in cylinders). 80 Should this become the active partition? If yes, it will be activated each time the computer is or turned on. Please type "y" or "n". y Total disk size is 3498 cylinders Cylinder size is 1199 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === 1 DOS-BIG 1 699 699 20 2 Active Solaris2 700 3497 2798 80 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:5 Partition 2 is now the active partition format> label Ready to label disk, continue? yes format> q |
次の例は、Solaris fdisk パーティションと DOSBIG fdisk パーティションを作成する方法を説明しています。
format> fdisk No fdisk table exists. The default partitioning for your disk is: a 100% "SOLARIS System" partition. Type "y" to accept the default partition, otherwise type "n" to edit the partition table. n Total disk size is 3498 cylinders Cylinder size is 1199 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === 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: 1 Indicate the type of partition you want to create 1=SOLARIS2 2=UNIX 3=PCIXOS 4=Other 5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG 9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32 D=FAT32LBA E=DOSEXTLBA F=EFI 0=Exit? 8 Specify the percentage of disk to use for this partition (or type "c" to specify the size in cylinders)20 Should this to become the Active partition? If yes, it will be activated each time the computer is reset or turned on. again. Please type "y" or "n". n Total disk size is 3498 cylinders Cylinder size is 1199 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === 1 DOS-BIG 1 699 699 20 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: 1 Indicate the type of partition you want to create 1=SOLARIS2 2=UNIX 3=PCIXOS 4=Other 5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG 9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32 D=FAT32LBA E=DOSEXTLBA F=EFI 0=Exit? 1 Indicate the percentage of the disk you want this partition to use (or enter "c" to specify in cylinders). 80 Should this become the active partition? If yes, it will be activated each time the computer is reset or turned on. Please type "y" or "n". y Total disk size is 3498 cylinders Cylinder size is 1199 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === 1 DOS-BIG 1 699 699 20 2 Active Solaris2 700 3497 2798 80 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: 5 Partition 2 is now the Active partition format> q |
ディスク上に Solaris fdisk パーティションを作成し終わったら、ディスク上にスライスを作成できます。「x86: ディスクスライスとディスクラベルを作成する方法」を参照してください。