DietPi on a 2012 Mac Mini Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Doctorbeefy
Posts: 15
Joined: Sun Sep 08, 2019 5:04 pm

DietPi on a 2012 Mac Mini

Post by Doctorbeefy »

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 .
User avatar
Joulinar
Posts: 3340
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi on a 2012 Mac Mini

Post by Joulinar »

Hi,

many thanks for your message. If you are able to install Debian, you could have a look to the PREP script https://github.com/MichaIng/DietPi/issues/1285
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Doctorbeefy
Posts: 15
Joined: Sun Sep 08, 2019 5:04 pm

Re: DietPi on a 2012 Mac Mini

Post by Doctorbeefy »

Joulinar wrote: Wed Dec 02, 2020 7:17 pm Hi,

many thanks for your message. If you are able to install Debian, you could have a look to the PREP script https://github.com/MichaIng/DietPi/issues/1285
is there a certain post I should go off of in that thread or just the top one?
User avatar
Joulinar
Posts: 3340
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi on a 2012 Mac Mini

Post by Joulinar »

First post contains instructions to be done.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 2510
Joined: Sat Nov 18, 2017 6:21 pm

Re: DietPi on a 2012 Mac Mini

Post by MichaIng »

The regular x86_64 UEFI image should work: https://dietpi.com/docs/user-guide_installation/ > Install on native PC (UEFI)
Otherwise, a more current documentation about DietPi-PREP: https://dietpi.com/docs/dietpi_sbc/#mak ... stribution
Reds
Posts: 20
Joined: Thu Feb 20, 2020 5:59 pm

Re: DietPi on a 2012 Mac Mini

Post by Reds »

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.
User avatar
Joulinar
Posts: 3340
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi on a 2012 Mac Mini

Post by Joulinar »

Maybe you can try to install plain Debian (NetInstall) directly on your MacMini. Once completed use PREP script to install DietPi on top
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Reds
Posts: 20
Joined: Thu Feb 20, 2020 5:59 pm

Re: DietPi on a 2012 Mac Mini

Post by Reds »

Agreed - I'll be following this https://wiki.debian.org/MacMiniIntel
Reds
Posts: 20
Joined: Thu Feb 20, 2020 5:59 pm

Re: DietPi on a 2012 Mac Mini

Post by Reds »

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.

Would be great if we could get an image for this.
User avatar
WarHawk
Posts: 669
Joined: Thu Jul 20, 2017 8:55 am

Re: DietPi on a 2012 Mac Mini

Post by WarHawk »

Best way to do a backup/image is to boot a livecd linux that will boot on the machine...then run the command to image the drive
Clonezilla should be able to create an image of the drive and it does have a livecd version
http://johnsonyip.com/wordpress/2010/01 ... ux-livecd/

I recommend doing it asap...because if something borks, you have to go thru ALL that again to rebuild your dietpi

However...that is very very cool that you got dietpi running on a mac mini...believe it or not it will be a pretty good little server box
Post Reply