Thank you.
On the 128GB it only was using like 4GB. I just could not expand it. I put the SD card in my other server and did parted command on it and made a new partition. Formatted it with Webmin. Then booted it back in the Nano Pi air. Mounted that partition to /media/tmp.
Trying to copy the image to there was so slow so I did it with a wget over RS-232.
Here is the hole command line of me doing this and it my help others.
Put what I typed in
Bold.
root@FriendlyARM:/media/tmp#
lslost+found nanopi-air-eflasher-sd8g-20161213.img.filepart
root@FriendlyARM:/media/tmp#
rm nanopi-air-eflasher-sd8g-20161213.img.filepartroot@FriendlyARM:/media/tmp#
lslost+found
root@FriendlyARM:/media/tmp#
wget www.mediafire.com/file/bll0t950hiylc5l/ ... 13.img.zip--2017-02-06 14:40:21--
http://www.mediafire.com/file/bll0t950h ... 13.img.zipResolving
www.mediafire.com (
www.mediafire.com)... 205.196.120.6, 205.196.120.8
Connecting to
www.mediafire.com (
www.mediafire.com)|205.196.120.6|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://download1892.mediafire.com/k8fiw ... 13.img.zip [following]
--2017-02-06 14:40:22--
http://download1892.mediafire.com/k8fiw ... 13.img.zipResolving download1892.mediafire.com (download1892.mediafire.com)... 199.91.153.139
Connecting to download1892.mediafire.com (download1892.mediafire.com)|199.91.153.139|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 646482332 (617M) [application/zip]
Saving to: 'nanopi-air-eflasher-sd8g-20161213.img.zip'
nanopi-air-eflasher 100%[=====================>] 616.53M 2.14MB/s in 4m 50s
2017-02-06 14:45:11 (2.13 MB/s) - 'nanopi-air-eflasher-sd8g-20161213.img.zip' saved [646482332/646482332]
root@FriendlyARM:/media/tmp#
lslost+found nanopi-air-eflasher-sd8g-20161213.img.zip
root@FriendlyARM:/media/tmp#
unzip nanopi-air-eflasher-sd8g-20161213.img.zip-bash: unzip: command not found
root@FriendlyARM:/media/tmp#
apt install zipReading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
unzip
The following NEW packages will be installed:
unzip zip
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 281 kB of archives.
After this operation, 1004 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1
http://ports.ubuntu.com/ubuntu-ports/ wily-updates/main unzip armhf 6.0-17ubuntu1.2 [136 kB]
Get:2
http://ports.ubuntu.com/ubuntu-ports/ wily/main zip armhf 3.0-11 [146 kB]
Fetched 281 kB in 1s (198 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package unzip.
(Reading database ... 23903 files and directories currently installed.)
Preparing to unpack .../unzip_6.0-17ubuntu1.2_armhf.deb ...
Unpacking unzip (6.0-17ubuntu1.2) ...
Selecting previously unselected package zip.
Preparing to unpack .../archives/zip_3.0-11_armhf.deb ...
Unpacking zip (3.0-11) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Setting up unzip (6.0-17ubuntu1.2) ...
Setting up zip (3.0-11) ...
root@FriendlyARM:/media/tmp#
unzip nanopi-air-eflasher-sd8g-20161213.img.zipArchive: nanopi-air-eflasher-sd8g-20161213.img.zip
inflating: nanopi-air-eflasher-sd8g-20161213.img
root@FriendlyARM:/media/tmp#
lslost+found
nanopi-air-eflasher-sd8g-20161213.img
nanopi-air-eflasher-sd8g-20161213.img.zip
root@FriendlyARM:/media/tmp#
df -hFilesystem Size Used Avail Use% Mounted on
/dev/root 3.6G 925M 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
/dev/mmcblk0p4 44G 8.3G 33G 21% /media/tmp
root@FriendlyARM:/media/tmp#
lslost+found
nanopi-air-eflasher-sd8g-20161213.img
nanopi-air-eflasher-sd8g-20161213.img.zip
root@FriendlyARM:/media/tmp#
fdiks -l-bash: fdiks: command not found
root@FriendlyARM:/media/tmp#
fdisk -lDisk /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: 0xe1171a1c
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
/dev/mmcblk0p4 64452608 156250111 91797504 43.8G 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:/media/tmp#
lslost+found
nanopi-air-eflasher-sd8g-20161213.img
nanopi-air-eflasher-sd8g-20161213.img.zip
root@FriendlyARM:/media/tmp#
dd if=nanopi-air-eflasher-sd8g-20161213.img of=/dev/mmcblk1 bs=10Mdd: error writing '/dev/mmcblk1': No space left on device
746+0 records in
745+0 records out
7818182656 bytes (7.8 GB) copied, 1000.43 s, 7.8 MB/s
root@FriendlyARM:/media/tmp#
No space left I guess used the wrong image?
Going to take the SD card out and see if it boots from the eMMC. now. Maybe it worked.
-Raymond Day