{"id":293389,"date":"2024-10-03T12:05:15","date_gmt":"2024-10-03T04:05:15","guid":{"rendered":"https:\/\/lrxjmw.cn\/wazlsxtcazjc.html"},"modified":"2024-10-03T12:05:15","modified_gmt":"2024-10-03T04:05:15","slug":"wazlsxtcazjc","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/wazlsxtcazjc.html","title":{"rendered":"win7 \u5b89\u88c5 linux \u53cc\u7cfb\u7edf\uff0ccentos7 \u5b89\u88c5\u6559\u7a0b\uff0c\u5c0f\u767d\u4e5f\u80fd\u770b\u61c2"},"content":{"rendered":"
\u8fd1\u6bb5\u65f6\u95f4\u60f3\u5728\u81ea\u5df1\u7684win7\u7b14\u8bb0\u672c\u4e0a\u5b89\u88c5\u4e2alinux\u53cc\u7cfb\u7edf\uff0c\u4e8e\u662f\u4e0b\u8f7d\u4e86linuxcentos7\u8fd9\u4e2a\u7248\u672c\uff0c\u6298\u817e\u4e86\u4e09\u5929\uff0c\u7f51\u4e0a\u7684\u5404\u7c7b\u8d34\u5b50\u770b\u4e86\u4e0d\u5c11\uff0c\u4e5f\u9047\u89c1\u597d\u591a\u95ee\u9898\uff0c\u8f9b\u8fd0\u7684\u662f\u603b\u7b97\u88c5\u6210\u529f\u4e86\uff0c\u4e0b\u8fb9\u5c31\u8bf4\u660e\u4e00\u4e0b\u5b89\u88c5\u7684\u6574\u4e2a\u7684\u8fc7\u7a0b\uff0c\u5e0c\u671b\u4ee5\u540e\u50cf\u6211\u4e00\u6837\u7684\u5c0f\u767d\u80fd\u5c11\u8d70\u4e9b\u5f2f\u8def\u3002<\/p>\n
\u200b\u4e00\uff0c\u6253\u7b97<\/p>\n
1.Centos7\u955c\u50cf\u6587\u4ef6\uff1b\u200b\u200b<\/p>\n
\u4e0b\u8f7d\u7684\u8bdd\u7f51\u4e0a\u597d\u591a\uff0c\u8fd9\u513f\u63d0\u4f9b\u4e00\u4e2a\u4e0b\u8f7d\u8def\u5f84\uff1b\u200b<\/p>\n
2.\u8f6f\u789f\u901a;\uff08\u62ff\u6765\u5236\u505a\u786c\u76d8\u7cfb\u7edf\u76d8\uff09<\/p>\n
3.u\u76d8\uff088G\u4ee5\u4e0a\uff0c\u6211\u7684\u786c\u76d8\u662f30G\u7684\uff09\u200b<\/p>\n
\u4e8c\uff0c\u501f\u52a9\u8f6f\u789f\u901a\u5236\u505alinux\u7cfb\u7edf\u7684\u786c\u76d8\u542f\u52a8\u76d8\uff1b<\/p>\n
1.\u6253\u5f00\u8f6f\u789f\u901a\u200b\u200b\u200b\uff0c\u70b9\u7ee7\u7eed\u8bd5\u7528<\/p>\n
2.\u6253\u5f00\u754c\u9762\u540e\u5728\u83dc\u5355\u680f\u9009\u62e9\uff1a\u6587\u4ef6\u2014\u6253\u5f00\uff0c\u4e4b\u540e\u627e\u5230\u81ea\u5df1\u4e0b\u8f7d\u7684centos7\u7684\u955c\u50cf\u6587\u4ef6\u200b<\/p>\n
3.\u70b9\u200b\u200b\uff1a\u542f\u52a8\u2014\u5199\u5165\u786c\u789f\u955c\u50cf<\/p>\n
<\/p>\n
4.\u200b\u9009\u62e9\u597d\u786c\u76d8\u548c\u5199\u5165\u65b9\u6cd5centos u\u76d8\u5b89\u88c5<\/strong>\uff0c\u70b9\uff1a\u5199\u5165<\/p>\n 5.\u63d0\u793a\u786c\u76d8\u5c06\u4f1a\u8fdb\u884c\u4f4e\u683c\uff0c\u786c\u76d8\u4e0a\u9762\u6709\u91cd\u8981\u4fe1\u606f\u7684\u8bdd\u987b\u8981\u63d0\u65e9\u5907\u4efd\uff0c\u4e4b\u540e\u70b9\uff1a\u662f<\/p>\n 6.\u5199\u5165\u5f00\u59cb\uff0c\u987b\u8981\u7b49\u5f85\u51e0\u5206\u949f\u200b\uff0c\u523b\u5f55\u6210\u529f\u200b<\/p>\n \u4e8c.\u5728\u7b14\u8bb0\u672c\u4e0a\u817e\u51fa\u5b89\u88c5Centos\u7684\u7a7a\u95f4\u200b<\/p>\n 1.\u53f3\u51fb\u51fb\uff1a\u6211\u7684\u7b14\u8bb0\u672c\u2014\u7ba1\u7406\u2014\u78c1\u76d8\u7ba1\u7406\uff0c\u51fa\u73b0\u5982\u4e0bc\u76d8\u4fe1\u606f\u200b<\/p>\n 2.\u5728\u81ea\u5df1\u7b14\u8bb0\u672c\u76d8\u4e2d\u538b\u7f29\u51fa\u5b89\u88c5linux\u7cfb\u7edf\u6240\u7528\u7684\u7a7a\u95f4\u3002\uff08\u56fe\u4e2d\u662f\u6211\u65e9\u5df2\u88c5\u597d\u7cfb\u7edf\u7684c\u76d8\u4fe1\u606f\uff0c\u6211\u662f\u4eceE\u76d8\u77ed\u53d1\u51fa\u4e8683G\u7684\u7a7a\u95f4\uff0c\u88c5\u5b8c\u7cfb\u7edf\u540e\u7528\u4e8682.04G\u3002\u8fd9\u513f\u987b\u8981\u6ce8\u610f\u7684\u662f\u6211\u4ece\u78c1\u76d8\u5f53\u4e2d\u4e5f\u5206\u51fa\u4e86\u5c06\u8fd12G\u7684\u7a7a\u95f4\uff0c\u8fd9\u662f\u7531\u4e8e\u524d\u9762\u7cfb\u7edf\u5206\u533a\u65f6\/boot\u7684\u5206\u533a\u5fc5\u987b\u5728\u4e3b\u5206\u533a\u91cc\uff0c\u800c\u4eceE\u76d8\u77ed\u53d1\u51fa\u7684\u7a7a\u95f4\u4e0d\u80fd\u7528\uff0c\u6240\u4ee5\u9700\u4ece\u78c1\u76d8\u77ed\u53d1\u51fa\u4e00\u70b9\uff0c\u5b9e\u9645\u4e0a1g\u5c31\u591f\u4e86\uff0c\u8fd9\u4e2a\u65c1\u8fb9\u4f1a\u6709\u4ecb\u7ecd\uff09\u200b<\/p>\n \u4e09.\u5b89\u88c5Centos7\u200b<\/p>\n \u63a5\u51fa\u6765\u5c31\u5373\u5c06\u6b65\u5165centos7\u7684\u5b89\u88c5\u8fc7\u7a0b\u4e86\uff0c\u56e0\u4e3a\u6211\u7684\u7b14\u8bb0\u672c\u65e9\u5df2\u5b89\u88c5\u6210\u529f\uff0c\u4ee5\u4e0b\u6240\u7528\u56fe\u7247\u6709\u4e9b\u6765\u59cb\u4e8e\u7f51\u8def\uff0c\u4e5f\u662f\u6211\u53c2\u8003\u5b89\u88c5\u7684\uff0c\u4e0d\u4f1a\u6709\u9519\u3002\u200b<\/p>\n 1.\u5c06\u7b14\u8bb0\u672c\u5f00\u673a\u8bbe\u7f6e\u4e3a\u786c\u76d8\u542f\u52a8\uff08\u4e0d\u4f1a\u7684\u8bdd\u81ea\u884cBD\uff09\u200b<\/p>\n 2.\u200b\u9009\u7b2c\u4e00\u9879\uff1ainstallCentos7\uff0c\u4e4b\u540e\u624b\u52a8\u51fa\u73b0\u5404\u7c7b\u914d\u7f6e\u4fe1\u606f<\/p>\n 3.\u9009\u62e9\u8bed\u8a00\uff0c\u9009\uff1a\u82f1\u6587\u7e41\u4f53\u200b<\/p>\n 4.\u70b9\uff1a\u7ee7\u7eed\uff0c\u51fa\u73b0\u5982\u4e0b\u754c\u9762\u200blinux\u547d\u4ee4tar\uff0c\u524d\u9762\u51e0\u9879\u53ef\u81ea\u5df1\u8bbe\u5b9a\uff0c\u9ed8\u8ba4\u4e5f\u53ef\u4ee5\uff0c\u88c5\u5b8c\u7cfb\u7edf\u540e\u53ef\u4fee\u6539\uff0c\u4e0d\u5f71\u54cd\u5b89\u88c5\uff0c\u70b9\uff1a\u8f6f\u4ef6\u9009\u62e9<\/p>\n 5.\u200b\u5b89\u88c5\u9ed8\u8ba4\u7684\u662f\uff1a\u6700\u5c0f\u5b89\u88c5\uff0c\u4e5f\u5c31\u662f\u7cfb\u7edf\u88c5\u5b8c\u540e\u53ea\u6709\u7ec8\u7aef\u9875\u9762\uff0c\u5bf9\u4e8e\u6211\u7b49\u5c0f\u767d\u6765\u8bf4\u4e00\u5f00\u59cb\u8fd8\u662f\u987b\u8981\u6709\u66f4\u4eba\u6027\u5316\u7684\u684c\u9762\uff0c\u9009\u62e9\uff1aGnome\u684c\u9762\u3002\u5de6\u4e0a\u89d2\u70b9\uff1a\u5b8c\u6210<\/p>\n 6.\u200b\u70b9\uff1a\u5b89\u88c5\u4f4d\u7f6e\uff0c\u6839\u636e\u56fe\u7247\u4e2d\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n 7.\u200b\u5206\u533a\uff1a\u6839\u636e\u53f3\u56fe\u8fdb\u884c\u5206\u533a\uff0c<\/p>\n \u5206\u533a\u8ba1\u5212<\/p>\n \/\uff1a63G<\/p>\n swap\uff1a20G\uff08\u7f51\u4e0a\u8bf4\u901a\u5e38\u4e3a\u663e\u5b58\u76841.5\u20142\u500d\uff0c\u4f46\u6211\u7b14\u8bb0\u672c\u663e\u5b58\u4e3a16G\uff0c\u81ea\u5df1\u89c9\u5f9710G\u5c31\u591f\u4e86\uff09<\/p>\n \/boot\uff1a2G\uff08\u5047\u5982\u4e0a\u9762\u7b14\u8bb0\u672cc\u76d8\u817e\u7a7a\u95f4\u65f6\u78c1\u76d8\u6ca1\u6709\u817e\u4e0b\u67652G\u7684\u8bdd\u8fd9\u513f\/boot\u6700\u5927\u53ea\u80fd\u8bbe\u7f6e2MB\uff0c\u800c2MB\u7cfb\u7edf\u63d0\u793a\u592a\u5c0flinux\u83b7\u53d6\u5f53\u524d\u65f6\u95f4\uff0c\u6709\u9519\u8bef\uff0c\u96be\u4ee5\u8fdb\u884c\u4e0b\u53bb\uff0c\u8fd9\u4e2a\u95ee\u9898\u56f0\u60d1\u4e86\u8bb8\u4e45\u624d\u89e3\u51b3\uff09\u200b<\/p>\n \u81f3\u4e8e\u8fd9\u4e2a\u5206\u533a\u7684\u7c7b\u578b\uff0c\u4e5f\u5c31\u662fDeviceType\u8fd9\u513f\uff0c\u6839\u636e\u5b83\u9ed8\u8ba4\u5c31\u597d\uff0c\u5373\/\u3001swap\u662fLVM\u7c7b\u578b\uff0c\/boot\u662f\u6807\u51c6\u5206\u533a\u5206\u533a\u8ba1\u5212<\/p>\n 8.\u5206\u5b8c\u533a\u540e\uff0c\u70b9\u5de6\u4e0a\u89d2\uff1a\u5b8c\u6210\u3002\u51fa\u73b0\u53f3\u56fe\u540e\u70b9\uff1a\u63a5\u53d7\u4fee\u6539\u200b<\/p>\n 9.\u8bbe\u7f6e\u5b8c\u6210\uff0c\u70b9\uff1a\u5f00\u59cb\u5b89\u88c5\u200b\u200b<\/p>\n 10.\u8bbe\u7f6e\u7528\u6237\u548c\u5bc6\u7801\uff0c\u7528\u6237\u540d\u548c\u5bc6\u7801\u8981\u8c28\u8bb0\uff0c\u524d\u9762\u767b\u9646\u7cfb\u7edf\u65f6\u7528\u200b<\/p>\n 11.\u70b9\u5de6\u4e0a\u89d2\uff1a\u5b8c\u6210\u3002\u7cfb\u7edf\u5f00\u59cb\u5b89\u88c5\uff0c\u4e8c\u5341\u5206\u949f\u5de6\u53f3\u5427\u200b\u200b\uff0c\u5b8c\u6210\u4ee5\u540e\u70b9\uff1a\u91cd\u542f\uff08\u91cd\u542f\u524d\u8bb0\u5f97\u62d4\u4e0b\u786c\u76d8\uff09<\/p>\n 12.\u8f93\u5165\u4e4b\u524d\u8bbe\u7f6e\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u5c31\u53ef\u4ee5\u6b65\u5165linucentos7\u7cfb\u7edf\u4e86\u200b<\/p>\n \u5230\u8fd9\u513f\u5c31\u7ed3\u675f\u4e86\u5417\uff1f\u5230\u8fd9\u513f\u5c31\u7ed3\u675f\u4e86\u5417\uff1f\u6ca1\u53d1\u89c9\u6709\u54ea\u4e9b\u95ee\u9898\u5417\uff1f<\/p>\n \u5047\u5982\u4f60\u60f3\u5230\u7684\u8bdd\uff0c\u90a3\u5c31\u662f\u6211\u5982\u4f55\u6b65\u5165\u6211window\u7cfb\u7edf\u554a\uff0ccnetos7\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u4e0d\u50cf\u5176\u4ed6\u7248\u672c\u4f1a\u6709\u81ea\u542f\u52a8\u7684\u9009\u9879\uff0c\u5047\u5982\u8fd9\u6837\u88c5\u5b8c\u7684\u8bdd\u6bcf\u6b21\u5f00\u673a\u53ea\u80fd\u6b65\u5165centos\u7cfb\u7edf\uff0c\u90a3\u5c31\u6ca1\u5fc5\u8981\u8981\u53cc\u7cfb\u7edf\u4e86\u3002\u200b\u200b<\/p>\n \u56db\uff0c\u8bbe\u7f6e\u5f00\u673a\u7cfb\u7edf\u9009\u9879\u200b<\/p>\n \u7f51\u4e0a\u6709\u597d\u591a\u65b9\u5f0f\uff0c\u5927\u591a\u6570\u4e0d\u9002\u7528\u4e0ecentos7\u8fd9\u4e2a\u7cfb\u7edf\uff0c\u8fd9\u513f\u6211\u8bf4\u4e00\u4e0b\u6211\u6700\u540e\u91c7\u7528\u7684\u65b9\u5f0f\u3002\u200b<\/p>\n 1.\u6b65\u5165centos7\u7cfb\u7edf\u200b\uff0c\u53f3\u51fb\u684c\u9762\uff0c\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165\u200b\uff1asuroot\uff0c\u4e4b\u540e\u56de\u8f66\uff0c\u63d0\u793a\u4f60\u8f93\u5165\u5bc6\u7801\uff1a\u4f60\u8f93\u5165\u4e4b\u524d\u5b89\u88c5\u7cfb\u7edf\u65f6\u8bbe\u7f6e\u7684\u5bc6\u7801\uff08\u5bc6\u7801\u5728\u7ec8\u7aef\u4e0b\u4e0d\u663e\u793a\uff09\uff0c\u56de\u8f66\u3002<\/p>\n 2.\u63a5\u7740\u8f93\u5165\uff1avim\u200b\/boot\/grub2\/grub.cfg\uff0c\u6253\u5f00\u4e00\u4e2a\u6587\u4ef6\uff0c\u8f93\u5165:I\uff0c\u6b65\u5165\u7f16\u8f91\u6a21\u5f0f<\/p>\n \u5728\u6587\u4ef6\u4e2d###BEGIN\/etc\/grub.d\/10_linux###<\/p>\n <\/p>\n \u524d\u9762\u52a0\u4e0a\u4e00\u6bb5<\/p>\n menuentry'Windows7'{<\/p>\n insmodntfs<\/p>\n setroot=(hd0,1)<\/p>\n chainloader+1<\/p>\n (hd0,1)\u4e0a\u9762\u6309\u7167\u4f60\u81ea\u5df1\u7684windows\u7cfb\u7edf\u5728\u54ea\u4e2a\u76d8\u6765\u586b\uff0c\u5728\u78c1\u76d8\u5c31\u662fhd0\u3002<\/p>\n 2.\u6309\u6309\u952e\u4e0a\u7684\u201cESC\u201d\u952e\uff0c\u8c03\u6574\u5230\u5c0f\u5199\u6a21\u5f0f\uff0c\u8f93\u5165:ZZ\uff0c\u5373\u53ef\u9000\u51fa\u3002\u200b<\/p>\n 3.\u8bbe\u7f6e\u5b8c\u6210\u4ee5\u540e\u9000\u51fa\u7ec8\u7aef\uff0c\u91cd\u542f\u7b14\u8bb0\u672c\uff0c\u91cd\u542f\u65f6\u4f1a\u6709\u9009\u9879\u8ba9\u4f60\u9009\u62e9\u6b65\u5165\u662fwindow\u8fd8\u662flinux\uff0c\u662f\u4e0d\u662f\u5f88\u795e\u5947\u3002\u200b<\/p>\n \u81f3\u6b64centos u\u76d8\u5b89\u88c5<\/strong>\uff0c\u6574\u4e2a\u5b89\u88c5\u8fc7\u7a0b\u7ed3\u675f\uff0c\u63a5\u51fa\u6765\u5728linux\u7cfb\u7edf\u4e0b\u9068\u6e38\u4e86\uff01\u200b<\/p>\n \u795d\u4f60\u4eec\u597d\u8fd0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":" \u4e8c\uff0c\u5229\u7528\u8f6f\u789f\u901a\u5236\u4f5clinux\u7cfb\u7edf\u7684u\u76d8\u542f\u52a8\u76d8\uff1b5.\u200b\u5b89\u88c5\u9ed8\u8ba4\u7684\u662f\uff1a\u6700\u5c0f\u5b89\u88c5\uff0c\u4e5f\u5c31\u662f\u7cfb\u7edf\u88c5\u5b8c\u540e\u53ea\u6709\u7ec8\u7aef\u9875\u9762\uff0c\u5bf9\u4e8e\u6211\u7b49\u5c0f\u767d\u6765\u8bf4\u4e00\u5f00\u59cb\u8fd8\u662f\u9700\u8981\u6709\u66f4\u4eba\u6027\u5316\u7684\u684c\u9762\uff0c\u9009\u62e9\uff1aGnome\u684c\u9762\u3002centos7\u7cfb\u7edf\u4e86\u200b(hd0,1)\u91cc\u9762\u6839\u636e\u4f60\u81ea\u5df1\u7684windows\u7cfb\u7edf\u5728\u90a3\u4e2a\u76d8\u6765\u586b\uff0c\u5728c\u76d8\u5c31\u662fhd0\u3002<\/p>\n","protected":false},"author":1,"featured_media":293390,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[3375,1091,3376,3019],"class_list":["post-293389","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-upxr","tag-fq","tag-dnkjsz","tag-xtaz"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293389","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=293389"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293389\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/293390"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=293389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=293389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=293389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}