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.

quick way to create SD card with separate /boot and / partitions?

Featured Replies

just curious if there's a quick way to manipulate an existing Armbian build to have separate /boot and / partitions on my SD card, without needing to setup an Ubuntu build environment to compile everything myself. It's really the only thing I'd want to change about the pre-built image, and would like to avoid setting up the Ubuntu build box if I can. Thanks!

Possible, but you will need to have some Linux box to move partitions around with Parted.

 

http://askubuntu.com/questions/147132/move-ext4-partition

https://www.gnu.org/software/parted/manual/html_chapter/parted_2.html

 

Another option is to mount or boot current image, create new (virtual or real) one with two partition, mount and rsync it over. Make sure you that your /boot is going to first partition and that you write a boot loader to new image - or bin copy (DD) from one image to anther.

And one more idea:

 

1. Make two boot images.

2. Boot one and wait until everything is done

3. Plug second SD card into board via USB card reader

4. Re-partition this card (usually it will be /dev/sda), create one cca. 10Mb FAT boot and the rest EXT4 for root

5. Run nand-sata-install and install system to /dev/sda2

6. Copy /boot to FAT boot partition, alter boot.cmd -> point root to /dev/mmcblk0p2

7. Recreate boot script on this first boot partition

8. Execute: sync & power off

9. Exchange cards and boot with this newly created "two partition SD card"

  • Author

Thanks for the suggestions, Igor. By the time I saw your responses, I had already setup an Ubuntu virtual machine on my PC to build a two partition image for the Banana Pi. Was much more painless than I expected. But this is good to know for future reference. I like having /boot and / on separate partitions simply because I can more easily change the filesystem of root and encrypt it, post installation.

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.