I break my Orangepi one


Recommended Posts

On 3/14/2017 at 4:33 AM, 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

 

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.

 

Link to post
Share on other sites
Donate and support the project!

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?

Link to post
Share on other sites
On 3/16/2017 at 5:43 AM, tkaiser said:

Just as a reference: the rootfs resizing moved in the meantime: 

 

Quote

sudo systemctl enable resize2fs

 

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. 

Link to post
Share on other sites
Guest
This topic is now closed to further replies.