Created
July 12, 2019 05:39
-
-
Save luoqeng/0b60b3e171755349fcd1e8d9b2aa0c65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://downloads.openwrt.org/releases/18.06.4/targets/x86/64/openwrt-18.06.4-x86-64-combined-ext4.img.gz | |
gzip -d openwrt-18.06.4-x86-64-combined-ext4.img.gz | |
dd if=openwrt-18.06.4-x86-64-combined-ext4.img.gz of=/dev/sda bs=4M; sync; | |
apt install parted | |
parted /dev/sda print | |
parted /dev/sda resizepart 2 16G | |
parted /dev/sda print | |
resize2fs /dev/sda2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment