LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1009|回复: 2

linux磁盘分区的问题

[复制链接]
发表于 2006-1-16 23:45:10 | 显示全部楼层 |阅读模式
磁盘分区有点奇怪, 求教Partition table entries are not in disk order是什么意思? 要怎么解决?


yangcheng@ubuntu:~$ sudo fdisk -l

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        2429    19510911   83  Linux
/dev/hda2            2430        9540    57119107+   5  Extended
/dev/hda5            6307        9540    25977042   83  Linux
/dev/hda6            2430        2522      746959+  82  Linux swap / Solaris
/dev/hda7            2523        6306    30394948+  83  Linux

Partition table entries are not in disk order

Disk /dev/sda: 129 MB, 129284608 bytes
5 heads, 63 sectors/track, 801 cylinders
Units = cylinders of 315 * 512 = 161280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         801      126126    6  FAT16
另外. 单独列出分区会说没有磁盘分区表
yangcheng@ubuntu:~$ sudo fdisk -l /dev/hda1

Disk /dev/hda1: 19.9 GB, 19979172864 bytes
255 heads, 63 sectors/track, 2428 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hda1 doesn't contain a valid partition table

平时使用没发现什么问题 .就是机器不能安装windows
发表于 2006-1-17 14:35:57 | 显示全部楼层
应该先安装windows,再安装Linux,而且硬盘的第一个分区要留给windows来用。你这里已经把/dev/hda1给占了,当然就不能再装windows了。建议你全部重新来过吧。
回复 支持 反对

使用道具 举报

发表于 2006-1-17 17:48:13 | 显示全部楼层
fdisk /dev/hda
x
f
w

执行完,你看看你的分区是否顺序正确?记得要在 /etc/fstab和/boot/grub/menu.lst 更新相应的改变。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表