실수로 내 / etc / default 폴더를 삭제했습니다 중입니다. 부팅하면 다음과 같이 말합니다. Filesystem

실수로 /etc/default폴더를 삭제했습니다 . 이제 컴퓨터가 부팅되지 않습니다. Ubuntu 14.04 LTS를 실행 중입니다. 부팅하면 다음과 같이 말합니다.

Filesystem check or mount failed.
A maintenance shell will now be started.CONTROL-D will terminate this shell and continue booting after re-trying filesystems. Any further errors will be ignored.

이 컴퓨터는 매우 중요한 컴퓨터이므로 가동 중지 시간이 발생하지 않습니다.



답변

우분투 라이브 디스크에서 바로 부팅은 복사 할 /etc/default디렉토리 ( 라이브 디스크를 받는 사람) /etc(디렉토리 우분투 실제로 설치되어있는 파티션에있는 )

sudo mkdir /media/os
sudo mount /dev/sdaX /media/os   # Mounting the root partition on /media/os directory.
sudo cp -Ri /etc/default /media/os/etc
sudo umount /dev/sdaX

하드 디스크를 종료하고 부팅하십시오. 그것이 효과가 있기를 바랍니다.


답변