





{"id":1697,"date":"2011-01-21T22:35:13","date_gmt":"2011-01-22T02:35:13","guid":{"rendered":"http:\/\/www.killtest.hk\/?p=1697"},"modified":"2011-01-21T22:36:02","modified_gmt":"2011-01-22T02:36:02","slug":"linux-grub","status":"publish","type":"post","link":"https:\/\/www.killtest.hk\/index.php\/unix\/linux-grub\/","title":{"rendered":"\u8f15\u677e\u89e3\u6c7aLinux\u7cfb\u7d71grub\u932f\u8aa4"},"content":{"rendered":"<p>Linux\u5728\u73fe\u5728\u5df2\u7d93\u5f88\u5f37\u5927\u4e86\uff0c\u5c0e\u81f4Linux\u7cfb\u7d71\u8d8a\u4f86\u8d8a\u53d7\u5230\u96fb\u8166\u7528\u6236\u7684\u6b61\u8fce\uff0c\u65bc\u662f\u5f88\u591a\u4eba\u958b\u59cb\u5b78\u7fd2Linux\u6642\uff0c\u5b78\u7fd2\u6642\u59b3\u53ef\u80fd\u6703\u9047\u5230Linux\u7cfb\u7d71grub\u5e38\u898b\u932f\u8aa4\u554f\u984c\uff0c\u9019\u88cf\u5c07\u4ecb\u7d39Linux\u7cfb\u7d71grub\u5e38\u898b\u932f\u8aa4\u554f\u984c\u7684\u89e3\u6c7a\u65b9\u6cd5\uff0c\u8b93\u5927\u5bb6\u4e86\u89e3\u58f9\u4e0b\u3002<\/p>\n<p>\u3000\u30001:Filenamemustbeeitheranabsolutefilenameorblocklist<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a1\u865f\u932f\u8aa4\u8868\u793a\u6587\u4ef6\u540d\u683c\u5f0f\u932f\u8aa4\u3002\u5728GRUB\u4e2d\u8981\u9ebd\u662f\u4ee5\u7d55\u5c0d\u8def\u5f91\u7d66\u51fa\u6587\u4ef6<\/p>\n<p>\u3000\u3000\u4f8b\u5b50\uff1a<\/p>\n<p>\u3000\u3000grub&gt;kernelvmlinuzroot=label=\/<\/p>\n<p>\u3000\u3000Error1:Filenamemustbeeitheranabsolutepathnameorblocklist<\/p>\n<p>\u3000\u3000grub&gt;<\/p>\n<p>\u3000\u30002:Badfileordirectorytype<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a2\u865f\u932f\u8aa4\u8868\u793a\u547d\u4ee4\u671f\u671b\u7684\u662f\u58f9\u500b\u666e\u901a\u6587\u4ef6\uff0c\u4f46\u76f8\u61c9\u6587\u4ef6\u540d\u7684\u5c0d\u8c61\u662f\u58f9\u500b\u7b26\u865f\u93c8\u63a5\u3001\u76ee\u9304\u3001FIFO<\/p>\n<p>\u3000\u3000\u4f8b\u5b50\uff1a<\/p>\n<p>\u3000\u3000grub&gt;kernel\/testdirroot=LABEL=\/<\/p>\n<p>\u3000\u3000Error2:Badfileordirectorytype<\/p>\n<p>\u3000\u3000grub&gt;<\/p>\n<p>\u3000\u30003:Badorcorruptdatawhiledecompressingfile<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a3\u865f\u932f\u8aa4\u8868\u793a\u89e3\u58d3\u6587\u4ef6\u6642\u767c\u751f\u932f\u8aa4\u3002\u53ef\u80fd\u662f\u56e0\u70ba\u9019\u500b\u6587\u4ef6\u88ab\u640d\u58de\u4e86<\/p>\n<p>\u3000\u30004:Badorincompatibleheaderincompressedfile<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a4\u865f\u932f\u8aa4\u8868\u793a\u58d3\u7e2e\u6587\u4ef6\u7684\u982d\u90e8\u683c\u5f0f\u4e0d\u88ab\u517c\u5bb9\u6216\u8005\u932f\u8aa4<\/p>\n<p>\u3000\u30005:Partitiontableinvalidorcorrupt<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a5\u865f\u932f\u8aa4\u8868\u793a\u5206\u5340\u8868\u7121\u6548\u6216\u8005\u88ab\u7834\u58de\u3002\u9019\u662f\u58f9\u500b\u4e0d\u597d\u7684\u9810\u5146<\/p>\n<p>\u3000\u30006:Mismatchedorcorruptversionofstage1\/stage2<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a6\u865f\u932f\u8aa4\u8868\u793ainstall\u547d\u4ee4\u767c\u73festage1\u548cstage2\u7684\u9812\u5e03\u865f\u4e0d\u88ab\u517c\u5bb9<\/p>\n<p>\u3000\u30007:Loadingbelow1MBisnotsupported<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1aThiserrorisreturnedifthelowestaddressinakernelisbelow<\/p>\n<p>\u3000\u3000the1MBboundary.TheLinuxzImageformatisaspecialcaseand<\/p>\n<p>\u3000\u3000canbehandledsinceithasafixedloadingaddressandmaximumsize<\/p>\n<p>\u3000\u30008:Kernelmustbeloadedbeforebooting<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a8\u865f\u932f\u8aa4\u8868\u793a\u57f7\u884cboot\u547d\u4ee4\u4e4b\u524d\u6c92\u6709\u5148\u57f7\u884ckernel\u547d\u4ee4<\/p>\n<p>\u3000\u30009:Unknownbootfailure<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a9\u865f\u932f\u8aa4\u8868\u793a\u672a\u77e5\u7684\u5f15\u5c0e\u932f\u8aa4<\/p>\n<p>\u3000\u300010:UnsupportedMultibootfeaturesrequested<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a10\u865f\u932f\u8aa4\u8868\u793a\u8acb\u6c42Multibootheader\u6240\u8981\u6c42\u529f\u80fd\u4e0d\u88abGRUB\u6240\u652f\u6301\u3002<\/p>\n<p>\u3000\u300011:Unrecognizeddevicestring<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a11\u865f\u932f\u8aa4\u8868\u793a\u7121\u6cd5\u8b58\u5225\u7684\u8a2d\u5099\u5b57\u7b26\u4e32\u3002<\/p>\n<p>\u3000\u3000\u4f8b\u5b50\uff1a<\/p>\n<p>\u3000\u3000grub&gt;roothd0<\/p>\n<p>\u3000\u3000Error11:Unrecognizeddevicestring<\/p>\n<p>\u3000\u3000grub&gt;<\/p>\n<p>\u3000\u300012:Invaliddevicerequested<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a12\u865f\u932f\u8aa4\u8868\u793a\u8acb\u6c42\u7684\u8a2d\u5099\u7121\u6548<\/p>\n<p>\u3000\u3000\u4f8b\u5b50\uff1a<\/p>\n<p>\u3000\u3000grub&gt;root(hd2)<\/p>\n<p>\u3000\u3000Error21:Selecteddiskdoesnotexist<\/p>\n<p>\u3000\u3000grub&gt;kernel\/grub\/grub.confroot=LABEL=\/<\/p>\n<p>\u3000\u3000Error12:Invaliddevicerequested<\/p>\n<p>\u3000\u3000grub&gt;<\/p>\n<p>\u3000\u300013:Invalidorunsupportedexecutableformat<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a13\u865f\u932f\u8aa4\u8868\u793a\u7121\u6548\u6216\u8005\u7121\u6cd5\u8b58\u5225\u7684\u53ef\u57f7\u884c\u683c\u5f0f<\/p>\n<p>\u3000\u3000\u4f8b\u5b50\uff1a<\/p>\n<p>\u3000\u3000grub&gt;kernel\/grub\/grub.confroot=LABEL=\/<\/p>\n<p>\u3000\u3000Error13:Invalidorunsupportedexecutableformat<\/p>\n<p>\u3000\u3000grub&gt;<\/p>\n<p>\u3000\u300014:Filesystemcompatibilityerror,cannotreadwholefile<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a14\u865f\u932f\u8aa4\u8868\u793a\u6587\u4ef6\u7cfb\u7d71\u517c\u5bb9\u6027\u932f\u8aa4\uff0c\u7121\u6cd5\u8b80\u53d6\u6574\u500b\u6587\u4ef6<\/p>\n<p>\u3000\u300015:Filenotfound<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a\u8acb\u6c42\u7684\u6587\u4ef6\u7121\u6cd5\u627e\u5230<\/p>\n<p>\u3000\u3000\u4f8b\u5b50\uff1a<\/p>\n<p>\u3000\u3000grub&gt;find\/grub-noexist\/grub.conf<\/p>\n<p>\u3000\u3000Error15:Filenotfound<\/p>\n<p>\u3000\u3000grub&gt;<\/p>\n<p>\u3000\u300016:Inconsistentfilesystemstructure<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a16\u865f\u932f\u8aa4\u8868\u793a\u4e0d\u58f9\u81f4\u7684\u6587\u4ef6\u7cfb\u7d71\u7d50\u69cb\u3002\u53ef\u80fd\u662f\u6587\u4ef6\u7cfb\u7d71\u7d50\u69cb\u88ab\u7834\u58de\u4e86\u3002<\/p>\n<p>\u3000\u300017:Cannotmountselectedpartition<\/p>\n<p>\u3000\u3000\u89e3\u91cb\uff1a17\u865f\u932f\u8aa4\u8868\u793a\u7121\u6cd5\u639b\u8f09\u6307\u5b9a\u5206\u5340\u3002\u4f8b\u5982swap\u5206\u5340<\/p>\n<p>\u3000\u3000\u4f8b\u5b50\uff1a<\/p>\n<p>\u3000\u3000grub&gt;root(hd0,2)\u9019\u662f\u58f9\u500bswap\u5206\u5340<\/p>\n<p>\u3000\u3000Filesystemtypeunknown,partitiontype0x82<\/p>\n<p>\u3000\u3000grub&gt;kernel\/vmlinuz<\/p>\n<p>\u3000\u3000Error17:Cannotmountselectedpartition<\/p>\n<p>\u3000\u3000grub&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u5728\u73fe\u5728\u5df2\u7d93\u5f88\u5f37\u5927\u4e86\uff0c\u5c0e\u81f4Linux\u7cfb\u7d71\u8d8a\u4f86\u8d8a\u53d7\u5230\u96fb\u8166\u7528\u6236\u7684\u6b61\u8fce\uff0c\u65bc\u662f\u5f88\u591a\u4eba\u958b\u59cb\u5b78\u7fd2Linux\u6642\uff0c\u5b78\u7fd2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[531],"tags":[701,295,651],"class_list":["post-1697","post","type-post","status-publish","format-standard","hentry","category-unix","tag-grub","tag-linux","tag-651"],"_links":{"self":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/posts\/1697","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/comments?post=1697"}],"version-history":[{"count":0,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/posts\/1697\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/media?parent=1697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/categories?post=1697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/tags?post=1697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}