【解決辦法--實測可行】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!

 

至此,完結。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM