\u4fee\u6539\u5b8c\u5bc6\u7801\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u91cd\u542f\u7cfb\u7edf\uff1a<\/p>\n
\nreboot -f\n<\/pre>\n<\/p>\n\u7b49\u5f85\u7cfb\u7edf\u91cd\u542f\u5b8c\u6210\u540elinux\u670d\u52a1\u5668\u7cfb\u7edf\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u4f7f\u7528\u65b0\u5bc6\u7801\u767b\u5f55\u4e86\u3002<\/p>\n
5.\u4f7f\u7528rescue\u6a21\u5f0f\u91cd\u7f6e\u5bc6\u7801<\/b><\/p>\n
\u5982\u679c\u65e0\u6cd5\u8fdb\u5165\u5355\u7528\u6237\u6a21\u5f0f\uff0c\u6216\u8005\u4e0a\u8ff0\u65b9\u6cd5\u65e0\u6548\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528rescue\u6a21\u5f0f\u6765\u91cd\u7f6e\u5bc6\u7801\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n
-\u5728grub\u83dc\u5355\u754c\u9762\u9009\u62e9\u201cTroubleshooting\u201d\uff0c\u7136\u540e\u9009\u62e9\u201cRescue a Red Hat Enterprise Linux system\u201d\uff1b<\/p>\n
-\u9009\u62e9\u9700\u8981\u8fdb\u884c\u64cd\u4f5c\u7684\u8bed\u8a00\uff0c\u5e76\u9009\u62e9\u201cContinue\u201d\uff1b<\/p>\n
-\u9009\u62e9\u9700\u8981\u6302\u8f7d\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u5e76\u9009\u62e9\u201cContinue\u201d\uff1b<\/p>\n
-\u5728\u547d\u4ee4\u884c\u4e0b\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
\n
\nchroot \/mnt\/sysimage\npasswd root\n<\/pre>\n<\/p>\n\u8f93\u5165\u65b0\u5bc6\u7801\u5e76\u786e\u8ba4\u5373\u53ef\u3002<\/p>\n
6.\u4f7f\u7528Live CD\u91cd\u7f6e\u5bc6\u7801<\/b><\/p>\n
\u5982\u679c\u4ee5\u4e0a\u65b9\u6cd5\u90fd\u65e0\u6548\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528Live CD\u6765\u91cd\u7f6e\u5bc6\u7801\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n
-\u4e0b\u8f7d\u5e76\u5236\u4f5c\u4e00\u4e2a\u7ea2\u5e3dLinux\u7cfb\u7edf\u7684Live CD\uff1b<\/p>\n
-\u5c06Live CD\u63d2\u5165\u8ba1\u7b97\u673a\u5e76\u542f\u52a8\uff1b<\/p>\n
<\/p>\n
-\u8fdb\u5165Live CD\u7cfb\u7edf\u540e\uff0c\u5728\u547d\u4ee4\u884c\u4e0b\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
\n
\nchroot \/mnt\/sysimage\npasswd root\n<\/pre>\n<\/p>\n\u8f93\u5165\u65b0\u5bc6\u7801\u5e76\u786e\u8ba4\u5373\u53ef\u3002<\/p>\n
7.\u907f\u514d\u5fd8\u8bb0\u5bc6\u7801<\/b><\/p>\n
\u4e3a\u4e86\u907f\u514d\u5fd8\u8bb0\u5bc6\u7801\uff0c\u6211\u4eec\u5efa\u8bae\u4f7f\u7528\u5f3a\u5bc6\u7801linux\u865a\u62df\u4e3b\u673a\uff0c\u5e76\u5c06\u5176\u8bb0\u5f55\u5728\u5b89\u5168\u7684\u5730\u65b9\u3002\u540c\u65f6\uff0c\u5b9a\u671f\u66f4\u6539\u5bc6\u7801\u4e5f\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u4e60\u60ef\u3002<\/p>\n
8.\u603b\u7ed3<\/b><\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86\u5728\u7ea2\u5e3dLinux\u7cfb\u7edf\u4e2d\u91cd\u7f6eroot\u5bc6\u7801\u7684\u51e0\u79cd\u65b9\u6cd5\uff0c\u5305\u62ec\u8fdb\u5165\u5355\u7528\u6237\u6a21\u5f0f\u3001\u4f7f\u7528rescue\u6a21\u5f0f\u548cLive CD\u7b49\u3002\u5728\u5b9e\u9645\u4f7f\u7528\u4e2d\uff0c\u6211\u4eec\u5e94\u8be5\u6839\u636e\u5177\u4f53\u60c5\u51b5\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684\u65b9\u6cd5\uff0c\u5e76\u6ce8\u610f\u4fdd\u62a4\u597d\u81ea\u5df1\u7684root\u5bc6\u7801\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u91cd\u7f6e\u7ea2\u5e3dLinux\u7cfb\u7edf\u7684root\u5bc6\u7801\u3002\u5728\u5355\u7528\u6237\u6a21\u5f0f\u4e0b\uff0c\u6211\u4eec\u9700\u8981\u6302\u8f7d\u6587\u4ef6\u7cfb\u7edf\u3002\u8fd9\u4e2a\u547d\u4ee4\u5c06\u6587\u4ef6\u7cfb\u7edf\u91cd\u65b0\u6302\u8f7d\u4e3a\u8bfb\u5199\u6a21\u5f0f\u3002\u4fee\u6539root\u5bc6\u7801\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528passwd\u547d\u4ee4\u4fee\u6539root\u5bc6\u7801\uff1a\u4fee\u6539\u5b8c\u5bc6\u7801\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u91cd\u542f\u7cfb\u7edf\uff1a\u7b49\u5f85\u7cfb\u7edf\u91cd\u542f\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u4f7f\u7528\u65b0\u5bc6\u7801\u767b\u5f55\u4e86\u3002\u4f7f\u7528rescue\u6a21\u5f0f\u91cd\u7f6e\u5bc6\u7801<\/p>\n","protected":false},"author":1,"featured_media":274825,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-274824","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/274824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=274824"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/274824\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/274825"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=274824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=274824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=274824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}