Howto ensure automatically mounted NFS volume on Raspbian Stretch

Update: I’m doing the automated mount now with autofs.

I’ve tried to setup NFS on my old Raspberry Pi 1 with Raspbian Stretch. I assumed that I just need to add an entry to the /etc/fstab file and the NFS volume on my Synology NAS would be mounted automatically.

So I’ve added this

mynas:/volume1/databases /mnt/databases nfs defaults 0 0

and thought I would be done. I’ve created the /mnt/databases folder with

mkdir /mnt/databases

and tried to mount everything with

mount -a

and my volume showed up as mounted. After reboot the volume wasn’t mounted anymore and the service couldn’t find its data. So what shall we do? After some research I’ve found these options, which fixed the problem:

mynas:/volume1/databases /mnt/databases nfs defaults,noauto,x-systemd.automount 0 0

The NFS volume now shows up even after a reboot. I’ve also tried to change the configuration of Raspbian so that it waits for the network before any services start but that didn’t fix the problem. Interestingly the entry with only defaults seems to be working on a Raspberry Pi 3 B.

Prepare your Mac for macOS Mojave 10.14

So Apple release the final version of macOS Mojave aka. 10.14. Before you start your update, you should check, if your important tools are 64bit compatible.

This version of macOS will annoy you with warnings about your apps being 32bit each time you start them. While you will still be able to execute 32bit apps in Mojave, I used the opportunity to get rid of a few 32bit apps.

How do you check, which apps are still 32bit? You can verify this from the system information app. Click on your Apple symbol in the menu line and select „About this Mac“. Click on „System Report“. Check now Software/Applications. You can filter the list by „64-bit (Intel)“. Each app marked with „No“ should produce the popup.

In my case I had these apps replaced by either updates or different tools:

  • AudioBookBuilder – version 2.0 will be made public or maybe not  – replaced with AudioBook Binder 
  • Caffeine – no Update and no longer being developed – replaced with KeepingYouAwake
  • iMovie 9 – no Update for this version possible – export all projects and delete, replace with never iMovie version
  • ViMediaManager v0.7α14 – replaced with MediaElch
  • DVD player – will get an update later

Be sure to update all your other 64bit apps as well before you start the update. 

Howto fix Deutsche Telekom slow Mac App Store download speeds

macOS Mojave was released to the public on Monday. As I’m still suffering under terrible problems with macOS High Sierra Updates, I’ve decided to give my Mac a chance and to download Mojave.

macOS Mojave installer start screen

I’ve started the download from the Mac App Store and the download speed was really slow. I’m using a 50MBit VDSL connection provided by the Deutsche Telekom. All other Downloads are fast and saturate the connection at about 5,5MB/s.

Really slow downloads from the App Store. This one should download for 5 and a half hour

The Download from the Mac App Store is terribly slow at around 200kB/s. After searching for problems with Deutsche Telekom and slow App Store speeds, I’ve stumbled over this page.

The solution to my slow download rates seem to be the used DNS server. Even if you use the DNS from Quad9 or the one from Google, you will have slow downloads.

A fast download from the App Store with 5,5MB/s. It finishes in 22 minutes

The recommended IPv4 DNS server are quite fast. I’ve setup a new Network Profile with these DNS server and I have now the full download speed again.

You can switch your network profile afterwards to your local DNS server.

Disable WordPress Trackbacks to avoid spam

I’ve intended to disable all comment or trackback functionality to avoid having spam and dealing with it in form of anti-spam plugins like Akismet. While I already had comments disabled, Trackbacks were still active.

Even when you disable Trackbacks in the WordPress settings via „Settings / Discussion“ under „Allow link notifications from other Weblogs (Pingbacks and Trackbacks)“, your existing pages needs manual update to take effect.

Connect to your MySQL database of your blog (e.g. with PHPMyAdmin) and execute these two queries:

 

I’ve found this information on Andreas blog, thank you!

Howto convert a Windows 10 installation from legacy BIOS to UEFI boot

I’m currently trying to build a Hackintosh. I had some troubles with bootloaders and modified BIOS, as they weren’t able to detect my existing Windows 10 installation. Windows 10 was installed in legacy BIOS mode, which means you have a traditional boot layout using a Master Boot Record (MBR) instead of GPT (which is also used by Mac OS).The Windows 10 installation would be visible if I could somehow change it from MBR to GPT.

Normally you would do a reinstall and would create a new installation of Windows 10, but this time you would select the Installer as UEFI Installer and it would suggest to reformat the disk with GPT.

However, I don’t want to reinstall everything so I searched for a solution. With one of the recent Windows 10 updates Microsoft added support for a tool called MBR2GPT. This tool can update your existing installation to GPT.

WARNING: The following assumes that you’ve created a working backup of your installation and that your computer supports booting via UEFI.

The necessary steps are:

  • Start your computer, so that Windows 10 is loaded.
  • Select restart and press and hold the shift key.
  • The computer will restart into Windows PE mode.
  • Select Troubleshooting, Advanced options, Command Prompt.
  • Windows will ask you to select a user name with admin rights.
  • Login with that user.
  • The Command Prompt opens and you can start the process with
  • If that command succeeds without errors, you can start the conversion with
  • You can exit the Command Prompt.
  • Reboot your computer.
  • It should boot from the found GPT partition scheme and should present you the Windows boot screen.