0
sunzone

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.

 

Share this post


Link to post
Share on other sites

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?

Share this post


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. 

Share this post


Link to post
Share on other sites
8 hours ago, martinayotte said:

The service is "armbian-resize-filesystem" ...

It works. Thank You. Enabling "armbian-resize-filesystem" service did it for me.

Quote

systemctl enable armbian-resize-filesystem

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0