我刚刚继承了一个系统,我试图理解它的硬盘分区表。
machine:~# fdisk -l /dev/sda
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sda1 * 1 30064 241489048+ fd Linux raid autodetect
/dev/sda2 30065 30394 2650725 5 Extended
/dev/sda5 30065 30394 2650693+ fd Linux raid autodetect为什么编号从1到2到5。sda2和sda5上有什么?
发布于 2013-07-20 22:04:52
在Linux上,传统的DOS分区将以这样的方式出现:
在DOS分区方案(这不是Linux特定的)中,如果您想使用逻辑分区,您必须在其中一个主分区中为这些分区定义一个指针。在这个指针下,BIOS会找到更多的信息。
这个指针(计算机中的sda2)在fdisk中显示为id 5“扩展”-它将分区方案扩展到比默认的4个分区通常可能的更多。
现在您的系统由两个分区组成:
一个主要的、可引导的分区: sda1 (它曾经是linux数组的一部分)和一个逻辑分区: sda5 (它曾经或者是linux数组的一部分)。
没有其他分区的空间了。
https://unix.stackexchange.com/questions/83781
复制相似问题