I am wondering if it is possible to install Dietpi on a Mac Mini or if there is a guide on this. I did do some looking around and it looks like it is possible to install Debian on a Mac Mini so I would assume it is possible with DietPi.
I want to turn this old Mac Mini into a home server, I would also like it to be the main OS on the device.
Please let me know if this is possible and where I can find a guide or a build I can use. This is mainly directed at MichaIng .
I just tried booting off the x86_64 UEFI but I get ‘No bootable device’ error when attempting to boot off the USB stick.
Background, wanting to install DietPi on a 2011 MacMini (Core i5, 8GB RAM, 1TB SSD).
I used ApplePi Baker to flash a USB stick with the x86_64 UEFI ISO file. That completed successfully. Holding down ‘alt’ to select a boot drive shows the Mac can see a partition on the USB key called ‘Windows’ but its not bootable.
I completed this install this afternoon and it went through pretty smooth. The Prep scripts worked very well. The only thing I struggled with (and gave up on) was taking an image at the end of the prep script. Dietpi-imager couldn’t unmount the source drive to take the image as the source drive was also the boot drive.
Installed all my optimised software and the only thing that didn’t work was installing unbound. I submitted a bugreport using the built in report feature.
All up and running now and working great in a headless config on a 2011 MacMini! Many thanks Devs.
Good to know - I shall await its release and try again.
FWIW, my 2011 MacMini is much faster than my overclocked Pi4 despite the Geekbench score being roughly the same. In real world usage its not very noticeable except in more intensive apps like NextCloud. Content loads much faster than on the Pi4 and I was running mine off an SSD too.
Just to be sure, the image you’re running now has GPT partition table, i.e. UEFI, right? fdisk -l /dev/sda | grep Disklabel
We already use the most compatible CloneZilla “alternative” version for the installer image, so not sure how it can be made bootable on that Mac Mini then . Strange that it shows a “Windows” partition, as it was built on a Linux (DietPi) system, however the naming should not play a role as long as bootloader, partition table and EFI partition is fine.