학원컴 부팅시 에러 [제대로 고쳤는지 좀 봐주세요]
학원 컴 부팅을 하던 중에 아래와 같은 에러가 뜨면 서 멈췄습니다.
다행히 고치기는 했는데 제대로 고친건지 궁금하고 또 아래 내용이무엇인지 궁금합니다.
checking root filesystem
/ contains a file system with errors, check forced.
/: Unattached inode 552561
/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
[FAILED]
***An error occured during the file system check.
***Dropping you to a shell; the system will reboot
***when you leave the shell.
Give root passwd for maintenance
(or type Control-D for normal startup):
취한 조치
# fsck /dev/hda2
나오는 내용에 모두 엔터(yes)
/:*********FILESYSTEM WAS MODIFIED *********
/: 163854/1311552 files (0.1% non-contiguous), 714026/2622611 blocks
(Repair filesystem) 4#fsck /dev/hda2
Parrallelizing fsck version 1.19 (13-jul-2000)
e2fsck 1.19, 13-jul-2000 for EXT2FS 0.5b, 95/08/09
/: clean, 163854/1311552 files, 714026/2622611 blocks
(Repair filesystem) 5#pwd
/root
(Repair filesystem) 6# fsck /dev/hda2/root
Parrallelizing fsck version 1.19 (13-jul-2000)
e2fsck 1.19, 13-jul-2000 for EXT2FS 0.5b, 95/08/09
fsck.ext2: Not a directory while trying to open /dev/hda2/root
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 youmight try running e2fsck with alternate superblock:
e2fsck -b 8193 <device>
(Repair filesystem) 7#reboot
*
*
*
컴이 살아나기는 했는데 위의 내용들이 궁금합니다.
무슨 내용인지 그리고 제가 컴을 제대로 살리기는 했는지...
그리고 다시 실행 시킨 다음에 xwindow환경에서 e2fsck -p /dev/hda2실행 시켰습니다.
이게 잘한 건지도 말씀 부탁드립니다.
댓글 달기