分区偏移量为 63、64、2048 还是 4096?

分区偏移量为 63、64、2048 还是 4096?

我不希望将整个 SSD 用于 OpenBSD 5.5。(SSD 是新的,并使用 Gparted 预先格式化为 MSDOS)

在安装过程中和 fdisk 阶段,我选择了分区号:0 来安装 OpenBSD(我将分区 ID 更改为 a6)。我计划在分区号:1 或 2 中安装其他类 Unix 操作系统。

当提示分区偏移量(默认为 0)时,我应该输入什么数字:0、63、64、2048 还是 4096?

以下是当我在分区偏移量中输入 0 时有关我的 SSD 磁盘几何形状的详细信息:

Use (W)hole disk or (E)dit the MBR? [whole] e

You will now create a single MBR partition to contain your OpenBSD data. This partition must have an id of ‘A6’; must *NOT* overlap other partitions;  and must be marked as the only active partition. Inside the fdisk command, the ‘manual’ command describes all the fdisk commands in detail.

Disk: sd0    geometry: 29185/255/63 [468862128 sectors)
Offset: 0    Signature: 0xAA55

                  Starting                Ending        LBA Info:                
 #:    id       C    H    S  -         C     H    S    [start : size]    
  0:   00       0    0    0 -          0     0    0    [0     : 0   ] unused
  1:   00       0    0    0  -         0     0    0    [0     : 0   ] unused
  2:   00       0    0    0  -         0     0    0    [0     : 0   ] unused
  3:   00       0    0    0  -         0     0    0    [0     : 0   ] unused

Enter ‘help’ for information
fdisk: 1> e 0

Partition id ('0' to disable) [0 - FF]: [0] (? for help) a6
Do you wish to edit in CHS mode? [n] no
Partition offset: [0] 0
Partition size: [0] 70g
fdisk:*1> f 0
Partition 0 marked active
fdisk:*1> q
Writing MBR at offset 0
The auto-allocated layout for sd0 is:

安装过程非常顺利,没有任何障碍。

重新启动机器后,最后几行是错误消息:

root on sd0a swap on sd0b dump on sd0b
panic: root filesystem has size 0
Stopped at Debugger+0x5 : leave
Run at least 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}>

相关内容