\u8be5\u547d\u4ee4\u4f1a\u8f93\u51fa\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u5185\u5bb9\u7684\u4fe1\u606f\uff1a<\/p>\n
\nNo LSB modules are available.\nDistributor ID: Ubuntu\nDescription: Ubuntu 20.04.2 LTS\nRelease: 20.04\nCodename: focal\n<\/pre>\n<\/p>\n\u5176\u4e2d\uff0c\"Release\"\u540e\u9762\u7684\u5c31\u662f\u5185\u6838\u7248\u672c\u53f7\u3002<\/p>\n
\u65b9\u6cd5\u516d\uff1a\u67e5\u770b\/boot\u76ee\u5f55\u4e0b\u7684vmlinuz\u6587\u4ef6<\/b><\/p>\n
\/boot\u76ee\u5f55\u4e0b\u7684vmlinuz\u6587\u4ef6\u662fLinux\u5185\u6838\u7684\u955c\u50cf\u6587\u4ef6\uff0c\u5176\u540d\u79f0\u4e2d\u5305\u542b\u4e86\u5185\u6838\u7248\u672c\u53f7\u3002\u901a\u8fc7\u67e5\u770b\u8be5\u6587\u4ef6\u540d\uff0c\u60a8\u53ef\u4ee5\u83b7\u53d6\u5185\u6838\u7248\u672c\u53f7\u3002\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
\n
\nls \/boot | grep vmlinuz\n<\/pre>\n<\/p>\n\u8be5\u547d\u4ee4\u4f1a\u8f93\u51fa\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u5185\u5bb9\u7684\u4fe1\u606f\uff1a<\/p>\n
\n
\nvmlinuz-5.4.0-72-generic\n<\/pre>\n<\/p>\n\u5176\u4e2d\uff0c\"vmlinuz-\"\u540e\u9762\u7684\u5c31\u662f\u5185\u6838\u7248\u672c\u53f7\u3002<\/p>\n
\u65b9\u6cd5\u4e03\uff1a\u4f7f\u7528grub\u547d\u4ee4<\/b><\/p>\n
grub\u547d\u4ee4\u662fLinux\u7cfb\u7edf\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\uff0c\u5b83\u4e5f\u53ef\u4ee5\u7528\u6765\u83b7\u53d6\u5185\u6838\u7248\u672c\u53f7\u3002\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
\n
\ngrub-install --version\n<\/pre>\n<\/p>\n\u8be5\u547d\u4ee4\u4f1a\u8f93\u51fa\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u5185\u5bb9\u7684\u4fe1\u606f\uff1a<\/p>\n
\n
\ngrub-install (GRUB)2.04-1ubuntu26.10\n<\/pre>\n<\/p>\n\u5176\u4e2d\uff0c\u62ec\u53f7\u4e2d\u7684\u6570\u5b57\u5c31\u662f\u5185\u6838\u7248\u672c\u53f7\u3002<\/p>\n
\u65b9\u6cd5\u516b\uff1a\u4f7f\u7528sysctl\u547d\u4ee4<\/b><\/p>\n
sysctl\u547d\u4ee4\u7528\u4e8e\u5728\u8fd0\u884c\u65f6\u4fee\u6539\u548c\u67e5\u8be2\u5185\u6838\u53c2\u6570\u3002\u901a\u8fc7\u67e5\u8be2\u7279\u5b9a\u53c2\u6570\uff0c\u60a8\u53ef\u4ee5\u83b7\u53d6\u5185\u6838\u7248\u672c\u53f7\u3002\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
\n
\nsysctl kernel.osrelease\n<\/pre>\n<\/p>\n\u8be5\u547d\u4ee4\u4f1a\u8f93\u51fa\u5f53\u524d\u7cfb\u7edf\u7684\u5185\u6838\u7248\u672c\u53f7\uff0c\u4f8b\u5982\uff1a<\/p>\n
\n
\nkernel.osrelease =5.4.0-72-generic\n<\/pre>\n<\/p>\n\u65b9\u6cd5\u4e5d\uff1a\u67e5\u770b\u5185\u6838\u6e90\u4ee3\u7801<\/b><\/p>\n
\u5982\u679c\u60a8\u5bf9Linux\u5185\u6838\u975e\u5e38\u719f\u6089\uff0c\u60a8\u8fd8\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b\u5185\u6838\u6e90\u4ee3\u7801\u6765\u83b7\u53d6\u5185\u6838\u7248\u672c\u53f7\u3002\u901a\u8fc7\u9605\u8bfb\u76f8\u5173\u6587\u4ef6\uff0c\u60a8\u53ef\u4ee5\u627e\u5230\u5305\u542b\u5185\u6838\u7248\u672c\u53f7\u7684\u4fe1\u606f\u3002\u8fd9\u79cd\u65b9\u6cd5\u6bd4\u8f83\u590d\u6742\u67e5\u770blinux\u5185\u6838\u7248\u672c\u53f7<\/strong>linux \u5206\u533a\uff0c\u9002\u5408\u5bf9Linux\u5185\u6838\u6709\u6df1\u5165\u4e86\u89e3\u7684\u7528\u6237\u4f7f\u7528\u3002<\/p>\n\u901a\u8fc7\u4ee5\u4e0a\u4e5d\u79cd\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u67e5\u770bLinux\u5185\u6838\u7248\u672c\u53f7\u3002\u65e0\u8bba\u662f\u901a\u8fc7\u547d\u4ee4\u884c\u8fd8\u662f\u67e5\u770b\u6587\u4ef6\uff0c\u90fd\u80fd\u591f\u5feb\u901f\u51c6\u786e\u5730\u83b7\u53d6\u5230\u6240\u9700\u4fe1\u606f\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"
\u901a\u8fc7\u672c\u6587\uff0c\u60a8\u5c06\u4e86\u89e3\u5230\u67e5\u770b\u5185\u6838\u7248\u672c\u53f7\u7684\u591a\u79cd\u65b9\u6cd5\uff0c\u5e76\u4e14\u80fd\u591f\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u6700\u9002\u5408\u7684\u65b9\u5f0f\u3002\u901a\u8fc7\u67e5\u770b\u8be5\u6587\u4ef6\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u83b7\u53d6\u5185\u6838\u7248\u672c\u53f7\u3002\u901a\u8fc7\u67e5\u770b\u8be5\u6587\u4ef6\uff0c\u60a8\u53ef\u4ee5\u83b7\u53d6\u5185\u6838\u7248\u672c\u53f7\u3002grub\u547d\u4ee4\u662fLinux\u7cfb\u7edf\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\uff0c\u5b83\u4e5f\u53ef\u4ee5\u7528\u6765\u83b7\u53d6\u5185\u6838\u7248\u672c\u53f7\u3002\u5982\u679c\u60a8\u5bf9Linux\u5185\u6838\u975e\u5e38\u719f\u6089\uff0c\u60a8\u8fd8\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b\u5185\u6838\u6e90\u4ee3\u7801\u6765\u83b7\u53d6\u5185\u6838\u7248\u672c\u53f7\u3002\u901a\u8fc7\u4ee5\u4e0a\u4e5d\u79cd\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u67e5\u770bLinux\u5185\u6838\u7248\u672c\u53f7\u3002<\/p>\n","protected":false},"author":1,"featured_media":283864,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-283863","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\/283863","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=283863"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/283863\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/283864"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=283863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=283863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=283863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}