{"id":98,"date":"2019-02-10T17:45:15","date_gmt":"2019-02-10T09:45:15","guid":{"rendered":"http:\/\/b.yesiyu.top\/?p=98"},"modified":"2019-02-10T17:45:15","modified_gmt":"2019-02-10T09:45:15","slug":"linux-%e5%bf%98%e8%ae%b0%e5%af%86%e7%a0%81%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/b.yesiyu.top\/?p=98","title":{"rendered":"Linux \u5fd8\u8bb0\u5bc6\u7801\u89e3\u51b3\u65b9\u6cd5"},"content":{"rendered":"<h1><span class=\"color_h1\">Linux\u00a0<\/span>\u5fd8\u8bb0\u5bc6\u7801\u89e3\u51b3\u65b9\u6cd5<\/h1>\n<p>\u5f88\u591a\u670b\u53cb\u7ecf\u5e38\u4f1a\u5fd8\u8bb0Linux\u7cfb\u7edf\u7684root\u5bc6\u7801\uff0clinux\u7cfb\u7edf\u5fd8\u8bb0root\u5bc6\u7801\u7684\u60c5\u51b5\u8be5\u600e\u4e48\u529e\u5462\uff1f\u91cd\u65b0\u5b89\u88c5\u7cfb\u7edf\u5417\uff1f\u5f53\u7136\u4e0d\u7528\uff01\u8fdb\u5165\u5355\u7528\u6237\u6a21\u5f0f\u66f4\u6539\u4e00\u4e0broot\u5bc6\u7801\u5373\u53ef\u3002<\/p>\n<p>\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<h3>\u91cd\u542flinux\u7cfb\u7edf<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_21.png\" alt=\"4_21\" width=\"644\" height=\"371\" \/><\/p>\n<p>3\u00a0\u79d2\u4e4b\u5185\u8981\u6309\u4e00\u4e0b\u56de\u8f66\uff0c\u51fa\u73b0\u5982\u4e0b\u754c\u9762<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_22.png\" alt=\"4_22\" width=\"644\" height=\"483\" \/><\/p>\n<p>\u7136\u540e\u8f93\u5165e<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_23.png\" alt=\"4_23\" width=\"602\" height=\"220\" \/><\/p>\n<p>\u5728\u00a0\u7b2c\u4e8c\u884c\u6700\u540e\u8fb9\u8f93\u5165\u00a0single\uff0c\u6709\u4e00\u4e2a\u7a7a\u683c\u3002\u5177\u4f53\u65b9\u6cd5\u4e3a\u6309\u5411\u4e0b\u5c16\u5934\u79fb\u52a8\u5230\u7b2c\u4e8c\u884c\uff0c\u6309&#8221;e&#8221;\u8fdb\u5165\u7f16\u8f91\u6a21\u5f0f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_24.png\" alt=\"4_24\" width=\"642\" height=\"127\" \/>\u5728\u540e\u8fb9\u52a0\u4e0asingle\u00a0\u56de\u8f66<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_25.png\" alt=\"4_25\" width=\"584\" height=\"57\" \/><\/p>\n<p>\u6700\u540e\u6309&#8221;b&#8221;\u542f\u52a8\uff0c\u542f\u52a8\u540e\u5c31\u8fdb\u5165\u4e86\u5355\u7528\u6237\u6a21\u5f0f\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_26.png\" alt=\"4_26\" width=\"720\" height=\"400\" \/><\/p>\n<p>\u6b64\u65f6\u5df2\u7ecf\u8fdb\u5165\u5230\u5355\u7528\u6237\u6a21\u5f0f\u4e86\uff0c\u4f60\u53ef\u4ee5\u66f4\u6539root\u5bc6\u7801\u4e86\u3002\u66f4\u5bc6\u7801\u7684\u547d\u4ee4\u4e3a\u00a0passwd<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_27.png\" alt=\"4_27\" width=\"720\" height=\"82\" \/><\/p>\n<p>\u3010<b>\u4f7f\u7528\u7cfb\u7edf\u5b89\u88c5\u5149\u76d8\u7684\u6551\u63f4\u6a21\u5f0f<\/b>\u3011<\/p>\n<p>\u6551\u63f4\u6a21\u5f0f\u5373rescue\u00a0\uff0c\u8fd9\u4e2a\u6a21\u5f0f\u4e3b\u8981\u662f\u5e94\u7528\u4e8e\uff0c\u7cfb\u7edf\u65e0\u6cd5\u8fdb\u5165\u7684\u60c5\u51b5\u3002\u5982\uff0cgrub\u635f\u574f\u6216\u8005\u67d0\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6\u4fee\u6539\u51fa\u9519\u3002\u5982\u4f55\u4f7f\u7528rescue\u6a21\u5f0f\u5462\uff1f<\/p>\n<p>\u5149\u76d8\u542f\u52a8\uff0c\u6309F5\u00a0\u8fdb\u5165rescue\u6a21\u5f0f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_28.png\" alt=\"4_28\" width=\"650\" height=\"159\" \/><\/p>\n<p>\u8f93\u5165linux rescue\u00a0\u56de\u8f66<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_29.png\" alt=\"4_29\" width=\"649\" height=\"81\" \/><\/p>\n<p>\u9009\u62e9\u8bed\u8a00\uff0c\u7b14\u8005\u5efa\u8bae\u4f60\u9009\u62e9\u82f1\u8bed<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_30.png\" alt=\"4_30\" width=\"724\" height=\"401\" \/><\/p>\n<p>\u9009\u62e9us\u00a0\u952e\u76d8<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_31.png\" alt=\"4_31\" width=\"400\" height=\"333\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_32.png\" alt=\"4_32\" width=\"371\" height=\"202\" \/><\/p>\n<p>\u8fd9\u91cc\u95ee\u4f60\u662f\u5426\u542f\u52a8\u7f51\u7edc\uff0c\u6709\u65f6\u5019\u53ef\u80fd\u4f1a\u8054\u7f51\u8c03\u8bd5\u3002\u6211\u4eec\u9009no<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_33.png\" alt=\"4_33\" width=\"480\" height=\"356\" \/><\/p>\n<p>\u8fd9\u91cc\u544a\u8bc9\u6211\u4eec\uff0c\u63a5\u4e0b\u6765\u4f1a\u628a\u7cfb\u7edf\u6302\u8f7d\u5728\/mnt\/sysimage\u00a0\u4e2d\u3002<\/p>\n<p>\u5176\u4e2d\u6709\u4e09\u4e2a\u9009\u9879:<\/p>\n<ul>\n<li>Continue\u00a0\u5c31\u662f\u6302\u8f7d\u540e\u7ee7\u7eed\u4e0b\u4e00\u6b65\u3002<\/li>\n<li>Read-Only\u00a0\u6302\u8f7d\u6210\u53ea\u8bfb\uff0c\u8fd9\u6837\u66f4\u5b89\u5168\uff0c\u6709\u65f6\u6587\u4ef6\u7cfb\u7edf\u635f\u574f\u65f6\uff0c\u53ea\u8bfb\u6a21\u5f0f\u4f1a\u9632\u6b62\u6587\u4ef6\u7cfb\u7edf\u8fd1\u4e00\u6b65\u635f\u574f\u3002<\/li>\n<li>Skip\u5c31\u662f\u4e0d\u6302\u8f7d\uff0c\u8fdb\u5165\u4e00\u4e2a\u547d\u4ee4\u7a97\u53e3\u6a21\u5f0f\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u91cc\u6211\u4eec\u9009\u62e9Continue\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_34.png\" alt=\"4_34\" width=\"395\" height=\"329\" \/><\/p>\n<p>\u81f3\u6b64\uff0c\u7cfb\u7edf\u5df2\u7ecf\u6302\u8f7d\u5230\u4e86\/mnt\/sysimage\u4e2d\u3002\u63a5\u4e0b\u6765\u56de\u8f66\uff0c\u8f93\u5165chroot \/mnt\/sysimage\u00a0\u8fdb\u5165\u7ba1\u7406\u5458\u73af\u5883\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_35.png\" alt=\"4_35\" width=\"623\" height=\"96\" \/><\/p>\n<p><b>\u63d0\u793a\uff1a<\/b>\u00a0\u5176\u5b9e\u4e5f\u53ef\u4ee5\u5230rescue\u6a21\u5f0f\u4e0b\u66f4\u6539root\u7684\u5bc6\u7801\u7684\u3002\u8fd9\u4e2arescue\u6a21\u5f0f\u548cwindows PE\u7cfb\u7edf\u5f88\u76f8\u8fd1\u3002<\/p>\n<p>\u5f53\u8fd0\u884c\u4e86chroot \/mnt\/sysimage\/\u00a0\u540e\uff0c\u518dls\u00a0\u770b\u5230\u76ee\u5f55\u7ed3\u6784\u548c\u539f\u6765\u7cfb\u7edf\u4e2d\u7684\u76ee\u5f55\u7ed3\u6784\u662f\u4e00\u6837\u7684\u3002<\/p>\n<p>\u6ca1\u9519\uff01\u73b0\u5728\u7684\u73af\u5883\u548c\u539f\u6765\u7cfb\u7edf\u7684\u73af\u5883\u662f\u4e00\u6a21\u4e00\u6837\u7684\u3002\u4f60\u53ef\u4ee5\u8f93\u5165exit\u00a0\u6216\u8005\u6309Ctrl + D\u9000\u51fa\u8fd9\u4e2a\u73af\u5883\u3002\u7136\u540e\u4f60\u518dls\u00a0\u770b\u4e00\u4e0b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2014\/06\/4_36.png\" alt=\"4_36\" width=\"459\" height=\"98\" \/><\/p>\n<p>\u8fd9\u4e2a\u76ee\u5f55\u5176\u5b9e\u5c31\u662frescue\u6a21\u5f0f\u4e0b\u7684\u76ee\u5f55\u7ed3\u6784\uff0c\u800c\u6211\u4eec\u7684\u7cfb\u7edf\u6587\u4ef6\u5168\u90e8\u5728\u00a0\/mnt\/sysimage\u76ee\u5f55\u4e0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u00a0\u5fd8\u8bb0\u5bc6\u7801\u89e3\u51b3\u65b9\u6cd5 \u5f88\u591a\u670b\u53cb\u7ecf\u5e38\u4f1a\u5fd8\u8bb0Linux\u7cfb\u7edf\u7684root\u5bc6\u7801\uff0clinux\u7cfb\u7edf\u5fd8\u8bb0root\u5bc6\u7801\u7684 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/b.yesiyu.top\/?p=98\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cLinux \u5fd8\u8bb0\u5bc6\u7801\u89e3\u51b3\u65b9\u6cd5\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-liunx-"],"_links":{"self":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=98"}],"version-history":[{"count":1,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":99,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions\/99"}],"wp:attachment":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}