加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

partition  table entries are not in disk order

(2010-07-26 20:40:02)
标签:

for

of

help

order

it

分类: Linux

使用fdisk -l 命令

提示:partition  table entries are not in disk order

转载:http://linux.chinaunix.net/bbs/thread-979302-1-1.html

 

不會有問題, 只是分割區的位置順序位置沒依照順序而已, 這常發生於你刪除前面的分割區後又再次劃分新的分割區所以引起該問題...
]# fdisk /dev/hda

The number of cylinders for this disk is set to 9729.
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/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1                             56196   83  Linux
/dev/hda2                     9729    78091965    Extended
/dev/hda5                      105      787153+  82  Linux swap / Solaris
/dev/hda6             106         349     1959898+  83  Linux
/dev/hda7             350         654     2449881   83  Linux
/dev/hda8             655         752      787153+  83  Linux
/dev/hda9             753         899     1180746   83  Linux
/dev/hda10            900        9729    70926943+  83  Linux

Command (m for help): d
Partition number (1-10): 9

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1                             56196   83  Linux
/dev/hda2                     9729    78091965    Extended
/dev/hda5                      105      787153+  82  Linux swap / Solaris
/dev/hda6             106         349     1959898+  83  Linux
/dev/hda7             350         654     2449881   83  Linux
/dev/hda8             655         752      787153+  83  Linux
/dev/hda9             900        9729    70926943+  83  Linux

Command (m for help): n
Command action
    logical (5 or over)
    primary partition (1-4)
l
First cylinder (753-9729, default 753):
Using default value 753
Last cylinder or +size or +sizeM or +sizeK (753-899, default 899):
Using default value 899

Command (m for help): p
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1                             56196   83  Linux
/dev/hda2                     9729    78091965    Extended
/dev/hda5                      105      787153+  82  Linux swap / Solaris
/dev/hda6             106         349     1959898+  83  Linux
/dev/hda7             350         654     2449881   83  Linux
/dev/hda8             655         752      787153+  83  Linux
/dev/hda9             900        9729    70926943+  83  Linux
/dev/hda10            753         899     1180746   83  Linux

Partition table entries are not in disk order

 

要修正很簡單...

Command (m for help): x
Expert command (m for help): m
Command action
    move beginning of data in a partition
    change number of cylinders
    print the raw data in the partition table
    list extended partitions
    fix partition order
    create an IRIX (SGI) partition table
    change number of heads
    print this menu
    print the partition table
    quit without saving changes
    return to main menu
    change number of sectors/track
    verify the partition table
    write table to disk and exit

Expert command (m for help): f
Done.

Expert command (m for help): r

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1                             56196   83  Linux
/dev/hda2                     9729    78091965    Extended
/dev/hda5                      105      787153+  82  Linux swap / Solaris
/dev/hda6             106         349     1959898+  83  Linux
/dev/hda7             350         654     2449881   83  Linux
/dev/hda8             655         752      787153+  83  Linux
/dev/hda9             753         899     1180746   83  Linux
/dev/hda10            900        9729    70926943+  83  Linux

 

不過注意你有改過分割表配置, 確認 /etc/fstab 甚至 /boot/grub/menu.lst 內配置要對應好, 以免發生開機失敗的問題.

 

0

阅读 收藏 喜欢 打印举报/Report
前一篇:电话英语
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有