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.

BananaPi Copy the boot load to another SDcard

Featured Replies

Hi,

I am using the last image (kernel 11.5) for banana PI M1 and I successful use the nand-sata-install script.

now I would like to copy the bootload to 128M SDCard

 

Can someone help me?

 

Hi Armbian move banana pi boot partition to a smaller SD card after rootfs was moved to SATA drive:

1. clean new sdd card:

dd if=/dev/zero of=/dev/sdc bs=1M count=1

2. copy bootloader to the new smaller SD card . You need to take bootloader from the previous SD card which was created during Armbian installation

dd if=/mnt/sd_old/usr/lib/linux-u-boot-next-bananapi_5.35_armhf/u-boot-sunxi-with-spl.bin of=/dev/sdc bs=1024 seek=8

3. create a partiton ext4 with fdisk and format new sd card:

mke2fs -t ext4 -L rootfs /dev/sdc1

4. Copy images and boot config files from the old SD card
rsync -arx --progress /media/sd_old/boot/ /mnt/sd_new/

5. Edit boot.cmd and replace root=/dev/mmcblk0p1 with root=/dev/sda1 (sda1 SATA drive)

mkimage -C none -A arm -T script -d /mnt/sd_new/boot.cmd /mnt/sd_new/boot.scr

6. Mount your SATA drive where root FS was copied by the nand-install script 

In the fstab replace old sd card UUID with a UUID of the new SD card for /media/mmcboot mount point

UUID=6b33f0ba-1043-4ff7-b069-3a116e6c6008  /media/mmcboot

you can get UUID with blkid /dev/sdc1

 

Done 

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.