Sidehistorik
So, I purchased an older MacBook from work - that has been my own for 4 year, and was specced well with SSD.
Indholdsfortegnelse |
---|
Preparing the MacBook Firmware/T2
I has had some problems with removing the activation lock and even do an Internet recovery (that just failed with 1008F Error). but when the MACOS finally was cleanly installed, make sure to enable USB Boot, as this:
...
I had a lot of trouble actually getting the danm thing to boot, but on a stick with Ubuntu 22.04 (used Balena Etcher), it finally did.
But, the Mac Keyboard was not working, but I got hold of an eternal keyboard - and that worked.
I had a lot of problemes getting to use the disk, several times the installer just crashed and restarted, and stopped with "Intallaling Installing grub on taget device failed"
But I finally gut got the installer to remove remove all partitions and install, with "Use customer custom partitions" - make sure to whipe and erasa erase all on the disk.
After the install af the "df -h" command told me that only 100 GB of the disk was used used - I have no clue why the installer sets it up this way..
But the fix - first examine:fix was eady - first examine the LVM:
Kodeblok |
---|
Kodeblok |
root@beetle:/home/bnp# vgdisplay --- Volume group --- VG Name ubuntu-vg System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 2 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 1 Max PV 0 Cur PV 1 Act PV 1 VG Size <462.87 GiB PE Size 4.00 MiB Total PE 118494 Alloc PE / Size 25600 / 100.00 GiB Free PE / Size 92894 / <362.87 GiB VG UUID Dd5nRh-qzsj-z6rX-H1o1-JzMd-kXEI-7bWoEx root@beetle:/home/bnp# vgdisplay --- Volume group --- VG Name ubuntu-vg System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 42 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 1 Max PV 0 Cur PV 1 Act PV 1 VG Size <462.87 GiB PE Size 4.00 MiB Total PE 118494 Alloc PE / Size 11849425600 / <462100.8700 GiB Free PE / Size 092894 / 0<362.87 GiB VG UUID Dd5nRh-qzsj-z6rX-H1o1-JzMd-kXEI-7bWoEx |
The import part being:
Kodeblok |
---|
Free PE / Size 92894 / <362.87 GiB |
...
Ubuntu is installed and the complete SSD Disk installedused.
Docker install
Lets install docker.io:
...
Tip |
---|
First, I put all docker stuff in /opt |
Creating the needed Directory and the config file:
Kodeblok |
---|
mkdir /opt/frigate vi /opt/frigate/config |
...
Tip |
---|
In short, the file sets up three cams (Reolink) - using:
|
...
This should start Frigate and show it on http://10.0.0.164:5000:
If the interface is not up, troubleshoot the logs with:
...