- 오류 발생 : vi /etc/fstab 명령어를 이용하여 파일을 수정하고, reboot를 했을 때 오류가 났다.
Welcome to emergency mode! After logging in, type "journalctl -xb" to viewsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.
Give root password for maintenance
(or type Control-D to continue)
- 오류 해결 도전
- 오류 화면에서 나타난 'journalctl -xb', 'systemctl reboot', 'exit' 이 3가지 명령어를 모두 실행해보았지만, 실패했다.
- 구글링을 통해 깔으라던 모든 프로그램을 깔았지만, 프로그램이 깔리지도 않고, 오류 해결도 되지 않았다.
- ★ fstab 파일을 수정했다. 그리고 다시 재부팅에 성공했다 ★
- 해결 방법
- 나는 간단하게 fstab에 있는 것을 한 줄씩 지워봤다. 그리고 아쉽지만, 모든 행을 다 지웠을 때, 비로소 재부팅에 성공했다.
- cmd 화면에서 vi /etc/fstab 명령어를 입력하고 들어가, 파일을 수정해보길 권한다.
- 참고: https://learn.microsoft.com/ko-kr/troubleshoot/azure/virtual-machines/linux-virtual-machine-cannot-start-fstab-errors
'Error Party' 카테고리의 다른 글
Pytorch 가상환경에 설치 후 오류 module 'torch' has no attribute '__version__' (0) | 2024.06.09 |
---|---|
[VSCode] VSCode 터미널 무반응 ... (0) | 2023.04.13 |
[VSCode] 터미널 창 키면 바로 사라짐 / VSCode "The terminal process terminated with exit code: 1" (0) | 2023.03.29 |
[Linux] 쉘스크립트 실행 시 "명령을 찾을 수 없습니다" (0) | 2022.11.10 |
[Linux] 디스크 관리 mount 오류 (0) | 2022.11.01 |