日期:2014-05-16  浏览次数:21235 次

ubuntu fdisk -l 错误Partition 1 does not end on cylinder boundary.
本帖最后由 fabbychips 于 2012-11-04 21:45:19 编辑
我装的是ubuntu10.04版本
/boot是主分区,其他是逻辑分区。
我在虚拟机和本机上都装过。也装过11.04版本。在不同的电脑上也装过。
只有进行默认安装(不手动分区),fdisk -l的时候才不会出现Partition 1 does not end on cylinder boundary这种问题。
sudo fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 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: 0x00098810

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13       96256   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              13       13629   109373441    5  Extended
/dev/sda5              13        4876    39061504   83  Linux
/dev/sda6            4876        5119     1951744   82  Linux swap / Solaris
/dev/sda7            5119       13629    68358144   83  Linux

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              37G  2.5G   33G   8% /
none                  999M  312K  998M   1% /dev
none                 1003M  1.4M 1001M   1% /dev/shm
none                 1003M   88K 1003M   1% /var/run
none                 1003M     0 1003M   0% /var/lock
none                 1003M     0 1003M   0% /lib/init/rw
/dev/sda1              92M   21M   66M  24% /boot
/dev/sda7              65G  204M   61G