반응형
1. 처음 부팅 할 때 화살표 키 등을 움직여서 grub 목록을 나타나게 합니다. 그리고 'e' 를 타이핑 합니다.
2. 위 화면과 같이 나오면 kernel 로 이동 후 다시 'e'를 타이핑.
3. 위 화면이 나타 나면 마지막 줄에 한칸 뛰고 '1'을 입력.
4. '1'을 입력 한 화면입니다..'single'도 된다고 합니다. 그리고 enter를 누릅니다.
5. 다시 이전 화면으로 돌아 오면 'b'를 누릅니다. 그럼 single 모드로 부팅이 됩니다. single 모드는 별도의 인증 없이 root권한으로 접근이 되는 모드입니다.
6. passwd 명령어를 입력해서 root password를 새로 생성하여 줍니다. 아래를 참고 하세요..
출처 : http://www.cyberciti.biz/faq/grub-boot-into-single-user-mode/
Boot Linux Grub Into Single User Mode
Q. How do I boot a Linux system into single user mode?
A. Single user mode is useful to fix some system problem. Following are steps you need to use to boot Grub boot loader into single user mode.
Procedure: Boot Linux Grub Boot Loader into single user mode
(1) At grub boot screen (after restart)
(2) Select the kernel
(3) Press the e key to edit the entry
(4) Select second line (the line starting with the word kernel)
(5) Press the e key to edit kernel entry so that you can append single user mode
(6) Append the letter S (or word Single) to the end of the (kernel) line
(7) Press ENTER key
(8) Now press the b key to boot the Linux kernel into single user mode
(9) When prompted give root password and you be allowed to login into single user mode.