zoukankan      html  css  js  c++  java
  • 【解决办法--实测可行】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!

    至此,完结。

  • 相关阅读:
    struts2基础
    javaEE环境搭建-eclipse
    geth
    redis常用命令
    angular-ui-select 下拉框支持过滤单选多选解决方案(系列一)
    angularjs中向html页面添加内容节点元素代码段的两种方法
    modal
    弹性布局
    自定义鼠标样式
    angularjs指令弹框点击空白处隐藏及常规方法
  • 原文地址:https://www.cnblogs.com/drgcaosheng/p/7610042.html
Copyright © 2011-2022 走看看