It boots on a 128GB card but looks like only has 4GB!
Posted: Sun Feb 05, 2017 12:28 pm
I know it has 8GB on board eMMC but my NanoPi NEO Air will not boot with the SD card out of it. If I plug it in a LED goes on but stays on very dim.
When I put the SD card in it boots but not sure if using the 128GB SD or it's 8GB eMMC.
Here is some commands to show what I did to see all this.
It be nice if could get it to just run off the eMMC and have the SD card as storage.
Any one set it up like that and if so how?
-Raymond Day
When I put the SD card in it boots but not sure if using the 128GB SD or it's 8GB eMMC.
Here is some commands to show what I did to see all this.
root@FriendlyARM:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.6G 924M 2.7G 26% /
devtmpfs 168M 0 168M 0% /dev
tmpfs 248M 0 248M 0% /dev/shm
tmpfs 248M 8.5M 239M 4% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 248M 0 248M 0% /sys/fs/cgroup
root@FriendlyARM:~# fdisk -l
Disk /dev/mmcblk0: 119.1 GiB, 127865454592 bytes, 249737216 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
Disklabel type: dos
Disk identifier: 0xff95af29
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 49152 131071 81920 40M 83 Linux
/dev/mmcblk0p2 131072 7617185 7486114 3.6G 83 Linux
Disk /dev/mmcblk1: 7.3 GiB, 7818182656 bytes, 15269888 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 /dev/mmcblk1boot1: 4 MiB, 4194304 bytes, 8192 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 /dev/mmcblk1boot0: 4 MiB, 4194304 bytes, 8192 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
root@FriendlyARM:~# resize2fs /dev/mmcblk0p2
resize2fs 1.42.12 (29-Aug-2014)
The filesystem is already 935764 (4k) blocks long. Nothing to do!
root@FriendlyARM:~# resize2fs /dev/mmcblk0p1
resize2fs 1.42.12 (29-Aug-2014)
resize2fs: Bad magic number in super-block while trying to open /dev/mmcblk0p1
Couldn't find valid filesystem superblock.
root@FriendlyARM:~#
It be nice if could get it to just run off the eMMC and have the SD card as storage.
Any one set it up like that and if so how?
-Raymond Day