Jump to content

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


sgei

Recommended Posts

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines