免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7559 | 回复: 4
打印 上一主题 下一主题

帮我看看 Partition table entries are not in disk order [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-29 19:09 |只看该作者 |倒序浏览
fdisk -l

出现下面提示:  是为什么呢

Partition table entries are not in disk order


我该怎么办呢,重启后会出问题吗????

论坛徽章:
0
2 [报告]
发表于 2008-03-01 16:25 |只看该作者

回复 #1 chinaorg 的帖子

自己顶一下,有人回答我吗

论坛徽章:
0
3 [报告]
发表于 2008-03-01 18:23 |只看该作者
原帖由 chinaorg 于 2008-2-29 19:09 发表
fdisk -l
出现下面提示:  是为什么呢
Partition table entries are not in disk order
我该怎么办呢,重启后会出问题吗????


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


  1. ]# fdisk /dev/hda

  2. The number of cylinders for this disk is set to 9729.
  3. There is nothing wrong with that, but this is larger than 1024,
  4. and could in certain setups cause problems with:
  5. 1) software that runs at boot time (e.g., old versions of LILO)
  6. 2) booting and partitioning software from other OSs
  7.    (e.g., DOS FDISK, OS/2 FDISK)

  8. Command (m for help): p

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

  12.    Device Boot      Start         End      Blocks   Id  System
  13. /dev/hda1               1           7       56196   83  Linux
  14. /dev/hda2               8        9729    78091965    5  Extended
  15. /dev/hda5               8         105      787153+  82  Linux swap / Solaris
  16. /dev/hda6             106         349     1959898+  83  Linux
  17. /dev/hda7             350         654     2449881   83  Linux
  18. /dev/hda8             655         752      787153+  83  Linux
  19. /dev/hda9             753         899     1180746   83  Linux
  20. /dev/hda10            900        9729    70926943+  83  Linux

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

  23. Command (m for help): p

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

  27.    Device Boot      Start         End      Blocks   Id  System
  28. /dev/hda1               1           7       56196   83  Linux
  29. /dev/hda2               8        9729    78091965    5  Extended
  30. /dev/hda5               8         105      787153+  82  Linux swap / Solaris
  31. /dev/hda6             106         349     1959898+  83  Linux
  32. /dev/hda7             350         654     2449881   83  Linux
  33. /dev/hda8             655         752      787153+  83  Linux
  34. /dev/hda9             900        9729    70926943+  83  Linux

  35. Command (m for help): n
  36. Command action
  37.    l   logical (5 or over)
  38.    p   primary partition (1-4)
  39. l
  40. First cylinder (753-9729, default 753):
  41. Using default value 753
  42. Last cylinder or +size or +sizeM or +sizeK (753-899, default 899):
  43. Using default value 899

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

  48.    Device Boot      Start         End      Blocks   Id  System
  49. /dev/hda1               1           7       56196   83  Linux
  50. /dev/hda2               8        9729    78091965    5  Extended
  51. /dev/hda5               8         105      787153+  82  Linux swap / Solaris
  52. /dev/hda6             106         349     1959898+  83  Linux
  53. /dev/hda7             350         654     2449881   83  Linux
  54. /dev/hda8             655         752      787153+  83  Linux
  55. /dev/hda9             900        9729    70926943+  83  Linux
  56. /dev/hda10            753         899     1180746   83  Linux

  57. Partition table entries are not in disk order
复制代码


要修正很簡單...


  1. Command (m for help): x
  2. Expert command (m for help): m
  3. Command action
  4.    b   move beginning of data in a partition
  5.    c   change number of cylinders
  6.    d   print the raw data in the partition table
  7.    e   list extended partitions
  8.    f   fix partition order
  9.    g   create an IRIX (SGI) partition table
  10.    h   change number of heads
  11.    m   print this menu
  12.    p   print the partition table
  13.    q   quit without saving changes
  14.    r   return to main menu
  15.    s   change number of sectors/track
  16.    v   verify the partition table
  17.    w   write table to disk and exit

  18. Expert command (m for help): f
  19. Done.

  20. Expert command (m for help): r

  21. Command (m for help): p

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

  25.    Device Boot      Start         End      Blocks   Id  System
  26. /dev/hda1               1           7       56196   83  Linux
  27. /dev/hda2               8        9729    78091965    5  Extended
  28. /dev/hda5               8         105      787153+  82  Linux swap / Solaris
  29. /dev/hda6             106         349     1959898+  83  Linux
  30. /dev/hda7             350         654     2449881   83  Linux
  31. /dev/hda8             655         752      787153+  83  Linux
  32. /dev/hda9             753         899     1180746   83  Linux
  33. /dev/hda10            900        9729    70926943+  83  Linux

复制代码


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

--

论坛徽章:
0
4 [报告]
发表于 2008-05-11 13:43 |只看该作者
太好了!我正好遇到这个问题

论坛徽章:
0
5 [报告]
发表于 2008-09-08 13:10 |只看该作者
我也正是这个问题,测试下。谢谢先.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP