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.

btrfs install option in armbian-install doesn't work

Featured Replies

So a clean install of "Armbian 25.2.1 Noble Gnome" with the vendor kernel (6.1.99) fails to boot when installed on an nvme SSDwith the armbian-install script, when btrfs is chosen as the partition type.

 

I am not sure if the files are copied over correctly, since the ~6GB image on the SD card is copied as 2.9GB on the btrfs partition, but there are no errors occuring as far as I can see. The bootloader is up-to-date, and I can access the btrfs drive when booted from the SD card, so the kernel supports btrfs I guess?

 

However, I think there are some things going "wrong", since the armbianEnv.txt file on the nvme SSD has ext4 instead of btrfs as the rootfs? This is basically my first install of armbian so I don't know that much about the installation procedure, but I just followed the official guide (which is also somehow out of date afaik, the images seem wrong...)

(Additionally, apt update + upgrade don't work right now, erroring out with "Mirror sync in progress", so I don't know if this failure is happening because of out of date packages...)

Solved by Werner

  • Solution
13 hours ago, Omer Hasanov said:

However, I think there are some things going "wrong", since the armbianEnv.txt file on the nvme SSD has ext4 instead of btrfs as the rootfs?

Could be. btrfs installation, especially on other devices, are not much tested. So breakage could be possible. Needs investigation.

13 hours ago, Omer Hasanov said:

This is basically my first install of armbian so I don't know that much about the installation procedure

Should usually just work ;)

 

13 hours ago, Omer Hasanov said:

(which is also somehow out of date afaik, the images seem wrong...

Yes, documentation is a constant problem. We don't have enough helping hands to keep everything in good shape. Keeping up with kernel development is already a challenge with hundreds of boards.

 

13 hours ago, Omer Hasanov said:

Mirror sync in progress

Either the answer is right there or a mirror is out of sync which can happen from time to time.

Feel free to fix apt source to a fixed mirror from this list: https://docs.armbian.com/Mirrors/

  • Author

Thanks for the reply! The mirror sync thing just was unfortunate timing hahah! 15 minutes later all was good. EXT4 install did work, gpu seems to work and performance seems to be "OK". I am seeing like 1700~ points on vkmark, whereas some are seeing about 2400~ points, which is a 40 percent difference? It is probably because of the whole vendor-mainline kernel thing, as far as I can see panthor is supposed to work on mainline, have no idea how the magician behind it make it run on vendor...

btrfs is definitely broken though, maybe need a ext4 boot partition / btrfs root partition type combo to make it work?

Ah also, armbian-config has some funny behavior when trying to switch overlays on/off. You can select the two overlays available (panthor and oc profile) but I can't seem to be able to click save no matter what I tried. Changing armbianEnv.txt works, but I guess this is an issue that needs to go on github...

Anyways, thanks again, I guess this thread is done now...

1 hour ago, Omer Hasanov said:

Ah also, armbian-config has some funny behavior when trying to switch overlays on/off. You can select the two overlays available (panthor and oc profile) but I can't seem to be able to click save no matter what I tried. Changing armbianEnv.txt works, but I guess this is an issue that needs to go on github...

next generation armbian-config still has some rough edges and constantly receiving fixes and improvements. If you can reproduce a special case where something doesnt work right, feel free to report at the github repo.

2 hours ago, Omer Hasanov said:

btrfs is definitely broken though, maybe need a ext4 boot partition / btrfs root partition type combo to make it work?

At least the Armbian U-Boot .deb packages and also what is written in the image bootsection between partition table and 1st partition is not capable of reading Btrfs. So If you want Btrfs for root filesystem, you need 2 partitions: a first small one formatted FAT or Ext4 for boot files (kernel, initrd, DTB, overlays) and then 2nd for rootfs Btrfs formatted. I constructed this manually for my old 32-bit NanoPi-NEOs, in the past, but if you do a custom Armbian compile/build selecting Btrfs for rootfs (also with additional Zstd compression) it gets all done out-out-of-the-box.

 

If you want a single partition, build U-Boot yourself, with BTRFS enabled. It are 2 settings you need to set to YES. Then write that binary to the bootsection and it can read boot.scr (and armbianEnv.txt. etc) from that 1 single Btrfs partition. I can lookup some old topics here on the forum, I currently keep a 2 partition scheme as I use various U-Boot blobs (also from Radxa) so an extra FAT partition is a bit more failsafe when all there is a serial console cable. It also is then the same as a UEFI system, that also needs a FAT formatted partition where a bootloader and/or bootmanager is located.

Edited by eselarm

  • Author

Honestly, the way it works right now is good enough, it just seemed weird for me since I couldn't find much info about this topic online (both the armbian-config thing, and the btrfs thing) I'll just post the issue on github after writing up some proper documentation behind it! Thanks again!

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...

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.