区画へのシステム ID の割り当て
以下の説明は、区画にシステム ID を割り当てるときに参照してください。
このタスクについて
手順
- システム区画 ID を割り当てる。
- ディスクの区画テーブルに情報を書き込む。
- fdisk プログラムを終了する。
タスクの結果
図 1 は、Linux システム ID を区画 (16 進コード 83) に割り当てる例を示したものです。
図 1. 区画への Linux システム ID の割り当ての例
Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): 83
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 1953152 [953 MB] [1.0 GB]
sdb: sdb1
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 1953152 [953 MB] [1.0 GB]
sdb: sdb1
WARNING: If you have created or modified any DOS 6.x partitions, please see the
fdisk manual page for additional information.
Syncing disks.
[root@yahoo /data]#