【解决办法--实测可行】Partition 1 does not start on physical sector boundary.
新的硬盘使用fdisk进行划分的时候有提示Partition 1 does not start on physical sector boundary.
后面按网上找的办法,在fdisk进行分区的时候,输入u进行更改显示输入的单位,然后再删除分区,再进行添加新的分区就正常了。
转自 https://askubuntu.com/questions/156994/partition-does-not-start-on-physical-sector-boundary
By switching the "u" units. The default sector size will show up when you create the partition. If you are starting to partition a new disk and you get this error, you can.
1. create a partion with the defaut.
2. n,p,1,Enter, Enter
3. Display and get the partition error message. "p".
4. switch units "u"
5. delete the partition. "d"
6. Now create again. this time the defaults will show the correct sector. (in my case it was 1024).
以下是处理的实例:
Command (m for help): p Disk /dev/sdb: 599.9 GB, 599932844032 bytes 255 heads, 63 sectors/track, 72937 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 262144 bytes / 524288 bytes Disk identifier: 0x2016bdc5 Device Boot Start End Blocks Id System Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-72937, default 1): 1 Last cylinder, +cylinders or +size{K,M,G} (1-72937, default 72937): Using default value 72937 Command (m for help): p Disk /dev/sdb: 599.9 GB, 599932844032 bytes 255 heads, 63 sectors/track, 72937 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 262144 bytes / 524288 bytes Disk identifier: 0x2016bdc5 Device Boot Start End Blocks Id System /dev/sdb1 1 72937 585866421 83 Linux Partition 1 does not start on physical sector boundary. ``` --- ==重点这步==<PS:好吧!Markdown格式貌似不支持> --- Command (m for help): u
Changing display/entry units to sectors Command (m for help): p Disk /dev/sdb: 599.9 GB, 599932844032 bytes 255 heads, 63 sectors/track, 72937 cylinders, total 1171743836 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 262144 bytes / 524288 bytes Disk identifier: 0x2016bdc5 Device Boot Start End Blocks Id System /dev/sdb1 63 1171732904 585866421 83 Linux Partition 1 does not start on physical sector boundary. Command (m for help): d Selected partition 1 Command (m for help): p Disk /dev/sdb: 599.9 GB, 599932844032 bytes 255 heads, 63 sectors/track, 72937 cylinders, total 1171743836 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 262144 bytes / 524288 bytes Disk identifier: 0x2016bdc5 Device Boot Start End Blocks Id System Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 8 Value out of range. Partition number (1-4): 1 First sector (63-1171743835, default 1024): Using default value 1024 Last sector, +sectors or +size{K,M,G} (1024-1171743835, default 1171743835): Using default value 1171743835 Command (m for help): p Disk /dev/sdb: 599.9 GB, 599932844032 bytes 255 heads, 63 sectors/track, 72937 cylinders, total 1171743836 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 262144 bytes / 524288 bytes Disk identifier: 0x2016bdc5 Device Boot Start End Blocks Id System /dev/sdb1 1024 1171743835 585871406 83 Linux Command (m for help): w The partition table has been altered!
至此,完结。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架