將系統 ID 指派給分割區
當您將系統 ID 指派給分割區時,請使用本資訊。
關於這項作業
程序
- 指派系統分割區 ID。
- 將資訊寫入至磁碟上的分割區表格。
- 結束 fdisk 程式。
結果
圖 1 顯示將 Linux 系統 ID(十六進位碼 83)指派給分割區。
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]#