{"id":1107,"date":"2022-07-28T01:11:00","date_gmt":"2022-07-28T01:11:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=1107"},"modified":"2022-07-28T01:11:00","modified_gmt":"2022-07-28T01:11:00","slug":"1107","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2022\/07\/28\/1107\/","title":{"rendered":"VirMach\u4fee\u590d\u6a21\u5f0f\u4f7f\u7528\u7b14\u8bb0: No bootable device \u4fee\u590d\u6570\u636e\u548c\u91cd\u65b0\u5b89\u88c5\u7cfb\u7edf"},"content":{"rendered":"<p>virmach \u5bb6 VNC \u767b\u5f55\uff0c\u663e\u793a\u786c\u76d8\u4e22\u5931<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2022\/07\/3561289327.png\" alt=\"xxxx.png\" title=\"xxxx.png\"><\/p>\n<p>\u9996\u5148\u8bd5\u8bd5\uff0c\u80fd\u5426\u5149\u76d8\u542f\u52a8\uff0c\u770b\u770b\u80fd\u5426\u4fee\u590d\u4e00\u4e0b<br \/>\u6302\u8f7d\u5149\u76d8\uff0c\u53ea\u6709\u4e00\u4e2a\u53ef\u9009\uff0c\u542f\u52a8\u5931\u8d25\uff0c\u663e\u793a\u4ee3\u7801<br \/>Failed to connect to server (code: 1011, reason: Failed to connect to downstream server)       <br \/>\u4f30\u8ba1\u662f\u6bcd\u9e21\u548cISO\u542f\u52a8\u5149\u76d8\u5b58\u50a8\u5e93\u8fde\u63a5\u5931\u8d25<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2022\/07\/2733524889.png\" alt=\"33.png\" title=\"33.png\"><\/p>\n<p>\u9009\u62e9 \u4fee\u590d\u6a21\u5f0f\u91cd\u542f\uff0c\u7136\u540e\u4f7f\u7528 ssh \u767b\u5f55\uff0c\u53ef\u4ee5\u770b\u5230\u786c\u76d8<br \/>\u4fee\u590d\u6a21\u5f0f \u5f15\u5bfc\u7684\u7cfb\u7edf\u5f88\u5c0f\uff0c\u5176\u4ed6\u8f6f\u4ef6\u8981\u81ea\u884c\u5b89\u88c5<\/p>\n<pre><code>apt update\napt install wget  curl  # \u5b89\u88c5\u5e38\u7528\u5de5\u5177<\/code><\/pre>\n<h3>scp \u9053\u662f\u4e0d\u7528\u5b89\u88c5\uff0c\u53ef\u4ee5\u8fd9\u4e2a\uff0c\u628a\u539f\u6765\u7684\u786c\u76d8  mount\uff0c\u628a\u6570\u636e\u6253\u5305 \u4f20\u9001\u5230\u5907\u4efd\u673a\u4e0a<\/h3>\n<h2>1. \u4f7f\u7528 mount \u6302\u8f7d\u539f\u6765\u7684\u786c\u76d8<\/h2>\n<pre><code>mkdir  d\nmount \/dev\/vda1  d\ncd d\/root<\/code><\/pre>\n<h2>2. \u518d\u8bd5\u7528 tar \u6253\u5305\u6570\u636e\uff0c\u8bd5\u7528scp\u5907\u4efd\uff0c\u8fd9\u4e2a\u5c31\u4e0d\u8be6\u7ec6\u8bf4\u4e86<\/h2>\n<h2>3. \u4f7f\u7528 wget \u4e0b\u8f7d netboot.xyz , dd \u5230\u539f\u6765\u7684\u786c\u76d8\u5e94\u8be5\u5c31\u53ef\u4ee5\u91cd\u65b0\u5b89\u88c5\u7cfb\u7edf\u4e86<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/s2.loli.net\/2022\/07\/28\/IWsbTzcrE9SmAj8.png\" alt=\"\" title=\"\"><\/p>\n<h3>\u665a\u4e0a \u628a\u7cfb\u7edf\u4fee\u590d\u597d\u4e86 \uff0c\u548c\u4e0b\u9762\u4e24\u79cd\u65b9\u6cd5\u6709\u70b9\u533a\u522b\uff0c\u4e0d\u8fc7\u4e0b\u9762\u4e24\u79cd \u597d\u7528\u4e00\u70b9<\/h3>\n<pre><code># Install grub-imageboot\napt install grub-imageboot\n\n# Download netboot.xyz ISO\nmkdir \/boot\/images\ncd \/boot\/images\nwget https:\/\/boot.netboot.xyz\/ipxe\/netboot.xyz.iso\n\n# Update GRUB menu to include this ISO\nupdate-grub2\nreboot\n\n# \u6216\u8005 \u4f7f\u7528 dd \u5206\u533a\u65b9\u6cd5\n# dd if=\/dev\/vdb of=\/dev\/vda\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>virmach \u5bb6 VNC \u767b\u5f55\uff0c\u663e\u793a\u786c\u76d8\u4e22\u5931 \u9996\u5148\u8bd5\u8bd5\uff0c\u80fd\u5426\u5149\u76d8\u542f\u52a8\uff0c\u770b\u770b\u80fd\u5426\u4fee\u590d\u4e00\u4e0b\u6302\u8f7d\u5149\u76d8\uff0c\u53ea [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,6],"tags":[40,32],"class_list":["post-1107","post","type-post","status-publish","format-standard","hentry","category-linux","category-vps","tag-ssh","tag-vnc"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/1107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=1107"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/1107\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=1107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=1107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=1107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}