sunzone Posted November 6, 2018 Posted November 6, 2018 On 3/13/2017 at 7:33 PM, tkaiser said: Sure. But the new card has to be at least 'of same size' otherwise partitioning will throw errors. You can search the forum for 'backup sd card emmc' or 'mmcblk0 dd lz4' to get a lot of valuable stuff regarding creation of device images. But as zador already mentioned take care that filesystem isn't corrupted and try at least to repair it if that's true. In case new card is significantly larger you might want to expand rootfs again. With all updates applied running off new card it should be as simple as sudo systemctl enable resize2fs && sudo reboot Expand Hello. My image for Orange Pi One has the following build after apt update and apt upgrade ARMBIAN 5.60 stable Ubuntu 16.04.5 LTS 4.14.70-sunxi "sudo systemctl enable resize2fs" does not work anymore Error message says "Failed to execute operation: No such file or directory" "sudo systemctl enable resize2fs && sudo reboot" works on old kernal images @tkaiser could you please advise how to reinstate SD card resize on first boot? Thank You.
sunzone Posted November 6, 2018 Author Posted November 6, 2018 I check on the latest stable released "Armbian_5.65_Orangepione_Ubuntu_bionic_next_4.14.78" image after apt update and upgrade, and the result is the same for "sudo systemctl enable resize2fs" Error: Failed to enable unit: Unit file resize2fs.service does not exist. How can I reinstate SD card resize(full partition expansion) on restart?
sunzone Posted November 6, 2018 Author Posted November 6, 2018 On 3/15/2017 at 8:43 PM, tkaiser said: Just as a reference: the rootfs resizing moved in the meantime: Expand Quote sudo systemctl enable resize2fs Expand Command does not work in "Armbian_5.65_Orangepione_Ubuntu_bionic_next_4.14.78" image Error: Failed to enable unit: Unit file resize2fs.service does not exist. ARMBIAN 5.60 stable Ubuntu 16.04.5 LTS 4.14.70-sunxi Version, similar problem Error: Failed to execute operation: No such file or directory Can anyone advice on how to reinstate SD card resize(full partition expansion) on restart.
Igor Posted November 6, 2018 Posted November 6, 2018 On 11/6/2018 at 7:37 AM, sunzone said: and the result is the same Expand Nope, resizing works. Check.
martinayotte Posted November 6, 2018 Posted November 6, 2018 On 11/6/2018 at 7:43 AM, sunzone said: Error: Failed to enable unit: Unit file resize2fs.service does not exist. Expand The service is "armbian-resize-filesystem" ... 1
sunzone Posted November 6, 2018 Author Posted November 6, 2018 On 11/6/2018 at 2:23 PM, martinayotte said: The service is "armbian-resize-filesystem" ... Expand It works. Thank You. Enabling "armbian-resize-filesystem" service did it for me. Quote systemctl enable armbian-resize-filesystem Expand
Recommended Posts