For what I want I just use the command:
$ rpi-clone sda
This clones the current bootable SD Card to the SD Card in the USB port.
$ rpi-clone sda
Currently have an issue where most of the time shutting down the PC just performs a restart, annoying to say the least, been going on since late 2018.
I’m currently trying out this solution to see if it can be resolved.
6-Dec-19: A couple of test shutdowns later and it seems to be working, one to monitor.
Since I installed the “Windows 10 Fall Creators Update”, build 16299, the desktop has stopped auto-starting, to it’s BIOS configured schedule. It’s scheduled for a 5:01am start, but every morning I’ve come into the room, since the update, it’s sitting there switched off.
A couple of Google’s later and here’s the answer, well I hope it is as I haven’t verified it yet, something for tomorrow morning. So the suggestion is to disable Windows “fast startup” mode, details on doing that can be found over at TechAdvisor.co.uk, and a more detailed explaination of why is at HowToGeek.com.
29th October 2017: Seems to have resolved the issue.
Possibly an issue with Pi firmware of 4.9.x, find out your version by using this command
If so then issue these commands, the first installs the firmware updater the second the 4.4.50 version of the firmware.
sudo apt-get install rpi-update sudo rpi-update 52241088c1da59a359110d39c1875cda56496764
If you can’t install the firmware because you have a “custom” kernel then you’ll have to get the latest version of Raspbian and install that, then run the above two commands.
One way to increase the lifespan, and presumably, reliability of the sd-card, currently being hammered, in your Pi is to put some of the temporary files into memory.
Add the following to your /etc/fstab
tmpfs /var/log tmpfs nodev,nosuid,size=50M 0 0
If the size isn’t specified then half of the machine’s memory is used.
nodev and nosuid are security options, the suggestion is that these only need setting for public facing machines.
8-Jan-2018: If you’re using the lighttpd web server then be aware that it stores files in /var/log, and it doesn’t like them being removed. This will cause the server to fail to start.
Just found out that you can stop this.
By default, Google, and possibly others, use your SSID to help improve their location services. You can opt out by changing your SSID, shouldn’t it be if you want to opt in? Anyway if you add “_nomap” then they won’t record your data, alternatively maybe hiding the SSID does the same?
More details here: https://support.google.com/nexus/answer/1725632?hl=en&rd=1
Sound familiar? Tried updating the BIOS and no joy, turned of power management?
Then try this from the Dell forums: OptiPlex 755 mysteriously turns itself on.
Search for MEBx in the thread, default password for MEBx is “admin”. The new password has to be at least eight characters, have one uppercase letter, one numeric and one special.
And then you need to go into the “ME Power Control”, under the “ME Configuration” menu and ensure that “ON in S0” is set as the default, which means only use ME when the machine is switched on. What you probably have, if you’re reading this, is “ON in S0, S3/AC, S4-5/AC”. It’s the “S4-5/AC” setting that causes the machine to power cycle the fans as “S5” means the machine is switched off.
Have a read of the full MEBx article on Dell’s site – Intel® Management Engine BIOS Extension (MEBx).