Jump to content

mmcblk0 resizing failing on 32GB or larger uSD Card


Recommended Posts

I have built an image for BananaPi M3 using build and docker.

 

I can install fine on 16GB cards, but anything larger is failing on the mmcblk0 partition resize and then is going into repeated fsck's and failed boots.

 

I have built armbian debian stretch years before and had it installing and running fine on the BananaPi M3, on 256GB uSD Cards.

 

I tried manually extending the partition from an imaged smaller one running parted followed by resize2fs and it had the same crashing on boot. The boots a bit too fast to ascertain where its crashing but it might be the uDev step.

 

Can anyone offer any help with this

Edited by AaronNGray
Link to comment
Share on other sites

Search Before Posting!

2 hours ago, AaronNGray said:

I have built an image for BananaPi M3 using build and docker.


Like today and from latest sources? Can you provide information exactly which image did you build?

Changes to the partition management has been merged last week and they could cause those problems:
https://github.com/armbian/build/pull/4184

https://github.com/armbian/build/pull/4138

 

@going

 

Link to comment
Share on other sites

2 часа назад, AaronNGray сказал:

Can anyone offer any help with this

Most likely, your sd card has finished its life cycle.

 

You can check this using the utility fsck

 

Link to comment
Share on other sites

Built from yesterdays master HEAD on WSL Ubuntu with 
 

Quote

./compile.sh docker EXPERT="yes" BOARD=bananapim3 RELEASE=buster

 

Armbian_22.11.0-trunk_Bananapim3_buster_current_5.15.67.img

 

It seems to be happening with a version of Focal on an older build as well :- Armbian_21.08.1_Bananapim3_focal_current_5.10.60.img

 

>You can check this using the utility fsck

 

I dont get to a command line on the target system and don't have access to a a uSD Card with Windows Subsystem for Linux. I would have to form an image and mount it to do that.

 

Edited by AaronNGray
Link to comment
Share on other sites

40 минут назад, AaronNGray сказал:

I dont get to a command line on the target system and don't have access to a a uSD Card with Windows Subsystem for Linux.

You have all the tools.

Start Banana PiM 3 with a 16GB card.

Insert a 250GB card via a usb adapter into the BananaPi M3.

The card should be defined as /dev/sda.

 

sudo fsck /dev/sda

 

help:

man fsck
 

Link to comment
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...
 Share

×
×
  • Create New...