熊哥快来a~~Partition 1 does not start on physical sector boundar

系统安装、升级讨论
头像
adagio
论坛版主
帖子: 22120
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球
送出感谢: 7 次
接收感谢: 74 次

熊哥快来a~~Partition 1 does not start on physical sector boundar

#1

帖子 adagio » 2010-05-09 20:17

我的1T硬盘今天重新分区用,可是不管用虾米软件,总是这样我要死了我要吐血a,paragon PM和ubuntu的Gparted都用了,就算全部删除重新再来也是这样a~~~,到底要咋整才行a~~~~ 我已经全部重新分区3遍了a~~~~ :em21

代码: 全选

sudo fdisk -l

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a6b23

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        2612    20980858+   7  HPFS/NTFS
Partition 1 does not start on physical sector boundary.
/dev/sdb2            2613        3919    10498477+   7  HPFS/NTFS
Partition 2 does not start on physical sector boundary.
/dev/sdb3            3920      121601   945280665    f  W95 Ext'd (LBA)
Partition 3 does not start on physical sector boundary.
/dev/sdb5            3920        9142    41953716    7  HPFS/NTFS
Partition 5 does not start on physical sector boundary.
/dev/sdb6            9143       61360   419441053+   7  HPFS/NTFS
Partition 6 does not start on physical sector boundary.
/dev/sdb7           61361      121601   483885801    7  HPFS/NTFS
Partition 7 does not start on physical sector boundary.

代码: 全选

sudo fdisk -lu

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a6b23

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63    41961779    20980858+   7  HPFS/NTFS
Partition 1 does not start on physical sector boundary.
/dev/sdb2        41961780    62958734    10498477+   7  HPFS/NTFS
Partition 2 does not start on physical sector boundary.
/dev/sdb3        62958735  1953520064   945280665    f  W95 Ext'd (LBA)
Partition 3 does not start on physical sector boundary.
/dev/sdb5        62958798   146866229    41953716    7  HPFS/NTFS
Partition 5 does not start on physical sector boundary.
/dev/sdb6       146866293   985748399   419441053+   7  HPFS/NTFS
Partition 6 does not start on physical sector boundary.
/dev/sdb7       985748463  1953520064   483885801    7  HPFS/NTFS
Partition 7 does not start on physical sector boundary.
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
adagio
论坛版主
帖子: 22120
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球
送出感谢: 7 次
接收感谢: 74 次

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#2

帖子 adagio » 2010-05-09 20:20

paragon PM 7.0和9.0都不行啦~~~~~~~~~~
Gparted也不行a~~~~~~~~~~~
:em21 :em21 :em21
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
adagio
论坛版主
帖子: 22120
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球
送出感谢: 7 次
接收感谢: 74 次

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#3

帖子 adagio » 2010-05-09 20:54

ryoohki 写了:会不会是出坏道啦
这个,这个…… :shock:
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53
送出感谢: 0
接收感谢: 108 次

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#4

帖子 onshoestring » 2010-05-09 20:56

把分区全部删除,试试fdisk命令,fdisk以柱面来分区,刚好治这个问题。
http://linux.vbird.org/linux_basic/0230 ... .php#fdisk
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid
送出感谢: 1 次
接收感谢: 23 次

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#5

帖子 leeaman » 2010-05-09 20:58

呵呵,电源供电不足啊,坏道啦
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
adam8157
帖子: 2794
注册时间: 2009-03-05 16:31
送出感谢: 0
接收感谢: 8 次
联系:

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#6

帖子 adam8157 » 2010-05-09 21:05

别激动嘛 最近刚好在看util-linux的代码, 很可能取unit_per_sector, sector_size这几个值的时候计算错误, 硬盘太新, 这些东西有变化...

回17楼: fdisk只是以柱面显示而已, 分的时候也是按扇区分

所以, 你用parted看没问题就没问题咯, 安啦, 不要迷信这些软件, 总有出错的时候
头像
adagio
论坛版主
帖子: 22120
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球
送出感谢: 7 次
接收感谢: 74 次

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#7

帖子 adagio » 2010-05-09 21:14

onshoestring 写了:把分区全部删除,试试fdisk命令,fdisk以柱面来分区,刚好治这个问题。
http://linux.vbird.org/linux_basic/0230 ... .php#fdisk

代码: 全选

sudo fdisk /dev/sdb

The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): p

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a6b23

   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-121601, default 1): 
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-121601, default 121601): +20G

Command (m for help): p

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a6b23

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        2612    20980856+  83  Linux
Partition 1 does not start on physical sector boundary.

Command (m for help): n       
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (2612-121601, default 2612): 
Using default value 2612
Last cylinder, +cylinders or +size{K,M,G} (2612-121601, default 121601): +10G

