向分区分配系统标识
当您向分区分配系统标识时,请使用此信息。
关于此任务
过程
- 指定系统分区标识。
- 将信息写入磁盘上的分区表。
- 退出 fdisk 程序。
结果
图 1 显示了 Linux 系统标识(十六进制代码 83)向分区的分配。
图 1. 向分区分配 Linux 系统标识的示例
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]#