Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

mmcblk0 resizing failing on 32GB or larger uSD Card

Featured Replies

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

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

 

  • Author

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

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
 

  • Author

>You have all the tools.

Wow, yes, thats useful.

 

sudo fsck /dev/sdb1 comes out fine. 

 

sudo fsck -f  /dev/sdb1 starts okay then powers down the ARM !

  • Author

I have managed to create a new second partition on the 256GB uSD Card and it seems fine ! This is without the USB adapter, but actually on the working drive.

 

Edited by AaronNGray

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.