{"id":208,"date":"2024-08-15T16:08:55","date_gmt":"2024-08-15T08:08:55","guid":{"rendered":"https:\/\/www.yewpo.top\/?p=208"},"modified":"2024-08-15T16:08:55","modified_gmt":"2024-08-15T08:08:55","slug":"%e7%bd%91%e7%bb%9c%e5%90%af%e5%8a%a8%e6%a0%91%e8%8e%93%e6%b4%be","status":"publish","type":"post","link":"https:\/\/www.yewpo.top\/index.php\/208\/","title":{"rendered":"\u7f51\u7edc\u542f\u52a8\u6811\u8393\u6d3e (Network boot your Raspberry Pi 4)"},"content":{"rendered":"<blockquote>\n<p>\u8017\u65f6\u4e00\u5929\u7ec8\u4e8e\u7f51\u7edc\u542f\u52a8\u4e86\u6811\u8393\u6d3e\uff0c\u73b0\u6574\u7406\u4e00\u4e0b\u5206\u4eab\u7ed9\u5927\u5bb6\uff0c\u5e76\u5f25\u8865\u4e00\u4e0b\u532e\u4e4f\u7684\u4e2d\u6587\u8d44\u6599\u3002<\/p>\n<\/blockquote>\n<p>\u9002\u7528\u573a\u666f\uff1a<\/p>\n<p>\u7f51\u4e0a\u7684\u535a\u5ba2\u591a\u662f\u6709\u4e24\u53f0\u6811\u8393\u6d3e\uff0c\u4e00\u4e2a\u4f5c\u4e3a\u670d\u52a1\u5668\uff0c\u4e00\u4e2a\u4f5c\u4e3a\u5ba2\u6237\u673a\u3002\u800c\u672c\u7bc7\u6587\u7ae0\uff0c\u53ea\u6709\u4e00\u4e2a\u6811\u8393\u6d3e\uff0c\u548c\u4e00\u53f0\u81ea\u5df1\u7684\u4e3b\u673a\u3002\u672c\u6587\u7ae0\u7684\u6559\u7a0b\u5df2\u5728 <code>Ubuntu 24.04<\/code> \u548c <code>Manjaro<\/code> \u64cd\u4f5c\u7cfb\u7edf\u4e0a\u6d4b\u8bd5\u8fc7\uff0c\u5747\u80fd\u6210\u529f\u542f\u52a8\u3002\u5982\u679c\u5728\u914d\u7f6e\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e86\u5176\u4ed6\u95ee\u9898\uff0c\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u4e2d\u6307\u51fa\u3002<\/p>\n<h2>1 \u53c2\u8003\u8d44\u6599<\/h2>\n<blockquote>\n<p>\u4e2d\u6587\u641c\u7d22\u5f15\u64ce\u53ef\u80fd\u4e0d\u592a\u80fd\u89e3\u51b3\u8fd9\u6837\u7684\u95ee\u9898\uff0c\u8fd8\u5f97\u662f Google \u9760\u8c31\u3002\u7f51\u4e0a\u8d44\u6599\u8d44\u6599\u6709\u4e9b\u5c0f\u6742\uff0c\u8fd8\u6709\u4e9b\u65f6\u4ee3\u6bd4\u8f83\u4e45\u8fdc\u4e86\u3002<\/p>\n<\/blockquote>\n<ol>\n<li>\u6811\u8393\u6d3e\u7684<a href=\"https:\/\/www.raspberrypi.com\/documentation\/computers\/remote-access.html#network-boot-your-raspberry-pi\">\u5b98\u65b9\u6587\u6863<\/a>\uff0c\u5b98\u65b9\u7684\u8fd8\u662f\u975e\u5e38\u9760\u8c31\uff0c\u4f46\u662f\u9002\u7528\u4e8e\u6709\u4e24\u4e2a\u6811\u8393\u6d3e\u7684\u60c5\u51b5\u3002<\/li>\n<li>\u4e00\u7bc7\u8fd8\u4e0d\u9519\u7684<a href=\"https:\/\/linuxhit.com\/raspberry-pi-pxe-boot-netbooting-a-pi-4-without-an-sd-card\/\">\u535a\u5ba2<\/a>\uff0c\u5927\u65b9\u5411\u662f\u6b63\u786e\u7684\u3002<\/li>\n<\/ol>\n<h2>2 \u524d\u7f6e\u51c6\u5907<\/h2>\n<p>\u786c\u4ef6\u8bbe\u65bd\uff1a<\/p>\n<ul>\n<li>\u6811\u8393\u6d3e4B<\/li>\n<li>\u7f51\u7ebf<\/li>\n<li>SD \u5361\uff08\u867d\u8bf4\u662f\u7f51\u7edc\u542f\u52a8\uff0c\u5728\u914d\u7f6e\u521d\u671f\u8fd8\u662f\u9700\u8981\u7684\uff09<\/li>\n<li>SD \u8bfb\u5361\u5668<\/li>\n<\/ul>\n<p>\u8f6f\u4ef6\uff1a<\/p>\n<ul>\n<li>\u4e3b\u673a\uff08\u4e5f\u5c31\u662f\u4f60\u81ea\u5df1\u7684\u7535\u8111\uff09\u64cd\u4f5c\u7cfb\u7edf Ubuntu 24.04<\/li>\n<li>\u6811\u8393\u6d3e\u64cd\u4f5c\u7cfb\u7edf\u955c\u50cf Raspberry Pi Lite 64<\/li>\n<li>\u6811\u8393\u6d3e\u7684\u70e7\u5f55\u5de5\u5177 Imager<\/li>\n<li>Wireshark\uff08\u65b9\u4fbf\u81ea\u5df1\u770b\u4f20\u8f93\u7684\u6570\u636e\u5305\uff09<\/li>\n<\/ul>\n<h2>3 \u5ba2\u6237\u673a\u914d\u7f6e<\/h2>\n<blockquote>\n<p>\u8fd9\u91cc\u7684\u5ba2\u6237\u673a\u5c31\u6307\u4f60\u7684\u6811\u8393\u6d3e\u3002<\/p>\n<\/blockquote>\n<h3>3.1 \u64cd\u4f5c\u7cfb\u7edf\u70e7\u5f55<\/h3>\n<p>\u4f7f\u7528\u4f60\u7684\u70e7\u5f55\u5de5\u5177 Imager\uff0c\u8bbe\u5907\u9009\u62e9 <code>\u6811\u8393\u6d3e4<\/code>\uff0c\u64cd\u4f5c\u7cfb\u7edf\u9009\u62e9 <code>\u5176\u4ed6\u6811\u8393\u6d3eOS -&gt; Raspberry Pi Lite (64-bit)<\/code>\uff0c\u5b58\u50a8\u9009\u62e9\u4f60\u7684 SD \u5361\u3002\u70b9\u51fb\u4e0b\u4e00\u6b65\uff0c\u4f1a\u8ba9\u4f60\u786e\u5b9a\u9700\u4e0d\u9700\u8981\u8fdb\u884c\u914d\u7f6e\uff0c\u9009\u62e9\u7f16\u8f91\u914d\u7f6e\uff0c\u8bbe\u7f6e\u4f60\u7684\u7f51\u7edc\u8fde\u63a5\u76f8\u5173\u4fe1\u606f\uff08\u63a8\u8350\u4f7f\u7528\u624b\u673a\u70ed\u70b9\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5728\u624b\u673a\u4e0a\u770b\u5230\u4f60\u7684\u6811\u8393\u6d3e\u7684 IP \u5730\u5740\uff09\uff1b\u6700\u5173\u952e\u7684\u662f<strong>\u5728\u7b2c\u4e8c\u4e2a\u5361\u9879\u4e2d\uff0c\u5f00\u542f\u7528\u5bc6\u7801\u767b\u5f55\u7684 ssh<\/strong>\u3002\u9000\u51fa\u7f16\u8f91\u540e\uff0c\u70b9\u51fb\u662f\uff0c\u5c31\u5f00\u59cb\u70e7\u5f55\u64cd\u4f5c\u7cfb\u7edf\u4e86\u3002<\/p>\n<h3>3.2 \u521d\u542f\u64cd\u4f5c\u7cfb\u7edf<\/h3>\n<p>\u5c06\u70e7\u5f55\u597d\u7684 SD \u5361\u63d2\u5165\u5230\u6811\u8393\u6d3e\uff0c\u8fde\u63a5\u7535\u6e90\u5e76\u4e14\u542f\u52a8\u3002\u4e00\u6bb5\u65f6\u95f4\uff081-2\u5206\u949f\uff09\u540e\uff0c\u4f7f\u7528\u4f60\u7684\u7b14\u8bb0\u672c ssh \u8fde\u63a5\u6811\u8393\u6d3e <code>ssh username@IP<\/code>\u3002<\/p>\n<h3>3.3 \u914d\u7f6e\u64cd\u4f5c\u7cfb\u7edf<\/h3>\n<blockquote>\n<p>\ud83c\udfaf \u73b0\u5728\u5728\u6811\u8393\u6d3e\u4e0a\u914d\u7f6e\u7684\u64cd\u4f5c\u7cfb\u7edf\u540e\u9762\u5c31\u76f4\u63a5\u662f\u7f51\u7edc\u542f\u52a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e86\uff0c\u53ef\u4ee5\u597d\u597d\u5730\u914d\u7f6e\u4e00\u4e0b\u3002<\/p>\n<\/blockquote>\n<h4>3.3.1 \u57fa\u7840\u5de5\u5177<\/h4>\n<p>\u76f4\u63a5\u7ed9\u4e00\u4e2a\u6211\u7684\u811a\u672c\u5427\u3002<\/p>\n<pre><code class=\"language-bash\"># Install tools, self install other tools if needed\nsudo apt update &amp;&amp; sudo apt full-upgrade -y &amp;&amp; sudo apt autoremove -y\nsudo apt install -y git curl wget zsh tmux htop tree neofetch fd-find ripgrep fzf autojump ranger neovim\nsudo apt install -y trace-cmd\nsudo apt install -y build-essential\n\n# Install ohmyzsh\nsh -c &quot;$(curl -fsSL https:\/\/raw.githubusercontent.com\/ohmyzsh\/ohmyzsh\/master\/tools\/install.sh)&quot;\n\n# Run command below after above finish !!!\ngit clone https:\/\/github.com\/zsh-users\/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~\/.oh-my-zsh\/custom}\/plugins\/zsh-syntax-highlighting\ngit clone https:\/\/github.com\/zsh-users\/zsh-autosuggestions ${ZSH_CUSTOM:-~\/.oh-my-zsh\/custom}\/plugins\/zsh-autosuggestions\nsed -i &#039;s\/plugins=(git)\/plugins=(git zsh-syntax-highlighting zsh-autosuggestions tmux colored-man-pages autojump)\/g&#039; ~\/.zshrc<\/code><\/pre>\n<p>\u5b8c\u6210\u4e4b\u540e\uff0c\u5efa\u8bae\u91cd\u542f\u6811\u8393\u6d3e\u4e00\u4e0b\u3002<\/p>\n<h4>3.3.2 \u4fee\u6539\u542f\u52a8\u987a\u5e8f<\/h4>\n<p>\u6811\u8393\u6d3e4\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u884c\u4fee\u6539\u3002\u4ee5\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884c <code>raspi-config<\/code>\uff0c\u4f9d\u6b21\u9009\u62e9 <code>\u9ad8\u7ea7\u9009\u9879 -&gt; \u542f\u52a8\u987a\u5e8f -&gt; \u7f51\u7edc\u542f\u52a8\u4f18\u5148<\/code>\uff0c\u4fdd\u5b58\u540e\uff0c<strong>\u7acb\u5373\u91cd\u542f\u9009\u62e9\u5426<\/strong>\u3002<\/p>\n<h4>3.3.3 \u91cd\u7f6e ssh-server<\/h4>\n<blockquote>\n<p>\u2757 \u8fd9\u4e00\u6b65\u5f88\u91cd\u8981\u3002<\/p>\n<\/blockquote>\n<p>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"language-bash\">sudo rm \/etc\/ssh\/ssh_host_*\nsudo dpkg-reconfigure openssh-server<\/code><\/pre>\n<p>\u5230\u8fd9\u4e00\u6b65\uff0c\u4f60\u7684\u5ba2\u6237\u64cd\u4f5c\u7cfb\u7edf\u5c31\u57fa\u672c\u5b8c\u6210\u4e86\uff01\u53ef\u4ee5\u5173\u673a\u62d4\u6389 SD \u5361\u3002<\/p>\n<h2>4 \u4e3b\u673a\u914d\u7f6e<\/h2>\n<blockquote>\n<p>\u8fd9\u91cc\u4e3b\u673a\u5c31\u662f\u4f60\u7684\u7535\u8111\u3002<\/p>\n<\/blockquote>\n<h3>4.1 \u5de5\u5177\u5b89\u88c5<\/h3>\n<p>\u5b89\u88c5\u4e00\u4e9b\u5fc5\u8981\u7684\u5de5\u5177\uff1a<\/p>\n<pre><code class=\"language-bash\">sudo apt install rsync dnsmasq nfs-kernel-server<\/code><\/pre>\n<p><code>Arch<\/code> \u6709 wiki \u6307\u5bfc\u4f60\u9700\u8981\u5b89\u88c5\u4ec0\u4e48\u8f6f\u4ef6\u3002<\/p>\n<h3>4.2 \u7f51\u7edc\u914d\u7f6e<\/h3>\n<blockquote>\n<p>\u4e3b\u8981\u662f\u9700\u8981\u624b\u52a8\u914d\u7f6e\u4e3b\u673a\u7684\u6709\u7ebf\u8fde\u63a5\uff0c\u4f7f\u4f60\u7684\u7535\u8111\u6709\u56fa\u5b9a\u7684 IP \u5730\u5740\u3002<\/p>\n<\/blockquote>\n<p>\u6253\u5f00\u4e3b\u673a\u7cfb\u7edf\u8bbe\u7f6e\u4e2d\u7684\u7f51\u7edc\u914d\u7f6e\uff0c\u914d\u7f6e\u4f60\u7684\u6709\u7ebf\u7f51\u5361\u3002\u8bbe\u7f6e\u8be5\u6709\u7ebf\u7f51\u7edc\u7684 IPv4 \u7684\u914d\u7f6e\u65b9\u5f0f\u4e3a\u624b\u52a8\u914d\u7f6e\uff0c\u8bbe\u7f6e\u7f51\u7edc\u5730\u5740\u4e3a <code>192.168.2.101<\/code> \uff0c\u63a9\u7801\u5730\u5740\u4e3a <code>255.255.255.0<\/code>\uff0c\u8bbe\u7f6e\u7f51\u5173\u5730\u5740\u4e3a <code>192.168.2.1<\/code> \u3002<\/p>\n<h3>4.3 dnsmasq \u914d\u7f6e<\/h3>\n<p>\u8fd9\u4e00\u6b65\u662f\u914d\u7f6e\u4f60\u7684 <code>DHCP<\/code> \u670d\u52a1\u5668\u4ee5\u53ca <code>PXE<\/code> \u542f\u52a8\u3002<\/p>\n<p>\u521b\u5efa\u4e00\u4e2a\u7f51\u7edc\u542f\u52a8\u7684 boot \u6587\u4ef6\u5939\uff0c\u5047\u8bbe\u4e3a <code>\/tftpboot<\/code> \u3002<\/p>\n<pre><code class=\"language-bash\">sudo mkdir \/tftpboot\nsudo chmod 777 \/tftpboot<\/code><\/pre>\n<p>\u4fee\u6539 <code>\/etc\/dnsmasq.conf<\/code> \u6587\u4ef6\uff0c\u4f7f\u5176\u5177\u6709\u4ee5\u4e0b\u5185\u5bb9\uff08\u786e\u4fdd\u65e0\u8bef\uff09\uff1a<\/p>\n<pre><code>port=0\ndhcp-range=192.168.2.150,192.168.2.200,12h\nenable-tftp\ntftp-root=\/tftpboot\npxe-service=0,&quot;Raspberry Pi Boot&quot;\nlog-dhcp<\/code><\/pre>\n<p>\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8 <code>dnsmasq<\/code> \u670d\u52a1\u3002<\/p>\n<pre><code class=\"language-shell\">sudo systemctl enable dnsmasq.service\nsudo systemctl restart dnsmasq.service<\/code><\/pre>\n<h3>4.4 NFS \u6587\u4ef6\u7cfb\u7edf\u914d\u7f6e<\/h3>\n<p>\u521b\u5efa\u4e00\u4e2a NFS \u6587\u4ef6\u7ed9\u6811\u8393\u6d3e\u7528\uff0c\u4f8b\u5982 <code>\/nfs\/client<\/code> \u3002<\/p>\n<pre><code class=\"language-bash\">sudo mkdir -p \/nfs\/client<\/code><\/pre>\n<p>\u6dfb\u52a0\u8be5\u6587\u4ef6\u7cfb\u7edf\u548c boot \u6587\u4ef6\u5939\u5230 <code>\/etc\/exports<\/code> \u4e2d\uff0c <code>\/etc\/exports<\/code> \u6587\u4ef6\u4fee\u6539\u540e\u5982\u4e0b\uff1a<\/p>\n<pre><code>\/nfs\/client *(rw,sync,insecure,no_subtree_check,no_root_squash)\n\/tftpboot *(rw,sync,insecure,no_subtree_check,no_root_squash)<\/code><\/pre>\n<p>\u91cd\u542f RPC \u548c NFS \u670d\u52a1\uff1a<\/p>\n<pre><code class=\"language-shell\">sudo systemctl enable rpcbind\nsudo systemctl restart rpcbind\nsudo systemctl enable nfs-kernel-server\nsudo systemctl restart nfs-kernel-server<\/code><\/pre>\n<blockquote>\n<p>\u2757 \u5bf9\u4e8e <code>Arch<\/code> \u7528\u6237\uff0c\u9700\u8981\u542f\u52a8\u7684\u662f <code>nfs-service<\/code> \u800c\u4e0d\u662f <code>nfsv4-service<\/code> \u3002<\/p>\n<\/blockquote>\n<h3>4.5 \u64cd\u4f5c\u7cfb\u7edf\u62f7\u8d1d<\/h3>\n<p>\u8bfb\u53d6 SD \u5361\uff0c\u5c06 SD \u5361\u4e2d\u7684 boot \u6587\u4ef6\u5939\u62f7\u8d1d\u5230 <code>\/tftpboot<\/code> \u6587\u4ef6\u5939\u4e2d\uff0c\u5c06 SD \u5361\u4e2d\u7684 root \u6587\u4ef6\u5939\u62f7\u8d1d\u5230 <code>\/nfs\/client<\/code> \u6587\u4ef6\u5939\u4e2d\u3002\u4e0b\u9762\u4e3e\u4e00\u4e2a\u547d\u4ee4\u884c\u7684\u793a\u4f8b\u3002<\/p>\n<pre><code class=\"language-shell\">cd\nlsblk # Find some entries like sda\nmkdir mnt\nsudo mount \/dev\/sda1 mnt\/boot\nsudo mount \/dev\/sda2 mnt\/root\nsudo rsync -xa --progress mnt\/root\/* \/nfs\/client\nsudo cp -r mnt\/boot\/* \/tftpboot\nsudo umount mnt\/boot\nsudo umount mnt\/root<\/code><\/pre>\n<h3>4.6 \u6700\u540e\u7684\u4fee\u6539<\/h3>\n<p>\u4fee\u6539 <code>\/tftpboot\/cmdline.txt<\/code> \u5982\u4e0b\uff1a<\/p>\n<pre><code>console=serial0,115200 console=tty1 root=\/dev\/nfs nfsroot=192.168.2.101:\/nfs\/client,vers=3 rw ip=dhcp rootwait<\/code><\/pre>\n<p>\u5220\u9664 <code>\/nfs\/client\/etc\/fstab<\/code> \u7b2c2\u884c\u4e4b\u540e\u7684\u5185\u5bb9\uff0c\u5e76\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre><code>192.168.2.101:\/tftpboot \/boot nfs defaults,vers=3 0 0<\/code><\/pre>\n<p>\u4fdd\u5b58\u914d\u7f6e\uff0c\u5e76\u91cd\u542f\u7cfb\u7edf\u3002<\/p>\n<h2>5 \u7f51\u7edc\u542f\u52a8<\/h2>\n<p>\u5230\u8fd9\u91cc\uff0c\u914d\u7f6e\u5de5\u4f5c\u5c31\u5df2\u7ecf\u5b8c\u6210\u4e86\u3002\u7528\u7f51\u7ebf\u8fde\u4e0a\u4f60\u7684\u7535\u8111\u548c\u6811\u8393\u6d3e\uff08SD \u5361\u62d4\u6389\uff09\uff0c\u7ed9\u6811\u8393\u6d3e\u4e0a\u7535\u5427\u3002\u8fc73-4\u5206\u949f\u540e\uff0c\u4f60\u4f1a\u770b\u5230\u4f60\u7684\u624b\u673a\u6709\u65b0\u8bbe\u5907\u8fde\u63a5\u70ed\u70b9\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u7528 ssh \u8fde\u63a5\u4f60\u7684\u6811\u8393\u6d3e\uff01\ud83c\udf89<\/p>\n<h2>6 \u8c03\u8bd5\u6307\u5bfc<\/h2>\n<h3>6.1 \u4e3b\u673a\u65e0\u6cd5\u4e0a\u7f51\u95ee\u9898<\/h3>\n<blockquote>\n<p>\u6bcf\u6b21\u542f\u52a8\u6811\u8393\u6d3e\u540e\uff0c\u4e3b\u673a\u6ca1\u6cd5\u4e0a\u7f51\uff1f\ud83e\udd14<\/p>\n<p>\u8be5\u95ee\u9898\u9488\u5bf9 <code>Ubuntu 24.04<\/code> \u3002<\/p>\n<\/blockquote>\n<p>\u539f\u56e0\u662f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u7684\u8f6c\u53d1\u8868\u4e2d\uff0c\u6709\u7ebf\u7f51\u7edc\u7684\u4f18\u5148\u7ea7\u4f1a\u6bd4\u65e0\u7ebf\u7f51\u7edc\u9ad8\u3002\u6240\u4ee5\uff0c<strong>\u5728\u6bcf\u6b21\u542f\u52a8\u6811\u8393\u6d3e\u540e<\/strong>\uff1a<\/p>\n<pre><code class=\"language-bash\">sudo ip route del default dev eth0 # You need to change the `eth0` to the name of your ethernet device.\nsudo ip route del default dev eth0 # \u2757 Execute it double.<\/code><\/pre>\n<p><strong>\u786e\u786e\u5b9e\u5b9e\u8981\u6267\u884c\u4e24\u6b21<\/strong>\uff01\u7136\u540e\u5c31\u53ef\u4ee5\u4e0a\u7f51\u4e86\uff0c\u4e5f\u4e0d\u5f71\u54cd\u6811\u8393\u6d3e\u7684\u8fde\u63a5\u4f7f\u7528\u3002<\/p>\n<h3>6.2 \u65e0\u6cd5\u542f\u52a8<\/h3>\n<p>\u6709\u4e00\u4e2a <code>Wireshark<\/code> \u5de5\u5177\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u9996\u5148\u9700\u8981\u786e\u5b9a\u4f60\u7684\u51fa\u9519\u9636\u6bb5\u3002\u5982\u679c\u8fdf\u8fdf\u6ca1\u6709\u6293\u5230 <code>TFTP<\/code> \u5305\uff0c\u8bf4\u660e <code>PXE<\/code> \u9636\u6bb5\u5c31\u6ca1\u6709\u6210\u529f\uff0c\u4f60\u9700\u8981\u518d\u68c0\u67e5\u4e00\u4e0b 4.3 \u8282\u4e2d\u6240\u63cf\u8ff0\u7684\u5185\u5bb9\uff1b\u5982\u679c\u6709 <code>TFTP<\/code> \u6570\u636e\u5305\uff0c\u90a3\u4e48\u6709\u53ef\u80fd\u662f\u7b2c\u4e8c\u9636\u6bb5\u6709\u95ee\u9898\u3002\u6b64\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>sudo nfsstatus -s<\/code> \u6765\u68c0\u67e5\u4e00\u4e0b <code>nfs<\/code> \u670d\u52a1\u5668\u662f\u5426\u6b63\u5e38\u5de5\u4f5c\uff0c\u5982\u679c\u6ca1\u6709\u6b63\u5e38\u5de5\u4f5c\uff0c\u8bf7\u68c0\u67e5 4.4 \u8282\u4e2d\u7684\u64cd\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u8fc7\u6709\u7ebf\u7f51\u7edc\uff0c\u542f\u52a8\u6811\u8393\u6d3e\u7684\u914d\u7f6e\u6559\u7a0b\uff0c\u6210\u529f\u540e\u65e0\u9700 SD \u5361\u5373\u53ef\u542f\u52a8\u3002<br \/>\nBoot your Raspberry Pi through Ethernet.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[17],"class_list":["post-208","post","type-post","status-publish","format-standard","hentry","category-os","tag-17"],"_links":{"self":[{"href":"https:\/\/www.yewpo.top\/index.php\/wp-json\/wp\/v2\/posts\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yewpo.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yewpo.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yewpo.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yewpo.top\/index.php\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":0,"href":"https:\/\/www.yewpo.top\/index.php\/wp-json\/wp\/v2\/posts\/208\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yewpo.top\/index.php\/wp-json\/wp\/v2\/media?parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yewpo.top\/index.php\/wp-json\/wp\/v2\/categories?post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yewpo.top\/index.php\/wp-json\/wp\/v2\/tags?post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}