warning:partition X does not end on cylinder boundary
来源:互联网 发布:网络ip地址怎么查 编辑:程序博客网 时间:2024/05/21 12:43
Why “partition X does not end on cylinder boundary” warnings don’t matter
为什么 不必担心“partition X does not end on cylinder boundary”警告
While reviewing the partion layout on one of my hard drives, I noticed a number of “Partition X does not end on cylinder boundary” messages in the fdisk output:
当我查看硬盘的分区的时候,我主意到很多“Partition X does not end on cylinder boundary”信息在fdisk -l的输出里面:The number of cylinders for this disk is set to 9726.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xac42ac42
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 287 2097152 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 287 9726 75822111+ 8e Linux LVM
This was a bit disconcerting at first, but after a few minutes of thinking it dawned on me that modern systems use LBA (Logical Block Addressing) instead of CHS (Cylinder/Head/Sector) to address disk drives. If we view the partition table using sectors instead of cylinders:
刚开始很让人困惑,但是几分钟之后,我意识到现代操作系统使用LBA而不是CHS来记录硬盘分区.如果用扇区代替柱面,我们将看到:Disk /dev/sda: 9726 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sda1 * 63 409662 409600 83 Linux
/dev/sda2 409663 4603966 4194304 83 Linux
/dev/sda3 4603967 156248189 151644223 8e Linux LVM
/dev/sda4 0 - 0 0 Empty
We can see that we end at a specific sector number, and start the next partition at that number plus one. I must say that I have grown quite fond of sfdisk and parted, and they sure make digging through DOS and GPT labels super easy.
我们可以看到,扇区是结束在一个特定的扇区,并且下一个分区的起始扇区在前一个的后面+1扇区.
另外一个老外的:
结论:这个warning可以忽略,不影响系统的使用,只要你确认下,分区不是重叠的,就没有问题.
为什么 不必担心“partition X does not end on cylinder boundary”警告
While reviewing the partion layout on one of my hard drives, I noticed a number of “Partition X does not end on cylinder boundary” messages in the fdisk output:
当我查看硬盘的分区的时候,我主意到很多“Partition X does not end on cylinder boundary”信息在fdisk -l的输出里面:The number of cylinders for this disk is set to 9726.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xac42ac42
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 287 2097152 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 287 9726 75822111+ 8e Linux LVM
This was a bit disconcerting at first, but after a few minutes of thinking it dawned on me that modern systems use LBA (Logical Block Addressing) instead of CHS (Cylinder/Head/Sector) to address disk drives. If we view the partition table using sectors instead of cylinders:
刚开始很让人困惑,但是几分钟之后,我意识到现代操作系统使用LBA而不是CHS来记录硬盘分区.如果用扇区代替柱面,我们将看到:Disk /dev/sda: 9726 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sda1 * 63 409662 409600 83 Linux
/dev/sda2 409663 4603966 4194304 83 Linux
/dev/sda3 4603967 156248189 151644223 8e Linux LVM
/dev/sda4 0 - 0 0 Empty
We can see that we end at a specific sector number, and start the next partition at that number plus one. I must say that I have grown quite fond of sfdisk and parted, and they sure make digging through DOS and GPT labels super easy.
我们可以看到,扇区是结束在一个特定的扇区,并且下一个分区的起始扇区在前一个的后面+1扇区.
另外一个老外的:
结论:这个warning可以忽略,不影响系统的使用,只要你确认下,分区不是重叠的,就没有问题.
0 0
- warning:partition X does not end on cylinder boundary
- partition X does not end on cylinder boundary
- Partition X does not end on cylinder boundary
- partition X does not end on cylinder boundary
- fdik -l:Partition 1 does not end on cylinder boundary
- 关于 Partition 1 does not end on cylinder boundary 的理解
- Partition does not start on physical sector boundary
- Partition 1 does not start on physical sector boundary.分区信息不正常
- u-boot无法保存环境变量的问题 error:end address not on sector boundary
- error: start and/or end address not on sector boundary解决
- warning MSB8004: Output Directory does not end with a trailing slash.
- section does not end with %%end 错误
- Duplicate range boundary values are not allowed in partition function boundary value list.
- inserted partition key does not map to any partition
- warning: target CPU does not support interworking
- Starting httpd: Warning: DocumentRoot does not exist
- warning: target CPU does not support interworking
- PRVF-5439: NTP daemon does not have slewing option “-x” set on node
- PHP mb_convert_encoding 问题记录
- github 报错 权限问题fatal: Authentication failed
- Android Volley完全解析(一),初识Volley的基本用法
- C文件操作函数
- phonegap环境配置与基本操作
- warning:partition X does not end on cylinder boundary
- 虚幻4引擎公寓Demo图赏 真实度逆天
- Android NDK (学习笔记一) —— 认识NDK
- 黑马程序员——集合框架
- Jenkins使用新经验
- AndroidUtils一些类方法
- 批量修改文件名称
- Java中如何循环输出对象的属性和值
- Python正则表达式:如何使用正则表达式