Rewrote the OF2 partition with current image and updated it.
Note with this OF2 had a running current desktop on the 2Gb partition.
I have another one here which is an OF1 running new Ubuntu from the built in 16 Gb SSD drive which I may test later.
The expand script sudo of-expand looks like it works but errors out and fails on reboot.
Command (m for help): The partition table has been altered.
Failed to remove partition 2 from system: Device or resource busy
Failed to add partition 2 to system: Device or resource busy
Will manually expand partition to 2 Gb.
The above ends in a boot loop.
So tried:
fdisk /dev/mmcblk0
choose "p" for check the disk. Remember the start sektors. Now
delete the 2nd partition with "d" and build the new partition with "n". My start sektor were at 62501.
At end use "w" to write.
So now you have to resize the new partition. resize2fs /dev/mmcblk0p2.
This also resulted in a boot loop.
So created an Buzz Ubuntu boot stick and used GParted to resize the partition.
Looking at the partition with GParted shows that it is trashed, exists but is unreadable.
Note: doing this on an Openpeak labeled OF2 device. (these came in an Openpeak labeled black box new).
As with all of my OF devices I have adding MAC addresses to the NIC ROM.
1 - Rewrote a new build to same partition.
2 - booted to Ubuntu 14.X desktop
3 - ran Gparted
4 - looked at mmc partition and it looks fine
5 - expanded mmc partition
6 - shut down OF2
7 - rebooted to new OF2 partition
8 - boots fine now using whole 2Gb mmc
9 - did an update and upgrade
10 - rebooted
11 - installed Plex client
sudo of-install plex
12 - free space
/home/of# df -l
Filesystem 1K-blocks Used Available Use% Mounted on
udev 248984 0 248984 0% /dev
tmpfs 50692 3932 46760 8% /run
/dev/mmcblk0p2 1936676 938756 899672 52% /
13 - mapping a NAS Music share over to the client. (all of my music and video files are on the NAS box these days).
Same as Squeezeplayer.
Off on a rambling tangent....
A few months ago rebuilt NAS and built a new NAS using XigmaNAS and ZFS and 8 SAS drives (versus SATA drives).
Still learning how to use ZFS and I am impressed so far with it. Now have two identical NAS boxes (one is a backup of the other).
Been a bit bored here.
One NAS box is in a UNAS case:
and one is in a Silverstone case
Version 12.1.0.4 - Ingva (revision 7683)
Compiled Monday July 20 16:25:15 CDT 2020
Platform OS FreeBSD 12.1-RELEASE-p7 #0 r363366M: Mon Jul 20 16:59:25 CEST 2020
Platform x64-embedded on Intel(R) Core(TM) i3-3245 CPU @ 3.40GHz
System Time Wednesday December 02 10:46:17 CST 2020
System Uptime 15 Days 16 Hours 32 Minutes 37 Seconds
System Config Change Monday November 16 18:13:04 CST 2020
14 - got it connected to my Plex server (mentioned something about non secure connections).
15 - able to play music from NAS.
16 - volume is really low...ran alsamixer and increased volume, rebooted to see if volume stuck.
17 - volume is fixed
18 - Want the client to only access my Plex server for media rather than the internet.
Googling on how to do this....