{"id":1222,"date":"2018-03-08T13:14:06","date_gmt":"2018-03-08T13:14:06","guid":{"rendered":"https:\/\/peloo.net\/?p=1222"},"modified":"2018-03-08T13:14:06","modified_gmt":"2018-03-08T13:14:06","slug":"linux%e5%90%af%e5%8a%a8%e8%bf%87%e7%a8%8b%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/peloo.net\/?p=1222","title":{"rendered":"Linux\u542f\u52a8\u8fc7\u7a0b\u8be6\u89e3"},"content":{"rendered":"<p>\n\t<span style=\"font-size:16px\"><span style=\"font-family: verdana, geneva, sans-serif\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/peloo.net\/wp-content\/uploads\/2018\/03\/pc-MBR-linux_boot_process.jpg\" \/><\/span><\/span>\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\t<span style=\"font-size:16px\"><span style=\"font-family: verdana, geneva, sans-serif\">1.\u52a0\u7535\u81ea\u68c0<br \/>\n\t&nbsp;<br \/>\n\t\u4e3b\u677f\u5728\u63a5\u901a\u7535\u6e90\u540e\uff0c\u7cfb\u7edf\u9996\u5148\u7531POST\u7a0b\u5e8f\u6765\u5bf9\u5185\u90e8\u5404\u4e2a\u8bbe\u5907\u8fdb\u884c\u68c0\u67e5\uff0c\u81ea\u68c0\u4e2d\u5982\u53d1\u73b0\u6709\u9519\u8bef\uff0c\u5c06\u6309\u4e24\u79cd\u60c5\u51b5\u5904\u7406\uff1a\u5bf9\u4e8e\u4e25\u91cd\u6545\u969c(\u81f4\u547d\u6027\u6545\u969c)\u5219\u505c\u673a\uff0c\u6b64\u65f6\u7531\u4e8e\u5404\u79cd\u521d\u59cb\u5316\u64cd\u4f5c\u8fd8\u6ca1\u5b8c\u6210\uff0c\u4e0d\u80fd\u7ed9\u51fa\u4efb\u4f55\u63d0\u793a\u6216\u4fe1\u53f7\uff1b\u5bf9\u4e8e\u975e\u4e25\u91cd\u6545\u969c\u5219\u7ed9\u51fa\u63d0\u793a\u6216\u58f0\u97f3\u62a5\u8b66\u4fe1\u53f7\uff0c\u7b49\u5f85\u7528\u6237\u5904\u7406\u3002<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t2.BIOS\u542f\u52a8\u5f15\u5bfc\u9636\u6bb5<br \/>\n\t&nbsp;<br \/>\n\t\u81ea\u68c0\u901a\u8fc7\u4e4b\u540e\uff0c\u6309\u6b21\u5e8f\u67e5\u627e\u5404\u5f15\u5bfc\u8bbe\u5907\uff0c\u7b2c\u4e00\u4e2a\u6709\u5f15\u5bfc\u7a0b\u5e8f\u7684\u8bbe\u5907\u5373\u4e3a\u672c\u6b21\u542f\u52a8\u8981\u7528\u5230\u7684\u8bbe\u5907\u3002\u4e00\u822c\u7535\u8111\u662f\u6309&quot;F2&quot;\u6216&quot;Del&quot;\u952e\u7b49\u7b49\u8fdb\u5165BIOS\uff0c\u5728\u91cc\u9762\u6211\u4eec\u53ef\u4ee5\u8c03\u6574\u786c\u76d8\u7684\u542f\u52a8\u987a\u5e8f\u3002<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t\u627e\u5230\u7b2c\u4e00\u4e2a\u6709\u5f15\u5bfc\u7a0b\u5e8f\u7684\u8bbe\u5907\u540e\uff0cBIOS\u4f1a\u627e\u5230\u8bbe\u5907\u4e2d\u7684MBR\uff0c\u8bfb\u53d6\u5176\u4e2d\u7684Bootloader\u3002<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t3.GRUP\u5f15\u5bfc\u9636\u6bb5<br \/>\n\t&nbsp;<br \/>\n\t\u8fd9\u65f6\u5019\u5c31\u53ef\u4ee5\u770b\u5230\u6211\u4eec\u7684Centos\u7cfb\u7edf\u4e86\uff0c\u4f46\u662f\u4e00\u822c\u90fd\u4e0d\u9700\u8981\u64cd\u4f5c\uff0c\u4f1a\u81ea\u52a8\u542f\u52a8\u7cfb\u7edf\u3002\u5176\u5b9e\u6211\u4eec\u4e5f\u53ef\u4ee5\u81ea\u5df1\u624b\u52a8\u542f\u52a8\u7cfb\u7edf\u7684\u3002<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t3.1 \u624b\u52a8\u5728grub\u547d\u4ee4\u884c\u63a5\u53e3\u542f\u52a8\u7cfb\u7edf\uff1a<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; grub&gt; root (hd#,#)<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; grub&gt; kernel \/vmlinuz-VERSION-RELEASE ro root=\/dev\/DEVICE<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; grub&gt; initrd \/initramfs-VERSION-RELEASE.img<br \/>\n\t&nbsp;<br \/>\n\tgrub&gt; boot<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t3.2 grub\u7684\u547d\u4ee4\u884c\u63a5\u53e3\uff1a<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e: \u7f16\u8f91\u6a21\u5f0f\uff0c\u7528\u4e8e\u7f16\u8f91\u83dc\u5355\uff1b<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c: \u547d\u4ee4\u6a21\u5f0f\uff0c\u4ea4\u4e92\u5f0f\u63a5\u53e3\uff1b<br \/>\n\t&nbsp;<br \/>\n\thelp: \u83b7\u53d6\u5e2e\u52a9\u5217\u8868<br \/>\n\t&nbsp;<br \/>\n\thelp KEYWORD: \u8be6\u7ec6\u5e2e\u52a9\u4fe1\u606f<br \/>\n\t&nbsp;<br \/>\n\tfind (hd#,#)\/PATH\/TO\/SOMEFILE\uff1a<br \/>\n\t&nbsp;<br \/>\n\troot (hd#,#) \u8bbe\u5b9agrup\u7684\u6839\u8bbe\u5907<br \/>\n\t&nbsp;<br \/>\n\tkernel \/PATH\/TO\/KERNEL_FILE: \u8bbe\u5b9a\u672c\u6b21\u542f\u52a8\u65f6\u7528\u5230\u7684\u5185\u6838\u6587\u4ef6\uff1b\u989d\u5916\u8fd8\u53ef\u4ee5\u6dfb\u52a0\u8bb8\u591a\u5185\u6838\u652f\u6301\u4f7f\u7528\u7684cmdline\u53c2\u6570\uff1b<br \/>\n\t&nbsp;<br \/>\n\t\u4f8b\u5982\uff1ainit=\/path\/to\/init, selinux=0<br \/>\n\t&nbsp;<br \/>\n\tinitrd \/PATH\/TO\/INITRAMFS_FILE: \u8bbe\u5b9a\u4e3a\u9009\u5b9a\u7684\u5185\u6838\u63d0\u4f9b\u989d\u5916\u6587\u4ef6\u7684ramdisk\uff1b<br \/>\n\t&nbsp;<br \/>\n\tboot: \u5f15\u5bfc\u542f\u52a8\u9009\u5b9a\u7684\u5185\u6838\uff1b<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t3.3 \u914d\u7f6e\u6587\u4ef6\uff1a\/boot\/grub\/grub.conf<br \/>\n\t&nbsp;<br \/>\n\t\u914d\u7f6e\u9879\uff1a<br \/>\n\t&nbsp;<br \/>\n\tdefault=#: \u8bbe\u5b9a\u9ed8\u8ba4\u542f\u52a8\u7684\u83dc\u5355\u9879\uff1b\u843d\u5355\u9879(title)\u7f16\u53f7\u4ece0\u5f00\u59cb\uff1b<br \/>\n\t&nbsp;<br \/>\n\ttimeout=#\uff1a\u6307\u5b9a\u83dc\u5355\u9879\u7b49\u5f85\u9009\u9879\u9009\u62e9\u7684\u65f6\u957f\uff1b<br \/>\n\t&nbsp;<br \/>\n\tsplashimage=(hd#,#)\/PATH\/TO\/XPM_PIC_FILE\uff1a\u6307\u660e\u83dc\u5355\u80cc\u666f\u56fe\u7247\u6587\u4ef6\u8def\u5f84\uff1b<br \/>\n\t&nbsp;<br \/>\n\thiddenmenu\uff1a\u9690\u85cf\u83dc\u5355\uff1b<br \/>\n\t&nbsp;<br \/>\n\tpassword [--md5] STRING: \u83dc\u5355\u7f16\u8f91\u8ba4\u8bc1\uff1b<br \/>\n\t&nbsp;<br \/>\n\ttitle TITLE\uff1a\u5b9a\u4e49\u83dc\u5355\u9879&ldquo;\u6807\u9898&rdquo;, \u53ef\u51fa\u73b0\u591a\u6b21\uff1b\u7528\u6765\u5f15\u5bfc\u591a\u4e2a\u5185\u6838\u6216\u8005\u64cd\u4f5c\u7cfb\u7edf<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp; root (hd#,#)\uff1agrub\u67e5\u627estage2\u53cakernel\u6587\u4ef6\u6240\u5728\u8bbe\u5907\u5206\u533a\uff1b\u4e3agrub\u7684&ldquo;\u6839&rdquo;;<br \/>\n\t&nbsp;<br \/>\n\tkernel \/PATH\/TO\/VMLINUZ_FILE [PARAMETERS]\uff1a\u542f\u52a8\u7684\u5185\u6838<br \/>\n\t&nbsp;<br \/>\n\tinitrd \/PATH\/TO\/INITRAMFS_FILE: \u5185\u6838\u5339\u914d\u7684ramfs\u6587\u4ef6\uff1b<br \/>\n\t&nbsp;<br \/>\n\tpassword [--md5] STRING: \u542f\u52a8\u9009\u5b9a\u7684\u5185\u6838\u6216\u64cd\u4f5c\u7cfb\u7edf\u65f6\u8fdb\u884c\u8ba4\u8bc1<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t4.\u52a0\u8f7d\u5185\u6838\u9636\u6bb5<br \/>\n\t&nbsp;<br \/>\n\t\u5185\u6838\u4f1a\u81ea\u8eab\u521d\u59cb\u5316\uff1a<br \/>\n\t&nbsp;<br \/>\n\t\u63a2\u6d4b\u53ef\u8bc6\u522b\u5230\u7684\u6240\u6709\u786c\u4ef6\u8bbe\u5907\uff1b<br \/>\n\t&nbsp;<br \/>\n\t\u52a0\u8f7d\u786c\u4ef6\u9a71\u52a8\u7a0b\u5e8f\uff1b\uff08\u6709\u53ef\u80fd\u4f1a\u501f\u52a9\u4e8eramdisk\u52a0\u8f7d\u9a71\u52a8\uff09<br \/>\n\t&nbsp;<br \/>\n\t\u4ee5\u53ea\u8bfb\u65b9\u5f0f\u6302\u8f7d\u6839\u6587\u4ef6\u7cfb\u7edf\uff1b<br \/>\n\t&nbsp;<br \/>\n\t\u8fd0\u884c\u7528\u6237\u7a7a\u95f4\u7684\u7b2c\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\uff1a\/sbin\/init<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t5.init\u521d\u59cb\u5316\u9636\u6bb5<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t\u5185\u6838\u52a0\u8f7d\u5b8c\u6bd5\uff0c\u4f1a\u8fd0\u884cinit\u7a0b\u5e8f\uff0cinit\u8fdb\u7a0b\u8d77\u6765\u540e\uff0c\u7cfb\u7edf\u542f\u52a8\u7684\u63a7\u5236\u6743\u79fb\u4ea4\u7ed9init\u8fdb\u7a0b<br \/>\n\t&nbsp;<br \/>\n\t\/sbin\/init\u8fdb\u7a0b\u662f\u6240\u6709\u8fdb\u7a0b\u7684\u7236\u8fdb\u7a0b\uff0c\u5f53init\u8d77\u6765\u4e4b\u540e\uff0c\u5b83\u9996\u5148\u4f1a\u8bfb\u53d6\u914d\u7f6e\u6587\u4ef6\/etc\/inittab\uff0c\u8fdb\u884c\u4ee5\u4e0b\u5de5\u4f5c\uff1a<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t1.\u6267\u884c\u7cfb\u7edf\u521d\u59cb\u5316\u811a\u672c(\/etc\/rc.d\/rc.sysinit)\uff0c\u5bf9\u7cfb\u7edf\u8fdb\u884c\u57fa\u672c\u7684\u914d\u7f6e\uff0c\u4ee5\u8bfb\u5199\u65b9\u5f0f\u6302\u8f7d\u6839\u6587\u4ef6\u7cfb\u7edf\u53ca\u5176\u5b83\u6587\u4ef6\u7cfb\u7edf\uff0c\u5230\u6b64\u7cfb\u7edf\u57fa\u672c\u7b97\u8fd0\u884c\u8d77\u6765\u4e86\uff0c\u540e\u9762\u9700\u8981\u8fdb\u884c\u8fd0\u884c\u7ea7\u522b\u7684\u786e\u5b9a\u53ca\u76f8\u5e94\u670d\u52a1\u7684\u542f\u52a8\uff1b<br \/>\n\t&nbsp;<br \/>\n\t2.\u786e\u5b9a\u542f\u52a8\u540e\u8fdb\u5165\u7684\u8fd0\u884c\u7ea7\u522b\uff1b<br \/>\n\t&nbsp;<br \/>\n\t3.\u6267\u884c\/etc\/rc.d\/rc\uff0c\u8be5\u6587\u4ef6\u5b9a\u4e49\u4e86\u670d\u52a1\u542f\u52a8\u7684\u987a\u5e8f\u662f\u5148K\u540eS\uff0c\u800c\u5177\u4f53\u7684\u6bcf\u4e2a\u8fd0\u884c\u7ea7\u522b\u7684\u670d\u52a1\u72b6\u6001\u662f\u653e\u5728\/etc\/rc.d\/rcn.d\uff08n=0~6\uff09\u76ee\u5f55\u4e0b\uff0c\u6240\u6709\u7684\u6587\u4ef6\u5747\u94fe\u63a5\u81f3\/etc\/init.d\u4e0b\u7684\u76f8\u5e94\u6587\u4ef6\u3002<br \/>\n\t&nbsp;<br \/>\n\t4.\u6709\u5173key sequence\u7684\u8bbe\u7f6e5.\u6709\u5173UPS\u7684\u811a\u672c\u5b9a\u4e496.\u542f\u52a8\u865a\u62df\u7ec8\u7aef\/sbin\/mingetty 7.\u5728\u8fd0\u884c\u7ea7\u522b5\u4e0a\u8fd0\u884cX<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t\u914d\u7f6e\u6587\u4ef6\uff1a\/etc\/inittab<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp; \u6bcf\u884c\u5b9a\u4e49\u4e00\u79cdaction\u4ee5\u53ca\u4e0e\u4e4b\u5bf9\u5e94\u7684process<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp; id:runlevels:action:process<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id\uff1a\u4e00\u4e2a\u4efb\u52a1\u7684\u6807\u8bc6\u7b26\uff1b<br \/>\n\t&nbsp;<br \/>\n\trunlevels\uff1a\u5728\u54ea\u4e9b\u7ea7\u522b\u542f\u52a8\u6b64\u4efb\u52a1\uff1b#\uff0c###\uff0c\u53ef\u4ee5\u4e3a\u7a7a\uff0c\u8868\u793a\u6240\u6709\u7ea7\u522b\uff1b<br \/>\n\t&nbsp;<br \/>\n\taction\uff1a\u5728\u4ec0\u4e48\u6761\u4ef6\u4e0b\u542f\u52a8\u6b64\u4efb\u52a1\uff1b<br \/>\n\t&nbsp;<br \/>\n\tprocess\uff1a\u4efb\u52a1\uff1b\uff08\u811a\u672c\u6216\u7a0b\u5e8f\uff09<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp; action\uff1a<br \/>\n\t&nbsp;<br \/>\n\twait\uff1a\u7b49\u5f85\u5207\u6362\u81f3\u6b64\u4efb\u52a1\u6240\u5728\u7684\u7ea7\u522b\u65f6\u6267\u884c\u4e00\u6b21\uff1b<br \/>\n\t&nbsp;<br \/>\n\trespawn\uff1a\u4e00\u65e6\u6b64\u4efb\u52a1\u7ec8\u6b62\uff0c\u5c31\u81ea\u52a8\u91cd\u65b0\u542f\u52a8\u4e4b\uff1b<br \/>\n\t&nbsp;<br \/>\n\tinitdefault\uff1a\u8bbe\u5b9a\u9ed8\u8ba4\u8fd0\u884c\u7ea7\u522b\uff1b\u6b64\u65f6\uff0cprocess\u7701\u7565\uff1b<br \/>\n\t&nbsp;<br \/>\n\tsysinit\uff1a\u8bbe\u5b9a\u7cfb\u7edf\u521d\u59cb\u5316\u65b9\u5f0f\uff0c\u6b64\u5904\u4e00\u822c\u4e3a\u6307\u5b9a\/etc\/rc.d\/rc.sysinit\u811a\u672c\uff1b<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp; K*\uff1a\u8981\u505c\u6b62\u7684\u670d\u52a1\uff1bK##*\uff0c\u4f18\u5148\u7ea7\uff0c\u6570\u5b57\u8d8a\u5c0f\uff0c\u8d8a\u662f\u4f18\u5148\u5173\u95ed\uff1b\u4f9d\u8d56\u7684\u670d\u52a1\u5148\u5173\u95ed\uff0c\u800c\u540e\u5173\u95ed\u88ab\u4f9d\u8d56\u7684\uff1b<br \/>\n\t&nbsp;<br \/>\n\tS*\uff1a\u8981\u542f\u52a8\u7684\u670d\u52a1\uff1bS##*\uff0c\u4f18\u5148\u7ea7\uff0c\u6570\u5b57\u8d8a\u5c0f\uff0c\u8d8a\u662f\u4f18\u5148\u542f\u52a8\uff1b\u88ab\u4f9d\u8d56\u7684\u670d\u52a1\u5148\u542f\u52a8\uff0c\u800c\u4f9d\u8d56\u7684\u670d\u52a1\u540e\u542f\u52a8\uff1b<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\tchkconfig\u547d\u4ee4\uff1a\u7ba1\u63a7\/etc\/init.d\/\u6bcf\u4e2a\u670d\u52a1\u811a\u672c\u5728\u5404\u7ea7\u522b\u4e0b\u7684\u542f\u52a8\u6216\u5173\u95ed\u72b6\u6001\uff1b<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp; \u67e5\u770b\uff1achkconfig&nbsp; --list&nbsp;&nbsp; [name]<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp; \u6dfb\u52a0\uff1achkconfig&nbsp; --add&nbsp; name<br \/>\n\t&nbsp;<br \/>\n\t\u5220\u9664\uff1achkconfig&nbsp; --del&nbsp; name<br \/>\n\t&nbsp;<br \/>\n\t\u4fee\u6539\u6307\u5b9a\u7684\u94fe\u63a5\u7c7b\u578b\uff1a<br \/>\n\t&nbsp;<br \/>\n\tchkconfig&nbsp; [--level&nbsp; LEVELS]&nbsp; name&nbsp; &lt;on|off|reset&gt;<br \/>\n\t&nbsp;<br \/>\n\t--level LEVELS\uff1a\u6307\u5b9a\u8981\u63a7\u5236\u7684\u7ea7\u522b\uff1b\u9ed8\u8ba4\u4e3a2345\uff1b<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\tinit\u547d\u4ee4\uff1a<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp; \u7ea7\u522b\u5207\u6362\uff1ainit #<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;&nbsp;&nbsp; \u7ea7\u522b\u67e5\u770b\uff1awho -r<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t&nbsp;<br \/>\n\t\u6ce8\uff1a<br \/>\n\t&nbsp;<br \/>\n\t\u6b63\u5e38\u7ea7\u522b\u4e0b\uff0c\u6700\u540e\u542f\u52a8\u7684\u4e00\u4e2a\u670d\u52a1S99local\u6ca1\u6709\u94fe\u63a5\u81f3\/etc\/init.d\u4e0b\u7684\u67d0\u811a\u672c\uff0c\u800c\u662f\u94fe\u63a5\u81f3\u4e86\/etc\/rc.d\/rc.local \uff08\/etc\/rc.local\uff09\u811a\u672c\uff1b\u56e0\u6b64\uff0c\u4e0d\u4fbf\u6216\u4e0d\u9700\u5199\u4e3a\u670d\u52a1\u811a\u672c\u7684\u7a0b\u5e8f\u671f\u671b\u80fd\u5f00\u673a\u81ea\u52a8\u8fd0\u884c\u65f6\uff0c\u76f4\u63a5\u653e\u7f6e\u4e8e\u6b64\u811a\u672c\u6587\u4ef6\u4e2d\u5373\u53ef\u3002<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; 1.\u52a0\u7535\u81ea\u68c0 &nbsp; \u4e3b\u677f\u5728\u63a5\u901a\u7535\u6e90\u540e\uff0c\u7cfb\u7edf\u9996\u5148\u7531POST\u7a0b\u5e8f\u6765\u5bf9\u5185\u90e8\u5404\u4e2a\u8bbe\u5907\u8fdb\u884c\u68c0\u67e5\uff0c\u81ea\u68c0\u4e2d\u5982\u53d1\u73b0\u6709\u9519\u8bef\uff0c\u5c06\u6309\u4e24\u79cd\u60c5\u51b5\u5904\u7406\uff1a\u5bf9\u4e8e\u4e25\u91cd\u6545\u969c(\u81f4\u547d\u6027\u6545\u969c)\u5219\u505c\u673a\uff0c\u6b64\u65f6\u7531\u4e8e\u5404\u79cd\u521d\u59cb\u5316\u64cd\u4f5c\u8fd8\u6ca1\u5b8c\u6210\uff0c\u4e0d\u80fd\u7ed9\u51fa\u4efb\u4f55\u63d0\u793a\u6216\u4fe1\u53f7\uff1b\u5bf9\u4e8e\u975e\u4e25\u91cd\u6545\u969c\u5219\u7ed9\u51fa\u63d0\u793a\u6216\u58f0\u97f3\u62a5\u8b66\u4fe1\u53f7\uff0c\u7b49\u5f85\u7528\u6237\u5904\u7406\u3002 &nbsp; &nbsp; &nbsp; 2.BIOS\u542f\u52a8\u5f15\u5bfc\u9636\u6bb5 &nbsp; \u81ea\u68c0\u901a\u8fc7\u4e4b\u540e\uff0c\u6309\u6b21\u5e8f\u67e5\u627e\u5404\u5f15\u5bfc\u8bbe\u5907\uff0c\u7b2c\u4e00\u4e2a\u6709\u5f15\u5bfc\u7a0b\u5e8f\u7684\u8bbe\u5907\u5373\u4e3a\u672c\u6b21\u542f\u52a8\u8981\u7528\u5230\u7684\u8bbe\u5907\u3002\u4e00\u822c\u7535\u8111\u662f\u6309&quot;F2&quot;\u6216&quot;Del&quot;\u952e\u7b49\u7b49\u8fdb\u5165BIOS\uff0c\u5728\u91cc\u9762\u6211\u4eec\u53ef\u4ee5\u8c03\u6574\u786c\u76d8\u7684\u542f\u52a8\u987a\u5e8f\u3002 &nbsp; &nbsp; \u627e\u5230\u7b2c\u4e00\u4e2a\u6709\u5f15\u5bfc\u7a0b\u5e8f\u7684\u8bbe\u5907\u540e\uff0cBIOS\u4f1a\u627e\u5230\u8bbe\u5907\u4e2d\u7684MBR\uff0c\u8bfb\u53d6\u5176\u4e2d\u7684Bootloader\u3002 &nbsp; &nbsp; &nbsp; 3.GRUP\u5f15\u5bfc\u9636\u6bb5 &nbsp; \u8fd9\u65f6\u5019\u5c31\u53ef\u4ee5\u770b\u5230\u6211\u4eec\u7684Centos\u7cfb\u7edf\u4e86\uff0c\u4f46\u662f\u4e00\u822c\u90fd\u4e0d\u9700\u8981\u64cd\u4f5c\uff0c\u4f1a\u81ea\u52a8\u542f\u52a8\u7cfb\u7edf\u3002\u5176\u5b9e\u6211\u4eec\u4e5f\u53ef\u4ee5\u81ea\u5df1\u624b\u52a8\u542f\u52a8\u7cfb\u7edf\u7684\u3002 &nbsp; &nbsp; &nbsp; 3.1 \u624b\u52a8\u5728grub\u547d\u4ee4\u884c\u63a5\u53e3\u542f\u52a8\u7cfb\u7edf\uff1a &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; grub&gt; root (hd#,#) &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; grub&gt; kernel \/vmlinuz-VERSION-RELEASE ro root=\/dev\/DEVICE &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; grub&gt; initrd \/initramfs-VERSION-RELEASE.img &nbsp; grub&gt; boot &nbsp; &nbsp; &nbsp; 3.2 grub\u7684\u547d\u4ee4\u884c\u63a5\u53e3\uff1a &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e: \u7f16\u8f91\u6a21\u5f0f\uff0c\u7528\u4e8e\u7f16\u8f91\u83dc\u5355\uff1b &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-1222","post","type-post","status-publish","format-standard","hentry","category-lk"],"aioseo_notices":[],"brizy_media":[],"_links":{"self":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/1222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1222"}],"version-history":[{"count":1,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/1222\/revisions"}],"predecessor-version":[{"id":1224,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/1222\/revisions\/1224"}],"wp:attachment":[{"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}