Linux也修复了

字体: | 打印

我的是Gentoo Linux,原先安装时我是刻了张LiveCD的.现在我先用LiveCD启动到光盘里的linux内核.然后mount 了Linux分区,还是提示有问题,没法挂载.我就用e2fsck -p(这是 Automatic repair).想不到没一会儿就OK,也可以mount了.

e2fsck

Emergency help:
-p                   Automatic repair (no questions)
-n                   Make no changes to the filesystem
-y                   Assume "yes" to all questions
-c                   Check for bad blocks and add them to the badblock list
-f                   Force checking even if filesystem is marked clean
-v                   Be verbose
-b superblock        Use alternative superblock
-B blocksize         Force blocksize when looking for superblock
-j external_journal  Set location of the external journal
-l bad_blocks_file   Add to badblocks list
-L bad_blocks_file   Set badblocks list