Actually it may be too late. I finally reformatted the disk & reinstalled everything.
Here’s the file.
Export GPIO 84…
Export GPIO 85…
Export GPIO 87…
[+] Running update.sh in FORMAT mode (method=3)
[+] Call partition update script (overwriting emmc with new versions)
[*] Copying original rootfs partitions to eMMC.
[*] Search partition image from dir /boot/efi
[+] Done.
[*] Copy EFI System Partition.
.tar: ./EFI/ubuntu/boot.efi: Cannot change ownership to uid 0, gid 46: Operation not permitted
…tar: ./EFI/ubuntu/grubia32.efi: Cannot change ownership to uid 0, gid 46: Operation not permitted
tar: ./EFI/ubuntu/shimx64.efi: Cannot change ownership to uid 0, gid 46: Operation not permitted
tar: ./EFI/ubuntu/grubx64.efi: Cannot change ownership to uid 0, gid 46: Operation not permitted
tar: ./EFI/ubuntu/MokManager.efi: Cannot change ownership to uid 0, gid 46: Operation not permitted
tar: ./EFI/ubuntu/grub.cfg: Cannot change ownership to uid 0, gid 46: Operation not permitted
.tar: ./EFI/ubuntu/bootia32.efi: Cannot change ownership to uid 0, gid 46: Operation not permitted
tar: ./EFI/ubuntu: Cannot change ownership to uid 0, gid 46: Operation not permitted
.tar: ./EFI/boot/bootia32.efi: Cannot change ownership to uid 0, gid 46: Operation not permitted
tar: ./EFI/boot: Cannot change ownership to uid 0, gid 46: Operation not permitted
tar: ./EFI: Cannot change ownership to uid 0, gid 46: Operation not permitted
tar: ./NvVars: Cannot change ownership to uid 0, gid 46: Operation not permitted
tar: .: Cannot change ownership to uid 0, gid 46: Operation not permitted
Total bytes read: 59822080 (58MiB, 13MiB/s)
tar: Exiting with failure status due to previous errors
[+] Done.
[*] Copy Linux boot partition.
…Total bytes read: 153384960 (147MiB, 9.6MiB/s)
[+] Done.
[*] Copy rootfs partition.
mke2fs 1.42 (29-Nov-2011)
Discarding device blocks: 4096/1418997 528384/14189971052672/1418997 done
Filesystem label=ec_root
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
354816 inodes, 1418997 blocks
70949 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1455423488
44 block groups
32768 blocks per group, 32768 fragments per group
8064 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: 0/44 1/44 2/44 3/44 4/44 5/44 6/44 7/44 8/44 9/4410/4411/4412/4413/4414/4415/4416/4417/4418/4419/4420/4421/4422/4423/4424/4425/4426/4427/4428/4429/4430/4431/4432/4433/4434/4435/4436/4437/4438/4439/4440/4441/4442/4443/44 done
Writing inode tables: 0/44 1/44 2/44 3/44 4/44 5/44 6/44 7/44 8/44 9/4410/4411/4412/4413/4414/4415/4416/4417/4418/4419/4420/4421/4422/4423/4424/4425/4426/4427/4428/4429/4430/4431/4432/4433/4434/4435/4436/4437/4438/4439/4440/4441/4442/4443/44 done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: 0/44 1/44 2/44 3/44 4/44 5/44 6/44 7/44 8/44 9/4410/4411/4412/4413/4414/4415/4416/4417/4418/4419/4420/4421/4422/4423/4424/4425/4426/4427/4428/4429/4430/4431/4432/4433/4434/4435/4436/4437/4438/4439/4440/4441/4442/4443/44 done
…Total bytes read: 4113592320 (3.9GiB, 9.4MiB/s)
[+] Done.
[+] Call init content script (arg:1 - repartition and reformat)
[*] Checking for root permissions.
[+] Yeah…you are root, continuing.
[*] Checking for parameter 1 [/dev/sda] and 2 [1].
[+] Parameter 1 passed: /dev/sda
[+] Parameter 2 passed: 1
[*] Running create_disk_image function.
[*] Starting function: create_disk_image.
[*] Create GPT parition table.
[+] Done.
[*] Create preloaded content partition.
The operation has completed successfully.
[+] Done.
[*] Create teacher partition.
The operation has completed successfully.
[+] Done.
[*] Create RACHEL partition.
The operation has completed successfully.
[+] Done.
[*] The partition table is as follows:
GPT fdisk (gdisk) version 0.8.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 905D1061-1998-43A5-9AA2-6BEF67BE62F7
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4062 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 6293503 3.0 GiB 8300 preloaded
2 6293504 41945087 17.0 GiB 8300 uploaded
3 41945088 976771086 445.8 GiB 8300 RACHEL
[*] Running format_disk function.
[*] Formatting ‘preloaded’ partition.
[+] Done.
[*] Formatting ‘uploaded’ partition.
[+] Done.
[*] Formatting ‘RACHEL’ partition.
[+] Done.
[+] Formatting complete
[*] The partition table after format is as follows:
GPT fdisk (gdisk) version 0.8.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 905D1061-1998-43A5-9AA2-6BEF67BE62F7
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4062 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 6293503 3.0 GiB 8300 preloaded
2 6293504 41945087 17.0 GiB 8300 uploaded
3 41945088 976771086 445.8 GiB 8300 RACHEL
[*] Mounting /dev/mmcblk0p4 (root partition)
[+] Copying autoinstall files to /tmp/861/root/rachel-scripts/files
[*] Mounting /dev/sda3 (RACHEL partition)
[+] Adding kacontent symlink /media/RACHEL
Change status >>>>>>>>>>>>>>>
OK
Export GPIO 85…
Export GPIO 86…
Export GPIO 84…
<<<<<<<<<<<<<< Update Over <<<<<<<<<<<<<<<<