chinaorg
帮我看看 Partition table entries are not in disk order
fdisk -l
出现下面提示: 是为什么呢
Partition table entries are not in disk order
我该怎么办呢,重启后会出问题吗????
kenduest
[quote]原帖由 [i]chinaorg[/i] 于 2008-2-29 19:09 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6516888&ptid=979302][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]
fdisk -l
出现下面提示: 是为什么呢
Partition table entries are not in disk order
我该怎么办呢,重启后会出问题吗???? [/quote]
不會有問題, 只是分割區的位置順序位置沒依照順序而已, 這常發生於你刪除前面的分割區後又再次劃分新的分割區所以引起該問題...
[code]
]# 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 1 7 56196 83 Linux
/dev/hda2 8 9729 78091965 5 Extended
/dev/hda5 8 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 1 7 56196 83 Linux
/dev/hda2 8 9729 78091965 5 Extended
/dev/hda5 8 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
l logical (5 or over)
p 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 1 7 56196 83 Linux
/dev/hda2 8 9729 78091965 5 Extended
/dev/hda5 8 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
[/code]
要修正很簡單...
[code]
Command (m for help): x
Expert command (m for help): m
Command action
b move beginning of data in a partition
c change number of cylinders
d print the raw data in the partition table
e list extended partitions
f fix partition order
g create an IRIX (SGI) partition table
h change number of heads
m print this menu
p print the partition table
q quit without saving changes
r return to main menu
s change number of sectors/track
v verify the partition table
w 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 1 7 56196 83 Linux
/dev/hda2 8 9729 78091965 5 Extended
/dev/hda5 8 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
[/code]
不過注意你有改過分割表配置, 確認 /etc/fstab 甚至 /boot/grub/menu.lst 內配置要對應好, 以免發生開機失敗的問題.
--