通过新的 fdisk 菜单选项,可以在新标识符和旧标识符之间来回切换。即使挂载了分区中包含的文件系统,也可以更改 fdisk 标识符。
fdisk 菜单中的两个 type 值反映旧标识符和新标识符,如下所示:
Solaris 标识 0x82
Solaris2 标识 0xbf
成为超级用户。
显示当前的 fdisk 标识符。
例如:
Total disk size is 39890 cylinders Cylinder size is 4032 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === 1 Active x86 Boot 1 6 6 0 2 Solaris2 7 39889 39883 100 |
从 fdisk 菜单中选择选项 4,将 fdisk 分区标识符更改回 0x82
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: 4 |
选择选项 5 更新磁盘配置并退出。
如有必要,请从 fdisk 菜单中选择选项 4,将 fdisk 分区标识符更改回 0xbf。
例如:
Total disk size is 39890 cylinders Cylinder size is 4032 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === 1 Active x86 Boot 1 6 6 0 2 Solaris 7 39889 39883 100 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: 4 |
选择选项 5 更新磁盘配置并退出。