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.

[Banana] How to shrink /boot partition after running nand-sata-install

Featured Replies

Hi,

 

yesterday I moved my root partition to a 128GB SSD by running "nand-sata-install"

Everything works fine.

Now I got a SD-Card in my Banana Pi with one big partition:

 

fdisk -l

Disk /dev/sda: 128.0 GB, 128035676160 bytes
30 heads, 63 sectors/track, 132312 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x93d6d043

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048   250069679   125033816   83  Linux

Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
46 heads, 9 sectors/track, 18706 cylinders, total 7744512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00043861

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1            2048     7744511     3871232   83  Linux

df

Dateisystem    1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf
rootfs         123071852 1523900 115296264    2% /
/dev/root      123071852 1523900 115296264    2% /
devtmpfs          504172       0    504172    0% /dev
tmpfs             131072     232    130840    1% /run
tmpfs               5120       0      5120    0% /run/lock
tmpfs             131072       0    131072    0% /run/shm
/dev/mmcblk0p1   3810928 1307224   2343624   36% /media/mmc
/dev/mmcblk0p1   3810928 1307224   2343624   36% /boot
tmpfs            1048576     128   1048448    1% /tmp
/dev/root      123071852 1523900 115296264    2% /var/log.hdd
ramlog-tmpfs      262144   11492    250652    5% /var/log

What do I have to do to prepare a new SD-Card (256MB) and move the Boot-Partition to it?

 

In /media/mmc is my old /root, isn't it?

 

Thanks.

 

Steffen

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.