{"id":22,"date":"2025-02-23T01:53:00","date_gmt":"2025-02-22T17:53:00","guid":{"rendered":"https:\/\/zty.ink\/?p=22"},"modified":"2025-09-01T00:38:39","modified_gmt":"2025-08-31T16:38:39","slug":"openwrt-ext4%e7%b3%bb%e7%bb%9f%e4%b8%8b%e7%9a%84%e6%a0%b9%e5%88%86%e5%8c%ba%e6%89%a9%e5%ae%b9%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/zty.ink\/?p=22","title":{"rendered":"OpenWrt ext4\u7cfb\u7edf\u4e0b\u7684\u6839\u5206\u533a\u6269\u5bb9\u6307\u5357"},"content":{"rendered":"\n<p>\u4ee5\u4e0b\u4e3a\u672c\u7bc7\u6587\u7ae0\u6d4b\u8bd5\u73af\u5883\uff0c\u56e0\u6b64\u4ec5\u5bf9\u90e8\u5206\u73af\u5883\u6709\u501f\u9274\u610f\u4e49<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u578b\u53f7<\/th><th>Raspberry Pi 4 Model B Rev 1.4<\/th><\/tr><\/thead><tbody><tr><td>\u67b6\u6784<\/td><td>ARMv8 Processor rev 3 (v8l) x 4 (1800Mhz, 48.2\u00b0C)<\/td><\/tr><tr><td>\u76ee\u6807\u5e73\u53f0<\/td><td>bcm27xx\/bcm2711<\/td><\/tr><tr><td>\u56fa\u4ef6\u7248\u672c<\/td><td>ImmortalWrt 24.10.0 r32824-6a73dae98c9c \/ LuCI openwrt-24.10 branch 25.017.24510~d42ec55<\/td><\/tr><tr><td>\u4f7f\u7528\u7684\u56fa\u4ef6\u4e3aopenwrt-<strong>24.10.0<\/strong>-bcm27xx-bcm2711-rpi-4-<strong>ext4<\/strong>-factory\u3002<strong>\u975eoverlay\u7cfb\u7edf<\/strong><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u539f\u7406<\/h2>\n\n\n\n<p>\u9996\u5148\u6269\u5c55\u6839\u5206\u533a\uff0c\u7136\u540e\u6269\u5c55\u6587\u4ef6\u7cfb\u7edf<br><strong>Expanding root partition\uff08\u6269\u5c55\u6839\u5206\u533a\uff09<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8fd9\u6307\u7684\u662f\u5728\u7269\u7406\u6216\u865a\u62df\u5b58\u50a8\u8bbe\u5907\u4e0a\u589e\u52a0\u5206\u533a\u7684\u5927\u5c0f<\/li>\n\n\n\n<li>\u6d89\u53ca\u5230\u4fee\u6539\u5206\u533a\u8868\uff0c\u8c03\u6574\u5206\u533a\u7684\u7269\u7406\u8fb9\u754c<\/li>\n\n\n\n<li>\u4f7f\u7528\u7c7b\u4f3c fdisk\u3001parted \u7b49\u5de5\u5177\u6765\u5b8c\u6210<\/li>\n\n\n\n<li>\u8fd9\u662f<strong>\u5e95\u5c42\u7684\u5b58\u50a8\u7a7a\u95f4\u8c03\u6574<\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>Expanding root filesystem\uff08\u6269\u5c55\u6839\u6587\u4ef6\u7cfb\u7edf\uff09<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8fd9\u6307\u7684\u662f\u8c03\u6574\u6587\u4ef6\u7cfb\u7edf\u672c\u8eab\u7684\u5927\u5c0f\u4ee5\u4f7f\u7528\u66f4\u5927\u7684\u5206\u533a\u7a7a\u95f4<\/li>\n\n\n\n<li>\u5728\u5206\u533a\u5df2\u7ecf\u6269\u5c55\u540e\uff0c\u9700\u8981\u6267\u884c\u6b64\u64cd\u4f5c\u624d\u80fd\u5b9e\u9645\u4f7f\u7528\u65b0\u589e\u7684\u7a7a\u95f4<\/li>\n\n\n\n<li>\u4f7f\u7528\u7c7b\u4f3c resize2fs\uff08ext4\uff09\u3001xfs_growfs\uff08XFS\uff09\u7b49\u5de5\u5177\u6765\u5b8c\u6210<\/li>\n\n\n\n<li>\u8fd9\u662f<strong>\u6587\u4ef6\u7cfb\u7edf\u5c42\u9762\u7684\u64cd\u4f5c<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u7b80\u5355\u6765\u8bf4\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u6269\u5c55\u6839\u5206\u533a\u662f\u5728\u5b58\u50a8\u8bbe\u5907\u5c42\u9762\u589e\u52a0\u53ef\u7528\u7a7a\u95f4<\/li>\n\n\n\n<li>\u6269\u5c55\u6839\u6587\u4ef6\u7cfb\u7edf\u662f\u8ba9\u6587\u4ef6\u7cfb\u7edf\u77e5\u9053\u5e76\u80fd\u591f\u4f7f\u7528\u8fd9\u4e9b\u65b0\u589e\u7684\u7a7a\u95f4<\/li>\n<\/ol>\n\n\n\n<p>\u5728 OpenWRT \u4e2d\uff0c\u5982\u679c\u8981\u5b8c\u6574\u5730\u6269\u5c55\u6839\u76ee\u5f55\u7684\u53ef\u7528\u7a7a\u95f4\uff0c\u901a\u5e38\u9700\u8981\u4f9d\u6b21\u6267\u884c\u8fd9\u4e24\u4e2a\u6b65\u9aa4\u3002\u5148\u6269\u5c55\u5206\u533a\uff0c\u518d\u6269\u5c55\u6587\u4ef6\u7cfb\u7edf\uff0c\u8fd9\u6837\u624d\u80fd\u771f\u6b63\u5229\u7528\u5230\u65b0\u589e\u7684\u5b58\u50a8\u7a7a\u95f4\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u51c6\u5907<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b89\u88c5\u5bf9\u5e94\u5de5\u5177<\/h3>\n\n\n\n<p>\u9996\u5148,\u9700\u8981\u5b89\u88c5<code>parted<\/code> <code>resize2fs<\/code> <code>losetup<\/code><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>opkg update\nopkg install parted resize2fs lostup<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">opkg<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">update<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">opkg<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">parted<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">resize2fs<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">lostup<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u68c0\u67e5OpenWrt\u7cfb\u7edf\u56fa\u4ef6<\/h3>\n\n\n\n<p>\u7531\u4e8e\u6211\u7684OpenWrt\u7cfb\u7edf\u662fext4,\u56e0\u6b64\u5e76\u6ca1\u6709\u4f7f\u7528overlay,\u4ece\u547d\u4ee4\u8f93\u51fa\u4e5f\u53ef\u4ee5\u770b\u51fa\u6765<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>root@ImmortalWrt:~# block info\n\/dev\/mmcblk0p1: UUID=\"67A3-2229\" LABEL=\"boot\" VERSION=\"FAT16\" MOUNT=\"\/boot\" TYPE=\"vfat\"\n\/dev\/mmcblk0p2: UUID=\"ff313567-e9f1-5a5d-9895-3ba130b4a864\" LABEL=\"rootfs\" VERSION=\"1.0\" MOUNT=\"\/\" TYPE=\"ext4\"\n\nroot@ImmortalWrt:~# mount\n\/dev\/root on \/ type ext4 (rw,noatime)\nproc on \/proc type proc (rw,nosuid,nodev,noexec,relatime)\nsysfs on \/sys type sysfs (rw,nosuid,nodev,noexec,relatime)\ncgroup2 on \/sys\/fs\/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)\ntmpfs on \/tmp type tmpfs (rw,nosuid,nodev,noatime)\n\/dev\/mmcblk0p1 on \/boot type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)\ntmpfs on \/dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)\ndevpts on \/dev\/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)\ndebugfs on \/sys\/kernel\/debug type debugfs (rw,nosuid,nodev,noexec,noatime)\nbpffs on \/sys\/fs\/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">root@ImmortalWrt:~#<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">block<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">info<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">\/dev\/mmcblk0p1:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">UUID=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">67A3-2229<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">LABEL=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">boot<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">VERSION=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">FAT16<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">MOUNT=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">\/boot<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">TYPE=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">vfat<\/span><span style=\"color: #DEE492\">&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">\/dev\/mmcblk0p2:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">UUID=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">ff313567-e9f1-5a5d-9895-3ba130b4a864<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">LABEL=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">rootfs<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">VERSION=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">1.0<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">MOUNT=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">\/<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">TYPE=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">ext4<\/span><span style=\"color: #DEE492\">&quot;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">root@ImmortalWrt:~#<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mount<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">\/dev\/root<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ext4<\/span><span style=\"color: #F6F6F4\"> (rw,noatime)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">proc<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/proc<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">proc<\/span><span style=\"color: #F6F6F4\"> (rw,nosuid,nodev,noexec,relatime)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sysfs<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/sys<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sysfs<\/span><span style=\"color: #F6F6F4\"> (rw,nosuid,nodev,noexec,relatime)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">cgroup2<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/sys\/fs\/cgroup<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">cgroup2<\/span><span style=\"color: #F6F6F4\"> (rw,nosuid,nodev,noexec,relatime,nsdelegate)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">tmpfs<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/tmp<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">tmpfs<\/span><span style=\"color: #F6F6F4\"> (rw,nosuid,nodev,noatime)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">\/dev\/mmcblk0p1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/boot<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">vfat<\/span><span style=\"color: #F6F6F4\"> (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">tmpfs<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">tmpfs<\/span><span style=\"color: #F6F6F4\"> (rw,nosuid,noexec,noatime,size=512k,mode=755)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">devpts<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev\/pts<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">devpts<\/span><span style=\"color: #F6F6F4\"> (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">debugfs<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/sys\/kernel\/debug<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">debugfs<\/span><span style=\"color: #F6F6F4\"> (rw,nosuid,nodev,noexec,noatime)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">bpffs<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/sys\/fs\/bpf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">bpf<\/span><span style=\"color: #F6F6F4\"> (rw,nosuid,nodev,noexec,noatime,mode=700)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u8fd9\u786e\u5b9e\u4e0d\u662f overlay \u6587\u4ef6\u7cfb\u7edf\u3002\u4ece\u8f93\u51fa\u53ef\u4ee5\u770b\u5230\uff1a \u5f53\u524d\u6709\u4e24\u4e2a\u5206\u533a\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/dev\/mmcblk0p1\uff1aFAT16\u683c\u5f0f\uff0c\u6302\u8f7d\u5728 \/boot<\/li>\n\n\n\n<li>\/dev\/mmcblk0p2\uff1aext4\u683c\u5f0f\uff0c\u6302\u8f7d\u5728\u6839\u76ee\u5f55 \/<\/li>\n<\/ul>\n\n\n\n<p>\u76ee\u524d\u7684\u7cfb\u7edf\u662f\u76f4\u63a5\u8fd0\u884c\u5728 ext4 \u5206\u533a\u4e0a\uff0c\u800c\u4e0d\u662f overlay \u6587\u4ef6\u7cfb\u7edf<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8c03\u6574\u5206\u533a\u8868<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f7f\u7528parted\u8fdb\u884c\u8c03\u6574<\/h3>\n\n\n\n<p>\u5f97\u77e5\u7edf\u662f\u76f4\u63a5\u8fd0\u884c\u5728 ext4 \u5206\u533a\u4e0a,\u56e0\u6b64\u6211\u4eec\u4f7f\u7528parted\u68c0\u67e5\u5206\u533a\u5e76\u6269\u5bb9<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>parted -l -s # \u67e5\u770b\u78c1\u76d8\u540d\u548c\u5e8f\u53f7\n\nparted \/dev\/mmcblk0 resizepart 2 100% #<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">parted<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-l<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-s<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #7B7F8B\"># \u67e5\u770b\u78c1\u76d8\u540d\u548c\u5e8f\u53f7<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">parted<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev\/mmcblk0<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">resizepart<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">2<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">100<\/span><span style=\"color: #E7EE98\">%<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #7B7F8B\">#<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u6b64\u65f6\u8fd0\u884c\u547d\u4ee4,\u53d1\u73b0\u6211\u4eec\u7684\u5206\u533a\u8868\u5df2\u6210\u529f\u8c03\u6574<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>root@ImmortalWrt:~# parted \/dev\/mmcblk0 print\nModel: SD ED2S5 (sd\/mmc)\nDisk \/dev\/mmcblk0: 128GB\nSector size (logical\/physical): 512B\/512B\nPartition Table: msdos\nDisk Flags: \n\nNumber  Start   End     Size    Type     File system  Flags\n 1      4194kB  71.3MB  67.1MB  primary  fat16        boot, lba\n 2      75.5MB  128GB   128GB   primary  ext4<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">root@ImmortalWrt:~#<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">parted<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev\/mmcblk0<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">print<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Model:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">SD<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ED2S5<\/span><span style=\"color: #F6F6F4\"> (sd\/mmc)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Disk<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev\/mmcblk0:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">128<\/span><span style=\"color: #E7EE98\">GB<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Sector<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">size<\/span><span style=\"color: #F6F6F4\"> (logical\/physical): 512B\/512B<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Partition<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Table:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">msdos<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Disk<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Flags:<\/span><span style=\"color: #F6F6F4\"> <\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Number<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">Start<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #E7EE98\">End<\/span><span style=\"color: #F6F6F4\">     <\/span><span style=\"color: #E7EE98\">Size<\/span><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #E7EE98\">Type<\/span><span style=\"color: #F6F6F4\">     <\/span><span style=\"color: #E7EE98\">File<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">system<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">Flags<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">1<\/span><span style=\"color: #F6F6F4\">      <\/span><span style=\"color: #BF9EEE\">4194<\/span><span style=\"color: #E7EE98\">kB<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #BF9EEE\">71.3<\/span><span style=\"color: #E7EE98\">MB<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #BF9EEE\">67.1<\/span><span style=\"color: #E7EE98\">MB<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">primary<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">fat16<\/span><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #E7EE98\">boot,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">lba<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">2<\/span><span style=\"color: #F6F6F4\">      <\/span><span style=\"color: #BF9EEE\">75.5<\/span><span style=\"color: #E7EE98\">MB<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #BF9EEE\">128<\/span><span style=\"color: #E7EE98\">GB<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #BF9EEE\">128<\/span><span style=\"color: #E7EE98\">GB<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #E7EE98\">primary<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">ext4<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f7f\u7528fdisk\u8fdb\u884c\u8c03\u6574<\/h3>\n\n\n\n<p>\u5982\u679c\u4f60\u65e0\u6cd5\u4f7f\u7528parted\u8fdb\u884c\u8c03\u6574\uff0c\u8bf7\u5c1d\u8bd5\u4f7f\u7528fdisk\u8c03\u6574\u3002\u82e5\u4e0a\u4e00\u6b65\u8c03\u6574\u6210\u529f\uff0c\u5219\u65e0\u9700\u7406\u4f1a\u6b64\u6b65\u9aa4\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>opkg install parted<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">opkg<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">parted<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u9996\u5148\u67e5\u770b\u5206\u533a\u8868\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>fdisk -l\n\nDisk \/dev\/mmcblk0: 119.38 GiB, 128177930240 bytes, 250347520 sectors\nUnits: sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 512 bytes\nI\/O size (minimum\/optimal): 512 bytes \/ 512 bytes\nDisklabel type: dos\nDisk identifier: 0x3c92ff95\n\nDevice         Boot  Start       End   Sectors   Size Id Type\n\/dev\/mmcblk0p1 *      8192    139263    131072    64M  6 FAT16\n\/dev\/mmcblk0p2      147456 250347519 250200064 119.3G 83 Linux<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">fdisk<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-l<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Disk<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev\/mmcblk0:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">119.38<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">GiB,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">128177930240<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">bytes,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">250347520<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sectors<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Units:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sectors<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">of<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">512<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">512<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">bytes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Sector<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">size<\/span><span style=\"color: #F6F6F4\"> (logical\/physical): 512 bytes \/ 512 bytes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">I\/O<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">size<\/span><span style=\"color: #F6F6F4\"> (minimum\/optimal): 512 bytes \/ 512 bytes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Disklabel<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dos<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Disk<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">identifier:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">0x3c92ff95<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Device<\/span><span style=\"color: #F6F6F4\">         <\/span><span style=\"color: #E7EE98\">Boot<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">Start<\/span><span style=\"color: #F6F6F4\">       <\/span><span style=\"color: #E7EE98\">End<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #E7EE98\">Sectors<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #E7EE98\">Size<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Id<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Type<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">\/dev\/mmcblk0p1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #F6F6F4\">      <\/span><span style=\"color: #BF9EEE\">8192<\/span><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #BF9EEE\">139263<\/span><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #BF9EEE\">131072<\/span><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #BF9EEE\">64<\/span><span style=\"color: #E7EE98\">M<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #BF9EEE\">6<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">FAT16<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">\/dev\/mmcblk0p2<\/span><span style=\"color: #F6F6F4\">      <\/span><span style=\"color: #BF9EEE\">147456<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">250347519<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">250200064<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">119.3<\/span><span style=\"color: #E7EE98\">G<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">83<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Linux<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u53d1\u73b0\u6211\u4eec\u9700\u8981\u4fee\u6539\u7684\u78c1\u76d8\u540d\u4e3a<code>\/dev\/mmcblk0<\/code>\uff0c\u56e0\u6b64\u6267\u884c\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>fdisk \/dev\/mmcblk0<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">fdisk<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev\/mmcblk0<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u6309\u7167\u56fe\u793a\u5185\u5bb9\u8fdb\u884c\u4fee\u6539\u5373\u53ef\uff0c\u5efa\u8bae<code>mmcblk0p2<\/code>\u6309\u7167\u539f\u672c\u7684<code>start<\/code>\u4f4d\u7f6e\u5f00\u59cb\u5206\u533a\uff0c\u907f\u514d\u5176\u4ed6\u9519\u8bef\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>root@ZhangOpenWrt:~# fdisk \/dev\/mmcblk0\n\nWelcome to fdisk (util-linux 2.40.2).\nChanges will remain in memory only, until you decide to write them.\nBe careful before using the write command.\n\nThis disk is currently in use - repartitioning is probably a bad idea.\n\nCommand (m for help): p\n\nDisk \/dev\/mmcblk0: 119.38 GiB, 128177930240 bytes, 250347520 sectors\nUnits: sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 512 bytes\nI\/O size (minimum\/optimal): 512 bytes \/ 512 bytes\nDisklabel type: dos\nDisk identifier: 0x3c92ff95\n\nDevice         Boot  Start    End Sectors  Size Id Type\n\/dev\/mmcblk0p1 *      8192 139263  131072   64M  6 FAT16\n\/dev\/mmcblk0p2      147456 761855  614400  300M 83 Linux\n\nCommand (m for help): d\nPartition number (1,2, default 2): 2\n\nPartition 2 has been deleted.\n\nCommand (m for help): n\nPartition type\n   p   primary (1 primary, 0 extended, 3 free)\n   e   extended (container for logical partitions)\nSelect (default p): p\nPartition number (2-4, default 2): \nFirst sector (2048-250347519, default 2048): 147456\nLast sector, +\/-sectors or +\/-size{K,M,G,T,P} (147456-250347519, default 250347519): \n\nCreated a new partition 2 of type 'Linux' and of size 119.3 GiB.\nPartition #2 contains a ext4 signature.\n\nDo you want to remove the signature? &#91;Y&#93;es\/&#91;N&#93;o: n\n\nCommand (m for help): w\n\nThe partition table has been altered.\nSyncing disks.<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">root@ZhangOpenWrt:~#<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">fdisk<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev\/mmcblk0<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Welcome<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">to<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">fdisk<\/span><span style=\"color: #F6F6F4\"> (util-linux <\/span><span style=\"color: #BF9EEE\">2.40<\/span><span style=\"color: #E7EE98\">.2<\/span><span style=\"color: #F6F6F4\">).<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Changes<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">will<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">remain<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">in<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">memory<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">only,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">until<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">you<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">decide<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">to<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">write<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">them.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Be<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">careful<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">before<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">using<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">the<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">write<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">command.<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">This<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">disk<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">is<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">currently<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">in<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">use<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">-<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">repartitioning<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">is<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">probably<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">a<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">bad<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">idea.<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Command<\/span><span style=\"color: #F6F6F4\"> (m <\/span><span style=\"color: #E7EE98\">for<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">help<\/span><span style=\"color: #F6F6F4\">): p<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Disk<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev\/mmcblk0:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">119.38<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">GiB,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">128177930240<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">bytes,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">250347520<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sectors<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Units:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sectors<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">of<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">512<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">512<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">bytes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Sector<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">size<\/span><span style=\"color: #F6F6F4\"> (logical\/physical): 512 bytes \/ 512 bytes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">I\/O<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">size<\/span><span style=\"color: #F6F6F4\"> (minimum\/optimal): 512 bytes \/ 512 bytes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Disklabel<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dos<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Disk<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">identifier:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">0x3c92ff95<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Device<\/span><span style=\"color: #F6F6F4\">         <\/span><span style=\"color: #E7EE98\">Boot<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">Start<\/span><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #E7EE98\">End<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Sectors<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">Size<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Id<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Type<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">\/dev\/mmcblk0p1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #F6F6F4\">      <\/span><span style=\"color: #BF9EEE\">8192<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">139263<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #BF9EEE\">131072<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #BF9EEE\">64<\/span><span style=\"color: #E7EE98\">M<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #BF9EEE\">6<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">FAT16<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">\/dev\/mmcblk0p2<\/span><span style=\"color: #F6F6F4\">      <\/span><span style=\"color: #BF9EEE\">147456<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">761855<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #BF9EEE\">614400<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #BF9EEE\">300<\/span><span style=\"color: #E7EE98\">M<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">83<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Linux<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Command<\/span><span style=\"color: #F6F6F4\"> (m <\/span><span style=\"color: #E7EE98\">for<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">help<\/span><span style=\"color: #F6F6F4\">): d<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Partition<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">number<\/span><span style=\"color: #F6F6F4\"> (1,2, <\/span><span style=\"color: #E7EE98\">default<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">2<\/span><span style=\"color: #F6F6F4\">): 2<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Partition<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">2<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">has<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">been<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">deleted.<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Command<\/span><span style=\"color: #F6F6F4\"> (m <\/span><span style=\"color: #E7EE98\">for<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">help<\/span><span style=\"color: #F6F6F4\">): n<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Partition<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #62E884\">p<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #E7EE98\">primary<\/span><span style=\"color: #F6F6F4\"> (1 <\/span><span style=\"color: #E7EE98\">primary,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">0<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">extended,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">3<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">free<\/span><span style=\"color: #F6F6F4\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #62E884\">e<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #E7EE98\">extended<\/span><span style=\"color: #F6F6F4\"> (container <\/span><span style=\"color: #E7EE98\">for<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">logical<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">partitions<\/span><span style=\"color: #F6F6F4\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Select<\/span><span style=\"color: #F6F6F4\"> (default <\/span><span style=\"color: #E7EE98\">p<\/span><span style=\"color: #F6F6F4\">): p<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Partition<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">number<\/span><span style=\"color: #F6F6F4\"> (2-4, <\/span><span style=\"color: #E7EE98\">default<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">2<\/span><span style=\"color: #F6F6F4\">): <\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">First<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sector<\/span><span style=\"color: #F6F6F4\"> (2048-250347519, <\/span><span style=\"color: #E7EE98\">default<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">2048<\/span><span style=\"color: #F6F6F4\">): 147456<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Last<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sector,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">+\/-sectors<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">or<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">+\/-size{K,M,G,T,P}<\/span><span style=\"color: #F6F6F4\"> (147456-250347519, <\/span><span style=\"color: #E7EE98\">default<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">250347519<\/span><span style=\"color: #F6F6F4\">): <\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Created<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">a<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">new<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">partition<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">2<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">of<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">Linux<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">and<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">of<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">size<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">119.3<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">GiB.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Partition<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #7B7F8B\">#2 contains a ext4 signature.<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Do<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">you<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">want<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">to<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">remove<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">the<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">signature?<\/span><span style=\"color: #F6F6F4\"> &#91;Y&#93;es\/&#91;N&#93;o: n<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Command<\/span><span style=\"color: #F6F6F4\"> (m <\/span><span style=\"color: #E7EE98\">for<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">help<\/span><span style=\"color: #F6F6F4\">): w<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">The<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">partition<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">table<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">has<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">been<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">altered.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Syncing<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">disks.<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u6700\u540e\u4f7f\u7528<code>fdisk -l<\/code>\u53ef\u4ee5\u67e5\u770b\u5206\u533a\u8868\u5df2\u7ecf\u6210\u529f\u4fee\u6539\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u62d3\u5c55\u6587\u4ef6\u7cfb\u7edf<\/h2>\n\n\n\n<p>Loop Device \u662f\u4e00\u4e2a\u865a\u62df\u5757\u8bbe\u5907\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5c06\u6587\u4ef6\u6216\u5757\u8bbe\u5907\u6620\u5c04\u4e3a\u4e00\u4e2a\u65b0\u7684\u5757\u8bbe\u5907\uff0c\u8fd9\u79cd\u6620\u5c04\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4e2d\u95f4\u5c42\uff0c\u5141\u8bb8\u4ee5\u66f4\u5b89\u5168\u7684\u65b9\u5f0f\u64cd\u4f5c\u5e95\u5c42\u8bbe\u5907<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>\u7269\u7406\u8bbe\u5907(\u5982\/dev\/mmcblk0p2) -> Loop Device(\/dev\/loop0) -> resize2fs\u64cd\u4f5c<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">\u7269\u7406\u8bbe\u5907(\u5982\/dev\/mmcblk0p2<\/span><span style=\"color: #F6F6F4\">) -<\/span><span style=\"color: #F286C4\">&gt;<\/span><span style=\"color: #F6F6F4\"> Loop Device(<\/span><span style=\"color: #62E884\">\/dev\/loop0<\/span><span style=\"color: #F6F6F4\">) -<\/span><span style=\"color: #F286C4\">&gt;<\/span><span style=\"color: #F6F6F4\"> resize2fs\u64cd\u4f5c<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># 1. \u5efa\u7acb\u6620\u5c04\nlosetup \/dev\/loop0 \/dev\/mmcblk0p2\n# \u6b64\u65f6\u521b\u5efa\u4e86\u4e00\u4e2a\u4ece loop0 \u5230\u5b9e\u9645\u5206\u533a\u7684\u6620\u5c04\n\n# 2. \u6587\u4ef6\u7cfb\u7edf\u64cd\u4f5c\nresize2fs -f \/dev\/loop0\n# resize2fs \u901a\u8fc7 loop device \u63a5\u53e3\u4fee\u6539\u6587\u4ef6\u7cfb\u7edf\n\n# 3. \u53d8\u66f4\u751f\u6548\nreboot\n# \u91cd\u542f\u4f7f\u6240\u6709\u7f13\u5b58\u7684\u66f4\u6539\u5199\u5165\u78c1\u76d8<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># 1. \u5efa\u7acb\u6620\u5c04<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">losetup<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev\/loop0<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev\/mmcblk0p2<\/span><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u6b64\u65f6\u521b\u5efa\u4e86\u4e00\u4e2a\u4ece loop0 \u5230\u5b9e\u9645\u5206\u533a\u7684\u6620\u5c04<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># 2. \u6587\u4ef6\u7cfb\u7edf\u64cd\u4f5c<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">resize2fs<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-f<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/dev\/loop0<\/span><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># resize2fs \u901a\u8fc7 loop device \u63a5\u53e3\u4fee\u6539\u6587\u4ef6\u7cfb\u7edf<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># 3. \u53d8\u66f4\u751f\u6548<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">reboot<\/span><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u91cd\u542f\u4f7f\u6240\u6709\u7f13\u5b58\u7684\u66f4\u6539\u5199\u5165\u78c1\u76d8<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><br><strong>\u4e00\u822c\u6765\u8bf4\uff0c\u5728\u8fdb\u884c\u7b2c\u4e8c\u6b65\u4e4b\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>df -h<\/code>\u7684\u65b9\u6cd5\u67e5\u770b\u786c\u76d8\u5206\u533a\u5927\u5c0f\u662f\u5426\u6539\u53d8\uff0c\u82e5\u6539\u53d8\uff0c\u53ef\u91cd\u542f\u4fdd\u5b58\u66f4\u6539\u3002\u82e5\u672a\u6539\u53d8\uff0c\u8bf7\u5148\u6392\u67e5\u9519\u8bef\u539f\u56e0\uff0c\u907f\u514d\u914d\u7f6e\u9519\u8bef\u540e\u91cd\u542f\u5bfc\u81f4\u7684\u7cfb\u7edf\u5954\u6e83\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5728Raspberry Pi 4\u4e0a\u8fd0\u884cext4\u6587\u4ef6\u7cfb\u7edf\u7684OpenWrt\u65f6\uff0c\u5982\u4f55\u8fdb\u884c\u6839\u5206\u533a\u6269\u5bb9\u3002\u6587\u7ae0\u5206\u522b\u4ece\u539f\u7406\u89e3\u91ca\u3001\u5de5\u5177\u51c6\u5907\u3001\u5206\u533a\u8868\u8c03\u6574(\u4f7f\u7528parted\u6216fdisk)\u4ee5\u53ca\u6587\u4ef6\u7cfb\u7edf\u6269\u5c55\u7b49\u65b9\u9762\uff0c\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u64cd\u4f5c\u6b65\u9aa4\u548c\u6ce8\u610f\u4e8b\u9879\u3002\u9002\u7528\u4e8e\u975eoverlay\u7cfb\u7edf\u7684OpenWrt 24.10.0\u7248\u672c\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,9,3,4],"tags":[5],"class_list":["post-22","post","type-post","status-publish","format-standard","hentry","category-openwrt","category-raspi","category-3","category-4","tag-5"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OpenWrt ext4\u7cfb\u7edf\u4e0b\u7684\u6839\u5206\u533a\u6269\u5bb9\u6307\u5357 - Zero To You<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zty.ink\/?p=22\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpenWrt ext4\u7cfb\u7edf\u4e0b\u7684\u6839\u5206\u533a\u6269\u5bb9\u6307\u5357 - Zero To You\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5728Raspberry Pi 4\u4e0a\u8fd0\u884cext4\u6587\u4ef6\u7cfb\u7edf\u7684OpenWrt\u65f6\uff0c\u5982\u4f55\u8fdb\u884c\u6839\u5206\u533a\u6269\u5bb9\u3002\u6587\u7ae0\u5206\u522b\u4ece\u539f\u7406\u89e3\u91ca\u3001\u5de5\u5177\u51c6\u5907\u3001\u5206\u533a\u8868\u8c03\u6574(\u4f7f\u7528parted\u6216fdisk)\u4ee5\u53ca\u6587\u4ef6\u7cfb\u7edf\u6269\u5c55\u7b49\u65b9\u9762\uff0c\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u64cd\u4f5c\u6b65\u9aa4\u548c\u6ce8\u610f\u4e8b\u9879\u3002\u9002\u7528\u4e8e\u975eoverlay\u7cfb\u7edf\u7684OpenWrt 24.10.0\u7248\u672c\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zty.ink\/?p=22\" \/>\n<meta property=\"og:site_name\" content=\"Zero To You\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-22T17:53:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-31T16:38:39+00:00\" \/>\n<meta name=\"author\" content=\"zhangtianyi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"zhangtianyi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zty.ink\/?p=22\",\"url\":\"https:\/\/zty.ink\/?p=22\",\"name\":\"OpenWrt ext4\u7cfb\u7edf\u4e0b\u7684\u6839\u5206\u533a\u6269\u5bb9\u6307\u5357 - Zero To You\",\"isPartOf\":{\"@id\":\"https:\/\/zty.ink\/#website\"},\"datePublished\":\"2025-02-22T17:53:00+00:00\",\"dateModified\":\"2025-08-31T16:38:39+00:00\",\"author\":{\"@id\":\"https:\/\/zty.ink\/#\/schema\/person\/c80c32751937fc5a8b1a4da22b441f60\"},\"breadcrumb\":{\"@id\":\"https:\/\/zty.ink\/?p=22#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zty.ink\/?p=22\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zty.ink\/?p=22#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/zty.ink\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenWrt ext4\u7cfb\u7edf\u4e0b\u7684\u6839\u5206\u533a\u6269\u5bb9\u6307\u5357\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zty.ink\/#website\",\"url\":\"https:\/\/zty.ink\/\",\"name\":\"Zero To You\",\"description\":\"\u6765\u81eazty\u7684\u7b14\u8bb0\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zty.ink\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zty.ink\/#\/schema\/person\/c80c32751937fc5a8b1a4da22b441f60\",\"name\":\"zhangtianyi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/zty.ink\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e60fc42ece674655853a6f943c65768079d157b86e45ccdd2ed928e1d62bc47e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e60fc42ece674655853a6f943c65768079d157b86e45ccdd2ed928e1d62bc47e?s=96&d=mm&r=g\",\"caption\":\"zhangtianyi\"},\"sameAs\":[\"http:\/\/172.22.0.14:8080\"],\"url\":\"https:\/\/zty.ink\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OpenWrt ext4\u7cfb\u7edf\u4e0b\u7684\u6839\u5206\u533a\u6269\u5bb9\u6307\u5357 - Zero To You","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zty.ink\/?p=22","og_locale":"zh_CN","og_type":"article","og_title":"OpenWrt ext4\u7cfb\u7edf\u4e0b\u7684\u6839\u5206\u533a\u6269\u5bb9\u6307\u5357 - Zero To You","og_description":"\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5728Raspberry Pi 4\u4e0a\u8fd0\u884cext4\u6587\u4ef6\u7cfb\u7edf\u7684OpenWrt\u65f6\uff0c\u5982\u4f55\u8fdb\u884c\u6839\u5206\u533a\u6269\u5bb9\u3002\u6587\u7ae0\u5206\u522b\u4ece\u539f\u7406\u89e3\u91ca\u3001\u5de5\u5177\u51c6\u5907\u3001\u5206\u533a\u8868\u8c03\u6574(\u4f7f\u7528parted\u6216fdisk)\u4ee5\u53ca\u6587\u4ef6\u7cfb\u7edf\u6269\u5c55\u7b49\u65b9\u9762\uff0c\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u64cd\u4f5c\u6b65\u9aa4\u548c\u6ce8\u610f\u4e8b\u9879\u3002\u9002\u7528\u4e8e\u975eoverlay\u7cfb\u7edf\u7684OpenWrt 24.10.0\u7248\u672c\u3002","og_url":"https:\/\/zty.ink\/?p=22","og_site_name":"Zero To You","article_published_time":"2025-02-22T17:53:00+00:00","article_modified_time":"2025-08-31T16:38:39+00:00","author":"zhangtianyi","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"zhangtianyi","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zty.ink\/?p=22","url":"https:\/\/zty.ink\/?p=22","name":"OpenWrt ext4\u7cfb\u7edf\u4e0b\u7684\u6839\u5206\u533a\u6269\u5bb9\u6307\u5357 - Zero To You","isPartOf":{"@id":"https:\/\/zty.ink\/#website"},"datePublished":"2025-02-22T17:53:00+00:00","dateModified":"2025-08-31T16:38:39+00:00","author":{"@id":"https:\/\/zty.ink\/#\/schema\/person\/c80c32751937fc5a8b1a4da22b441f60"},"breadcrumb":{"@id":"https:\/\/zty.ink\/?p=22#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zty.ink\/?p=22"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zty.ink\/?p=22#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/zty.ink\/"},{"@type":"ListItem","position":2,"name":"OpenWrt ext4\u7cfb\u7edf\u4e0b\u7684\u6839\u5206\u533a\u6269\u5bb9\u6307\u5357"}]},{"@type":"WebSite","@id":"https:\/\/zty.ink\/#website","url":"https:\/\/zty.ink\/","name":"Zero To You","description":"\u6765\u81eazty\u7684\u7b14\u8bb0","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zty.ink\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/zty.ink\/#\/schema\/person\/c80c32751937fc5a8b1a4da22b441f60","name":"zhangtianyi","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/zty.ink\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e60fc42ece674655853a6f943c65768079d157b86e45ccdd2ed928e1d62bc47e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e60fc42ece674655853a6f943c65768079d157b86e45ccdd2ed928e1d62bc47e?s=96&d=mm&r=g","caption":"zhangtianyi"},"sameAs":["http:\/\/172.22.0.14:8080"],"url":"https:\/\/zty.ink\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zty.ink\/index.php?rest_route=\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zty.ink\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zty.ink\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zty.ink\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zty.ink\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22"}],"version-history":[{"count":1,"href":"https:\/\/zty.ink\/index.php?rest_route=\/wp\/v2\/posts\/22\/revisions"}],"predecessor-version":[{"id":23,"href":"https:\/\/zty.ink\/index.php?rest_route=\/wp\/v2\/posts\/22\/revisions\/23"}],"wp:attachment":[{"href":"https:\/\/zty.ink\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zty.ink\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zty.ink\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}