LinuxSir.cn,穿越时空的Linuxsir!

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

NTFS文件系统出错

[复制链接]
发表于 2007-6-17 01:18:57 | 显示全部楼层 |阅读模式
下午将Debian和Windows XP双系统的Windows下的D盘删除,后无法进入Debian系统,经过一番折腾,现在能进入了,但mount C盘时出现:
Unexpected clusters per mft record (-1).
Failed to startup volume: Invalid argument
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?

估计当时grub-install /dev/sda1(windows的C盘)或者/dev/sda5(/分区)之类的造成的?

现在Windows系统也进入不了,在Debian下也无法mount上去,怎么处理?多谢!
------------------------------------
~-#fdisk -l /dev/sda1

Disk /dev/sda1: 15.7 GB, 15730573824 bytes
255 heads, 63 sectors/track, 1912 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

     Device Boot      Start         End      Blocks   Id  System
/dev/sda1p1   ?       13578      119522   850995205   72  Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda1p2   ?       45382       79243   271987362   74  Unknown
Partition 2 does not end on cylinder boundary.
/dev/sda1p3   ?       10499       10499           0   65  Novell Netware 386
Partition 3 does not end on cylinder boundary.
/dev/sda1p4          167628      167631       25817+   0  Empty
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order
------------------------------------
~-#fdisk -l /dev/sda

Disk /dev/sda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2032    15361888+   7  HPFS/NTFS
/dev/sda2            2033       10337    62785769    f  W95 Ext'd (LBA)
/dev/sda5            3388        5429    15430401   83  Linux
/dev/sda6            5429        5494      489951   82  Linux swap / Solaris
/dev/sda7            5494       10338    36620136   83  Linux
/dev/sda8            2033        3387    10243737+  83  Linux

Partition table entries are not in disk order

-----------------------------------
grub/menu.list对应Windows的:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title           Microsoft Windows XP Professional
root            (hd0,0)
savedefault
makeactive
chainloader     +1
发表于 2007-6-17 02:13:21 | 显示全部楼层
你是在linux or xp下删的d 盘?

你的分区表有问题了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-17 08:16:47 | 显示全部楼层
是在windows下删除的,但当时grub有问题,我利用livecd启动chroot后,执行了grub-install /dev/sda1和grub-install /dev/sda5

我也估计是分区表出了问题,可有法子修复?多谢!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-17 17:01:01 | 显示全部楼层
折腾了半天终于mount起来了,操作过程中整个分区表都给搞丢了,还好有记录一步步的恢复,心惊胆战阿。
现在Linux系统运行正常,但windows死活启动不起来了
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            3189        9729    52540582+   f  W95 Ext'd (LBA)
/dev/sda2   *           1        2032    16322008+   7  HPFS/NTFS
以前的是:
dev/sda1 * 1 2032 15361888+ 7 HPFS/NTFS
/dev/sda2 2033 10337 62785769 f W95 Ext'd (LBA)

grub启动windows时显示:unknown partition type: 0x7
回复 支持 反对

使用道具 举报

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

本版积分规则

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