openWRT 实战 镜像扩容

75 阅读1分钟

1、下载下x86 版本 openWrt 镜像。 Release R2024-01-28 06:42:32 for X86_64 · haiibo/OpenWrt · GitHub

image.png 2、打开一台虚拟机 把镜像 放在liunx 系统里面。

image.png

3、打开命令行

gzip -kd mini-openwrt-x86-64-generic-squashfs-combined.img.gz 

dd if=/dev/zero bs=1M count=10240 >> mini-openwrt-x86-64-generic-squashfs-combined.img

parted mini-openwrt-x86-64-generic-squashfs-combined.img

resizepart 2 100% 

resizepart 2 100%     

执行成功之后会看到镜像分区变化 image.png