증상

부팅시 다음과 같은 에러가 발생하고 부팅 불가

fsck.ext4: No such file or directory while trying to open /dev/ROOT
/dev/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 you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Filesystem couldn't be fixed :(

 

원인

  1. Root partition 이 ext4 이나 fsck.ext4 프로그램이 삭제되어 부팅시 mount 불가
  2. /etc/fstab 의 해당 파티션이 잘못 기술되어 있음

 

해결

  1. ext4 file system 관련 유틸리티 설치

    yum install e2fsprogs
  2. /etc/fstab 를 검토하고 잘못된 부분 수정

    /etc/fstab 예제

    # /etc/fstab
    # Created by anaconda on Thu Jan 31 20:38:55 2013
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    /dev/mapper/vg_sheep-lv_root /                       ext4    defaults        1 1
    UUID=f949bf5d-5408-42ac-8618-0069d36ba955 /boot                   ext4    defaults        1 2
    /dev/mapper/vg_sheep-lv_home /home                   ext4    defaults        1 2
    /dev/mapper/vg_sheep-lv_swap swap                    swap    defaults        0 0
    tmpfs                   /dev/shm                tmpfs   defaults        0 0
    devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
    sysfs                   /sys                    sysfs   defaults        0 0
    proc                    /proc                   proc    defaults        0 0                                                                                           
    BASH

Ref