{"id":95183,"date":"2024-05-07T22:35:10","date_gmt":"2024-05-07T14:35:10","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=95183"},"modified":"2024-05-07T22:35:10","modified_gmt":"2024-05-07T14:35:10","slug":"boot-into-linuxcli","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/boot-into-linuxcli.html","title":{"rendered":"\u5982\u4f55\u5f00\u673a\u8fdb\u5165Linux\u547d\u4ee4\u884c"},"content":{"rendered":"

\u53ef\u80fd\u6709\u65f6\u5019\u4f60\u542f\u52a8 Linux \u65f6\u9700\u8981\u6216\u8005\u5e0c\u671b\u4e0d\u4f7f\u7528 GUI\uff08\u56fe\u5f62\u7528\u6237\u754c\u9762\uff09\uff0c\u4e5f\u5c31\u662f\u6ca1\u6709 X\uff0c\u800c\u662f\u9009\u62e9\u547d\u4ee4\u884c\u3002\u4e0d\u7ba1\u662f\u4ec0\u4e48\u539f\u56e0\uff0c\u5e78\u8fd0\u7684\u662f\uff0c\u76f4\u63a5\u542f\u52a8\u8fdb\u5165 Linux \u547d\u4ee4\u884c\u975e\u5e38\u7b80\u5355\uff0c\u5b83\u9700\u8981\u5728\u5176\u4ed6\u5185\u6838\u9009\u9879\u4e4b\u540e\u5bf9\u5f15\u5bfc\u53c2\u6570\u8fdb\u884c\u7b80\u5355\u7684\u66f4\u6539\u3002\u6b64\u66f4\u6539\u5c06\u7cfb\u7edf\u5f15\u5bfc\u5230\u6307\u5b9a\u7684\u8fd0\u884c\u7ea7\u522b\u3002<\/p>\n

\"\"<\/p>\n

\u200b\u4e3a\u4ec0\u4e48\u8981\u8fd9\u6837\u505a\uff1f<\/strong><\/div>\n

\u5982\u679c\u4f60\u7684\u7cfb\u7edf\u7531\u4e8e\u65e0\u6548\u914d\u7f6e\u6216\u8005\u663e\u793a\u7ba1\u7406\u5668\u635f\u574f\u6216\u4efb\u4f55\u53ef\u80fd\u5bfc\u81f4 GUI \u65e0\u6cd5\u6b63\u5e38\u542f\u52a8\u7684\u60c5\u51b5\u800c\u65e0\u6cd5\u8fd0\u884c Xorg\uff0c\u90a3\u4e48\u542f\u52a8\u5230\u547d\u4ee4\u884c\u5c06\u5141\u8bb8\u4f60\u901a\u8fc7\u767b\u5f55\u5230\u7ec8\u7aef\u8fdb\u884c\u6545\u969c\u6392\u9664\uff08\u5047\u8bbe\u4f60\u77e5\u9053\u8981\u600e\u4e48\u505a\uff09\uff0c\u5e76\u80fd\u505a\u4efb\u4f55\u4f60\u9700\u8981\u505a\u7684\u4e1c\u897f\u3002\u5f15\u5bfc\u5230\u547d\u4ee4\u884c\u4e5f\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u719f\u6089\u7ec8\u7aef\u7684\u65b9\u5f0f\uff0c\u4e0d\u7136\uff0c\u4f60\u4e5f\u53ef\u4ee5\u4e3a\u4e86\u597d\u73a9\u8fd9\u4e48\u505a\u3002<\/p>\n

\u200b\u8bbf\u95ee GRUB \u83dc\u5355<\/strong><\/div>\n

\u5728\u542f\u52a8\u65f6\uff0c\u4f60\u9700\u8981\u8bbf\u95ee GRUB \u542f\u52a8\u83dc\u5355\u3002\u5982\u679c\u5728\u6bcf\u6b21\u542f\u52a8\u8ba1\u7b97\u673a\u65f6\u83dc\u5355\u672a\u8bbe\u7f6e\u4e3a\u663e\u793a\uff0c\u90a3\u4e48\u53ef\u80fd\u9700\u8981\u5728\u7cfb\u7edf\u542f\u52a8\u4e4b\u524d\u6309\u4f4f SHIFT <\/strong>\u952e\uff0c\u5728\u83dc\u5355\u4e2d\uff0c\u9700\u8981\u9009\u62e9 Linux \u53d1\u884c\u7248\u6761\u76ee\uff0c\u9ad8\u4eae\u663e\u793a\u540e\u8be5\u6761\u76ee\uff0c\u6309\u4e0b e <\/strong>\u7f16\u8f91\u5f15\u5bfc\u53c2\u6570\u3002
\n\"\"<\/p>\n

\u8f83\u8001\u7684 GRUB \u7248\u672c\u9075\u5faa\u7c7b\u4f3c\u7684\u673a\u5236\u3002\u542f\u52a8\u7ba1\u7406\u5668\u5e94\u63d0\u4f9b\u6709\u5173\u5982\u4f55\u7f16\u8f91\u542f\u52a8\u53c2\u6570\u7684\u8bf4\u660e\u3002<\/p>\n

\u200b\u200b\u6307\u5b9a\u8fd0\u884c\u7ea7\u522b<\/strong><\/div>\n

\u200b\u4f1a\u51fa\u73b0\u4e00\u4e2a\u7f16\u8f91\u5668\uff0c\u4f60\u5c06\u770b\u5230 GRUB \u4f1a\u89e3\u6790\u7ed9\u5185\u6838\u7684\u9009\u9879\u3002\u79fb\u52a8\u5230\u4ee5 linux <\/strong>\u5f00\u5934\u7684\u884c\uff08\u65e7\u7684 GRUB \u7248\u672c\u53ef\u80fd\u662f kernel<\/strong>\uff0c\u9009\u62e9\u5b83\u5e76\u6309\u7167\u8bf4\u660e\u64cd\u4f5c\uff09\u3002\u8fd9\u6307\u5b9a\u4e86\u8981\u89e3\u6790\u7ed9\u5185\u6838\u7684\u53c2\u6570\u3002\u5728\u8be5\u884c\u7684\u672b\u5c3e\uff08\u53ef\u80fd\u4f1a\u51fa\u73b0\u8de8\u8d8a\u591a\u884c\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u4f60\u7684\u7ec8\u7aef\u5206\u8fa8\u7387\uff09\uff0c\u53ea\u9700\u6307\u5b9a\u8981\u5f15\u5bfc\u7684\u8fd0\u884c\u7ea7\u522b\uff0c\u5373 3<\/strong>\uff08\u591a\u7528\u6237\u6a21\u5f0f\uff0c\u7eaf\u6587\u672c\uff09\u3002
\n\"\"
\n\u6309\u4e0b Ctrl-X \u6216 F10 \u5c06\u4f7f\u7528\u8fd9\u4e9b\u53c2\u6570\u542f\u52a8\u7cfb\u7edf\u3002\u5f00\u673a\u548c\u4ee5\u524d\u4e00\u6837\u3002\u552f\u4e00\u6539\u53d8\u7684\u662f\u542f\u52a8\u7684\u8fd0\u884c\u7ea7\u522b\u3002<\/p>\n

\u8fd9\u662f\u542f\u52a8\u540e\u7684\u9875\u9762\uff1a
\n\"\"<\/p>\n

\u8fd0\u884c\u7ea7\u522b<\/strong><\/div>\n

\u4f60\u53ef\u4ee5\u6307\u5b9a\u4e0d\u540c\u7684\u8fd0\u884c\u7ea7\u522b\uff0c\u9ed8\u8ba4\u8fd0\u884c\u7ea7\u522b\u662f 5 \uff08\u591a\u7528\u6237\u56fe\u5f62\u754c\u9762\uff09\u30021 \u542f\u52a8\u5230\u201c\u5355\u7528\u6237\u201d\u6a21\u5f0f\uff0c\u5b83\u4f1a\u542f\u52a8\u8fdb\u5165 root shell\u30023 \u63d0\u4f9b\u4e86\u4e00\u4e2a\u591a\u7528\u6237\u547d\u4ee4\u884c\u7cfb\u7edf\u3002<\/p>\n

\u4ece\u547d\u4ee4\u884c\u5207\u6362<\/strong><\/div>\n

\u5728\u67d0\u4e2a\u65f6\u5019\uff0c\u4f60\u53ef\u80fd\u60f3\u8981\u8fd0\u884c\u663e\u793a\u7ba1\u7406\u5668\u6765\u518d\u6b21\u4f7f\u7528 GUI\uff0c\u6700\u5feb\u7684\u65b9\u6cd5\u662f\u8fd0\u884c\u8fd9\u4e2a\uff1a<\/p>\n

$ sudo init 5<\/pre>\n

\u5c31\u8fd9\u4e48\u7b80\u5355\u3002\u5c31\u6211\u4e2a\u4eba\u800c\u8a00\uff0c\u6211\u53d1\u73b0\u547d\u4ee4\u884c\u6bd4\u4f7f\u7528 GUI \u5de5\u5177\u66f4\u4ee4\u4eba\u5174\u594b\u548c\u4e0a\u624b\u3002\u4e0d\u8fc7\uff0c\u8fd9\u53ea\u662f\u6211\u7684\u4e2a\u4eba\u504f\u597d\u3002<\/p>\n

via: http:\/\/www.linuxandubuntu.com\/home\/how-to-boot-into-linux-command-line<\/p>\n

\u4f5c\u8005\uff1aLinuxAndUbuntu \u8bd1\u8005\uff1ageekpi \u6821\u5bf9\uff1awxy<\/p>\n

\u672c\u6587\u7531 LCTT \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd \u8363\u8a89\u63a8\u51fa<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-9329-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/boot-into-linuxcli.html<\/a>\u7f16\u8f91\uff1a\u6e05\u84b8github\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u53ef\u80fd\u6709\u65f6\u5019\u4f60\u542f\u52a8 Linux \u65f6\u9700\u8981\u6216\u8005\u5e0c\u671b\u4e0d\u4f7f\u7528 GUI\uff08\u56fe\u5f62\u7528\u6237\u754c\u9762\uff09\uff0c\u4e5f\u5c31\u662f\u6ca1\u6709 X\uff0c\u800c\u662f\u9009\u62e9\u547d\u4ee4\u884c\u3002\u4e0d […]<\/p>\n","protected":false},"author":317,"featured_media":87316,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-95183","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/95183","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\/317"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=95183"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/95183\/revisions"}],"predecessor-version":[{"id":291513,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/95183\/revisions\/291513"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/87316"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=95183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=95183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=95183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}