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.

[Solved] How to enlarge size of boot partition in "Building Armbian" (btrfs rootfs)

Featured Replies

I want to make an Armbian image with BTRFS rootfs.  I did, it works.  My problem is the default setup only assign 58M to the partition for /boot, leave only 18M of free space.  I want to make it 150M.

 

I had some bad experience related to such issue before - when I did an "apt upgrade" that involves building of new initrd.img file, the /boot partition is too small to allow the upgrade.  So, I want to fix this issue before I build other stuffs on it.

 

I have browse the docs.armbian.com and read couple of README under the build/ folder but find no hints.

 

Thanks in advance for your help

 

P.S.  I think my question should be a general one, not build environment or SBC dependent.  But for just in case

I use the mini.iso image here (i.e. Ubuntu Bionic 18.04 x64) to build a KVM vm as build environment.

I pick the followings when being prompted

 (1) Full OS image, (2) Not change kernel conf, (3) rock64 board, (4) stretch, (5) image with console interface

 

  • Author

First of all, thank you for all your efforts on those development jobs, codes and docs.  I can't do what I want on my SBC without your effort.

 

Back to my question, for those who want to do something similar, a simple answer is by adding a line to config-default.conf:
BOOTSIZE="150"

 

Well, I would say Documentation to build btrfs rootfs image is well organized.  Starting from the ~/build folder, I can always find a doc points me to another relevant one till the job done.  Along the way I also learn more about Armbian.  However, it is not the case for "size of boot partition". All my efforts tried via ~/build folder is in vain.  It is google leads me to an obsoleted Armbian doc on github plus some guess, some luck and quite some time to test compile.

 

I wonder if obsoleted Armbian docs can still be organized/linked to enrich the current docs. BTW, the doc that helps me out is this one
https://github.com/igorpecovnik/lib/blob/328b8d19e321afa9f26037bd45c14bfca56bc839/configuration.sh#L26
It provides me what a newbie is lacking: correct syntax (variable name, parameter unit).

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.