New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-PREP | Install on MAC #1755
Comments
@gieljnssns It is not recommended but seems to work with the netboot installer, that we also use for our x86 images. You can simply try to use our x86 EFI image. Otherwise manually install Debian with the netboot installer and run our preparation script on it. No guarantee, as I don't remember somebody reporting that it works, would need review/search within forum and github issues. If it finally works fine, would be indeed nice to know and could be added as info to our x86 image and preparation script for users. |
Just to be clear, it is not as easy as described at the link @MichaIng posted. Lot's of ppl say that there is still a overheating problem on older releases of MacBookAir's. If you really like to do this project, i suggest you to carefully read this HowTo and than decide if you really want to go these steps: https://linuxnewbieguide.org/how-to-install-linux-on-a-macintosh-computer/ As of known EFI boot mechanism which are completly different on Macs, it isn't just a boot up the installer and than here we go...! Just a kindly thought of myself before starting with it. |
I gave up the macbook air project. Mine has a broken LCD |
https://github.com/Fourdee/DietPi/issues/1171#issuecomment-336522021 Now I'm trying this one https://github.com/Fourdee/DietPi/issues/1285#issue-280771944 |
@gieljnssns May I ask how you generally managed to install Debian on Mac? Would be quite interesting, if possible anyhow or without too much needed adjustments to our scripts, to produce some guide or even image from this experience, for Mac users. |
I've installed Mac OS X Yosemite (no System integrity protection) |
Then I'm following this guide https://github.com/Fourdee/DietPi/issues/1285#issue-280771944 |
@gieljnssns Generic device is the most safe attempt, but native x86 (ID 21) should also work, I think. Could you post the resolut of Btw. If you create an own user (and do not use If not, then you could copy |
|
I think so, I use this for installing Hassio |
@gieljnssns DietPi-Software also offers Home assistant automated installation by the way. It does not include much optimizations but is easier of course than doing all the steps oneself. |
I think this is just Home assistant not Hassio |
@gieljnssns |
@gieljnssns As Debian boots by default and grub-efi-amd64 is installed, the bootloader seems to be the one from Debian, not OS X anymore? The question is then why our x86 EFI image is not working, what differences are there. Might be some special firmware for Macs, that Debian installer skips on non-Macs, although the linux-firmware-nonfree package is by default installed. |
How can I check this?
I burn my usb and sd with Etcher, and etcher says the image isn't bootable But I've had another problem, when I did the update to v6.8 I've lost all my docker containers (Hassio) |
|
Ahh, sorry didn't read careful enough earlier, I thought the successful flashed image does not boot on Mac. Yeah, of course, now I found the issue. It seems not possible to directly flash a bootable EFI image. Thus we offer our image bundles with Clonezilla to flash on e.g. a USB drive, boot it from there, which will then allow to install DietPi on the target drive. You already linked the instructions above: https://github.com/Fourdee/DietPi/issues/1171#issuecomment-336522021 No idea why Etcher claims it being unbootable... However the instructions tell you to use Rufus instead, which is btw. less than 1 MB compared to Etcher more than 50 MB and Rufus is even a bid more flexible, providing additional feature like bad block testing etc. No idea why giant Etcher is promoted everywhere, just because it offers beautiful material design UI? Other topic... So if you are in mood, it would be interesting if following the instructions with the UEFI image precisely, using Rufus for flashing on USB, boot and from Clonezilla flash on final HDD, works on Mac. |
I think rufus is Windows only? |
@gieljnssns You have also Piwriter for Mac: https://sourceforge.net/projects/piwriter/ Did you try that? |
@gieljnssns Finally Etcher also allows to ignore and continue. Only thing I don't know if it automatically chooses needed GPT partition then? |
I've tried with;
I can not boot with the x86 EFI image. |
@gieljnssns |
We have a new x86_64 UEFI installer image which could be tested on Mac. It is based on Clonezilla as before, but since a year has been gone and Clonezilla as well as Debian (now Buster) has gone through a bunch of updates, it is worth giving it a try. |
I mark this issue as closed. Basically on MAC our UEFI installer should work. If not then the MAC in question has some non-default x86_64 attributes, which at least me cannot test or work on, due to lac of MAC device. If someone wants to create a MAC image, I would be happy to provide it via our download page as community image with credits. Basically it means, installing Debian via mini.iso or debootstrap and running DietPi-PREP on it:
|
Is it possible to install dietpi directly on a macbook air.
The text was updated successfully, but these errors were encountered: