系统管理指南:设备和文件系统

x86: fdisk 菜单

fdisk 菜单仅出现在基于 x86 的系统上,其显示与以下内容类似。


format> fdisk

             Total disk size is 14169 cylinders

             Cylinder size is 2510 (512 byte) blocks



                                               Cylinders

      Partition   Status    Type          Start   End   Length    %

      =========   ======    ============  =====   ===   ======   ===

          1       Active    x86 Boot          1     9       9      0

          2                 Solaris2         10  14168    14159    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:

下表描述了 fdisk 菜单项。

表 16–3 x86: fdisk 菜单项的说明

菜单项 

说明 

Create a partition

创建 fdisk 分区。必须为每个 OS(如 Solaris 或 DOS)创建单独的分区。每个磁盘最多包含四个分区。系统会提示以磁盘百分比形式输入 fdisk 分区的大小。

Specify the active partition

用于指定要用于引导的分区。此菜单项可标识第一阶段引导程序查找第二阶段引导程序的位置。 

Delete a partition

删除以前创建的分区。此命令将破坏分区中的所有数据。 

Change between Solaris and Solaris2 Partition IDs

将分区 ID 从 130 (0x82) 更改为 191 (0xbf) 或执行相反操作。

Exit (update disk configuration and exit)

写入新版本的分区表并退出 fdisk 菜单。

Cancel (exit without updating disk configuration)

退出 fdisk 菜单,而不修改分区表。