[ GNU Grub Mode ]

서버 앞에 서서 ..
1> ctrl + alt + del  (reboot)
    esc ^^
2> e -> GNU Grub 모드
3> CentOS (2.6.9-34.EL) /  CentOS-4 i386 (2.6.9-22.EL)  선택(택1)
    e -> (edit모드)

4> root (hd0,0)
    kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/
    initrd /initrd-2.6.9-34.EL.img
    kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/
    e -> (edit모드)

5> grub edit > kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/
    space key로 한칸 1 입력 -> single mode
    1 또는 single mode / single 입력 ^^
    grub edit > kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/ 1
    grub edit > kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/ signer
    b -> (boot)

6> sh-3.2# passwd / sh-3.2# passwd root
    새로운 비밀번호 지정
    sh-3.2# reboot

 

Posted by 꼬마요정엘프
,