|
|

楼主 |
发表于 2008-3-1 10:52:31
|
显示全部楼层
終于解決了,謝謝大家!
Solution:
----------------------------------------------------
問題可能的起因:
機子里是有兩個系統,一個是Debian,一個是WinXP,由于我重裝了XP,把硬盤啟動塊資料給刪了,所以裝了XP后,用Debian安裝盤引導進 / ,重裝grub,
然后,開機引導系統就會出現這個錯誤 (fsck 錯誤號8)fsck 1.40.6 (09-Feb-2008)
fsck.ext3: Bad magic number in super-block while trying to open /dev/hda9
/dev/hda9:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
fsck died with exit status 8 ----------------------------------------------------
解決辦法: 修改fstab
我的機子/dev/hda7原來是mount /
/dev/hda8 mount /home
/dev/hda9 mount swap
不知道為什麼,重裝grub后,發現原來的fstab文件會是這個樣子# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda8 / ext3 defaults,errors=remount-ro 0 1
/dev/hda9 /home ext3 defaults 0 2
/dev/hda7 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hda1 /mnt/c ntfs nls=utf8,umask=222,user 0 0
/dev/hda5 /mnt/d ntfs nls=utf8,umask=222,user 0 0
/dev/hda6 /mnt/e ntfs nls=utf8,umask=222,user 0 0 后來手動改了配置,變為# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda7 / ext3 defaults,errors=remount-ro 0 1
/dev/hda9 none swap sw 0 0
/dev/hda8 /home ext3 defaults 0 2
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hda1 /mnt/c ntfs nls=utf8,umask=222,user 0 0
/dev/hda5 /mnt/d ntfs nls=utf8,umask=222,user 0 0
/dev/hda6 /mnt/e ntfs nls=utf8,umask=222,user 0 0 就搞好了,現在一切正常! |
|