Command (m for help): p

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a6b23

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        2612    20980856+  83  Linux
Partition 1 does not start on physical sector boundary.
/dev/sdb2            2612        3918    10482416   83  Linux

Command (m for help): q
我见鬼了,还是一样a~~~ :shock:
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
adam8157
帖子: 2794
注册时间: 2009-03-05 16:31
送出感谢: 0
接收感谢: 8 次
联系:

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#8

帖子 adam8157 » 2010-05-09 21:18

The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
这不说的挺清楚么, 逻辑扇区单元小于物理扇区单元 建议对齐, 否则会影响性能

估计你那硬盘实际上是4k的扇区大小, 为了兼容性, 将逻辑大小改到512bytes的...
头像
adam8157
帖子: 2794
注册时间: 2009-03-05 16:31
送出感谢: 0
接收感谢: 8 次
联系:

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#9

帖子 adam8157 » 2010-05-09 21:24

要不你用fdisk分区的时候指定 -b 4096

但是我得提醒你 这样在win下会有兼容性问题
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46
送出感谢: 0
接收感谢: 2 次

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#10

帖子 hcym » 2010-05-09 21:27

这瞎子是真tm瞎

08年就用了2块1T,整盘整用,压根没打算做系统盘

系统盘不会用320或者160,120,80G啊

可靠性,方便性,性能都兼顾

:em20
头像
adam8157
帖子: 2794
注册时间: 2009-03-05 16:31
送出感谢: 0
接收感谢: 8 次
联系:

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#11

帖子 adam8157 » 2010-05-09 21:29

他那个整个盘分一个区都不会对齐, 因为默认新开的分区前面还有别的, 这个起始位置就不齐...
上次由 adam8157 在 2010-06-29 23:28,总共编辑 1 次。
头像
adagio
论坛版主
帖子: 22120
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球
送出感谢: 7 次
接收感谢: 74 次

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#12

帖子 adagio » 2010-05-09 21:33

adaml 写了:要不你用fdisk分区的时候指定 -b 4096

但是我得提醒你 这样在win下会有兼容性问题
这样a,那算了,我还要在win下用的 :em20
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
adagio
论坛版主
帖子: 22120
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球
送出感谢: 7 次
接收感谢: 74 次

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#13

帖子 adagio » 2010-05-09 21:36

代码: 全选

sudo parted -l

Model: ATA WDC WD10EARS-22Y (scsi)
磁盘 /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
分区表:msdos

数字  开始:  End     大小    类型      文件系统  标志
 1    32.3kB  21.0GB  21.0GB  primary   ntfs
 2    21.0GB  31.9GB  10.9GB  primary   ext4
 3    31.9GB  1000GB  968GB   extended
 5    31.9GB  73.8GB  41.9GB  logical   ext4
 6    73.8GB  493GB   419GB   logical   ext4
 7    493GB   1000GB  507GB   logical   ntfs

代码: 全选

sudo fdisk -l
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00097b85

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        2550    20482843+   7  HPFS/NTFS
Partition 1 does not start on physical sector boundary.
/dev/sdb2            2551        3879    10675192+  83  Linux
Partition 2 does not start on physical sector boundary.
/dev/sdb3            3880      121601   945601965    5  Extended
Partition 3 does not start on physical sector boundary.
/dev/sdb5            3880        8978    40957686   83  Linux
Partition 5 does not start on physical sector boundary.
/dev/sdb6            8979       59971   409601241   83  Linux
Partition 6 does not start on physical sector boundary.
/dev/sdb7           59972      121601   495042943+   7  HPFS/NTFS
Partition 7 does not start on physical sector boundary.
parted显示正常,fdisk 就闹心了,我从来没遇上过这种破事 :em20
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
adagio
论坛版主
帖子: 22120
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球
送出感谢: 7 次
接收感谢: 74 次

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#14

帖子 adagio » 2010-05-09 21:40

hcym 写了:这瞎子是真tm瞎

08年就用了2块1T,整盘整用,压根没打算做系统盘

系统盘不会用320或者160,120,80G啊

可靠性,方便性,性能都兼顾

:em20
你个死毛驴省的个啥?有MBR闲着,不用来装个系统玩玩浪费不是?再说这个新盘速度快缓存大性能好洒! :em20
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
adam8157
帖子: 2794
注册时间: 2009-03-05 16:31
送出感谢: 0
接收感谢: 8 次
联系:

Re: 熊哥快来a~~Partition 1 does not start on physical sector bou

#15

帖子 adam8157 » 2010-05-09 21:44

Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
你看这输出, 明明白白...
回复

回到 “系统安装和升级”