Linux が稼働する Intel ホストのパーティションへのシステム ID の割り当て

このセクションでは、fdisk コマンドを使用して Linux パーティションにシステム ID を割り当てるときに実行するステップを紹介します。

  1. システム・パーティション ID を割り当てる。
  2. ディスク上のパーティション・テーブルに情報を書き込む。
  3. 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]#
ライブラリー | サポート | ご利用条件 | フィードバック
© Copyright IBM Corporation 2004, 2006. All Rights Reserved.