Closed gieljnssns closed 4 years ago
@gieljnssns The question is if default Debian runs on MacBook. Found this: https://wiki.debian.org/MacBook#Debian_installation
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 Because I don't see the boot menu (on external screen) when pressing option while starting up. Now I'm trying on an mac mini from 2011.
https://github.com/Fourdee/DietPi/issues/1171#issuecomment-336522021 This method isn't working, the iso isn't bootable (etcher)
Now I'm trying this one https://github.com/Fourdee/DietPi/issues/1285#issue-280771944
@gieljnssns Thanks for testing this 👍.
May I ask how you generally managed to install Debian on Mac? You followed the method linked by @SuBLiNeR or you had already another method working before?
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.
May I ask how you generally managed to install Debian on Mac?
I've installed Mac OS X Yosemite (no System integrity protection) Followed this guide: https://wiki.debian.org/MacBook#Debian_installation I took the "debian-9.4.0-amd64-netinst.iso" from here https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/ When there is an error in the installation about some network firmware; I found this http://commandlinefanatic.com/cgi-bin/showarticle.cgi?article=art048 and i took the "linux-firmware-nonfree_1.11_all.deb" from here http://www.filewatcher.com/m/linux-firmware-nonfree_1.11_all.deb.3073110-0.html Instead of making 2 partitions, I made a lot off free space on my drive and took the option: Guided use the largest free space on disk. I let install the GRUB bootloader and now Debian is the first OS that is starting. I can still start macOS by holding "option" when starting up
Then I'm following this guide https://github.com/Fourdee/DietPi/issues/1285#issue-280771944
When you log in using ssh and your user isn't is not in the sudoers file sudo usermod -a -G sudo user
log out and log back in
While running DietPi installer I took "generic device"
"Keep Wifi files"
"Stretch"
sudo reboot
Finnish DietPi installation...
@gieljnssns Thanks for this testing. So DietPi after this steps finally works as expected?
Generic device is the most safe attempt, but native x86 (ID 21) should also work, I think. Could you post the resolut of dpkg -l
here, so I can check for installed kernel/firmware packages? There might be something different then on native PCs.
Btw. If you create an own user (and do not use root
or dietpi
), then on current version (v6.7) the login scripts are missing. This is already implemented with v6.8, should should be released today or soon (@Fourdee ?).
If not, then you could copy /home/dietpi/.bashrc
to /home/<username>/
for now, but after v6.8 update, Do sed -i '/DietPi/d' /home/<username>/.bashrc
to remove our entries again, as the related scripts are executed via /etc/profile.d/dietpi-login
then, thus for all users with sudo permissions 🙂.
root@DietMini:~# dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================================-========================-========================-===================================================================================
ii adduser 3.115 all add and remove users and groups
ii apt 1.4.8 amd64 commandline package manager
ii apt-transport-https 1.4.8 amd64 https download transport for APT
ii apt-utils 1.4.8 amd64 package management related utility programs
ii avahi-daemon 0.6.32-2 amd64 Avahi mDNS/DNS-SD daemon
ii base-files 9.9+deb9u4 amd64 Debian base system miscellaneous files
ii base-passwd 3.5.43 amd64 Debian base system master password and group files
ii bash 4.4-5 amd64 GNU Bourne Again SHell
ii bash-completion 1:2.1-4.3 all programmable completion for the bash shell
ii bc 1.06.95-9+b3 amd64 GNU bc arbitrary precision calculator language
ii bind9-host 1:9.10.3.dfsg.P4-12.3+de amd64 Version of 'host' bundled with BIND 9.X
ii bsdutils 1:2.29.2-1+deb9u1 amd64 basic utilities from 4.4BSD-Lite
ii bzip2 1.0.6-8.1 amd64 high-quality block-sorting file compressor - utilities
ii ca-certificates 20161130+nmu1 all Common CA certificates
ii console-setup 1.164 all console font and keymap setup program
ii console-setup-linux 1.164 all Linux specific part of console-setup
ii coreutils 8.26-3 amd64 GNU core utilities
ii cpio 2.11+dfsg-6 amd64 GNU cpio -- a program to manage archives of files
ii crda 3.18-1 amd64 wireless Central Regulatory Domain Agent
ii cron 3.0pl1-128+deb9u1 amd64 process scheduling daemon
ii curl 7.52.1-5+deb9u5 amd64 command line tool for transferring data with URL syntax
ii dash 0.5.8-2.4 amd64 POSIX-compliant shell
ii dbus 1.10.26-0+deb9u1 amd64 simple interprocess messaging system (daemon and utilities)
ii debconf 1.5.61 all Debian configuration management system
ii debian-archive-keyring 2017.5 all GnuPG archive keys of the Debian archive
ii debianutils 4.8.1.1 amd64 Miscellaneous utilities specific to Debian
ii diffutils 1:3.5-3 amd64 File comparison utilities
ii dirmngr 2.1.18-8~deb9u1 amd64 GNU privacy guard - network certificate management service
ii dmsetup 2:1.02.137-2 amd64 Linux Kernel Device Mapper userspace library
ii docker-ce 18.04.0~ce~3-0~debian amd64 Docker: the open-source application container engine
ii dosfstools 4.1-1 amd64 utilities for making and checking MS-DOS FAT filesystems
ii dpkg 1.18.24 amd64 Debian package management system
ii dropbear-bin 2016.74-5 amd64 lightweight SSH2 server and client - command line tools
ii dropbear-run 2016.74-5 all lightweight SSH2 server and client - startup scripts
ii e2fslibs:amd64 1.43.4-2 amd64 ext2/ext3/ext4 file system libraries
ii e2fsprogs 1.43.4-2 amd64 ext2/ext3/ext4 file system utilities
ii efibootmgr 14-2 amd64 Interact with the EFI Boot Manager
ii ethtool 1:4.8-1+b1 amd64 display or change Ethernet device settings
ii fake-hwclock 0.11 all Save/restore system clock on machines without working RTC hardware
ii fbset 2.1-29 amd64 framebuffer device maintenance program
ii findutils 4.6.0+git+20161106-2 amd64 utilities for finding files--find, xargs
ii firmware-amd-graphics 20161130-3 all Binary firmware for AMD/ATI graphics chips
ii firmware-atheros 20161130-3 all Binary firmware for Atheros wireless cards
ii firmware-brcm80211 20161130-3 all Binary firmware for Broadcom 802.11 wireless cards
ii firmware-linux-nonfree 20161130-3 all Binary firmware for various drivers in the Linux kernel (meta-package)
ii firmware-misc-nonfree 20161130-3 all Binary firmware for various drivers in the Linux kernel
ii firmware-realtek 20161130-3 all Binary firmware for Realtek wired/wifi/BT adapters
ii fuse 2.9.7-1 amd64 Filesystem in Userspace
ii gcc-6-base:amd64 6.3.0-18+deb9u1 amd64 GCC, the GNU Compiler Collection (base package)
ii gettext-base 0.19.8.1-2 amd64 GNU Internationalization utilities for the base system
ii gnupg 2.1.18-8~deb9u1 amd64 GNU privacy guard - a free PGP replacement
ii gnupg-agent 2.1.18-8~deb9u1 amd64 GNU privacy guard - cryptographic agent
ii gpgv 2.1.18-8~deb9u1 amd64 GNU privacy guard - signature verification tool
ii grep 2.27-2 amd64 GNU grep, egrep and fgrep
ii grub-common 2.02~beta3-5 amd64 GRand Unified Bootloader (common files)
ii grub-efi-amd64 2.02~beta3-5 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii grub-efi-amd64-bin 2.02~beta3-5 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
ii grub2-common 2.02~beta3-5 amd64 GRand Unified Bootloader (common files for version 2)
ii gzip 1.6-5+b1 amd64 GNU compression utilities
ii hdparm 9.51+ds-1 amd64 tune hard disk parameters for high performance
ii hfsplus 1.0.4-15 amd64 Tools to access HFS+ formatted volumes
ii hostname 3.18+b1 amd64 utility to set/show the host name or domain name
ii htop 2.0.2-1 amd64 interactive processes viewer
ii ifupdown 0.8.19 amd64 high level tools to configure network interfaces
ii init 1.48 amd64 metapackage ensuring an init system is installed
ii init-system-helpers 1.48 all helper tools for all init systems
ii initramfs-tools 0.130 all generic modular initramfs generator (automation)
ii initramfs-tools-core 0.130 all generic modular initramfs generator (core tools)
ii intel-microcode 3.20170707.1~deb9u1 amd64 Processor microcode firmware for Intel CPUs
ii iproute2 4.9.0-1+deb9u1 amd64 networking and traffic control tools
ii iptables 1.6.0+snapshot20161117-6 amd64 administration tools for packet filtering and NAT
ii iputils-ping 3:20161105-1 amd64 Tools to test the reachability of network hosts
ii isc-dhcp-client 4.3.5-3+deb9u1 amd64 DHCP client for automatically obtaining an IP address
ii iucode-tool 2.1.1-1 amd64 Intel processor microcode tool
ii iw 4.9-0.1 amd64 tool for configuring Linux wireless devices
ii jq 1.5+dfsg-1.3 amd64 lightweight and flexible command-line JSON processor
ii kbd 2.0.3-2+b1 amd64 Linux console font and keytable utilities
ii keyboard-configuration 1.164 all system-wide keyboard preferences
ii klibc-utils 2.0.4-9 amd64 small utilities built with klibc for early boot
ii kmod 23-2 amd64 tools for managing Linux kernel modules
ii libacl1:amd64 2.2.52-3+b1 amd64 Access control list shared library
ii libapparmor1:amd64 2.11.0-3+deb9u2 amd64 changehat AppArmor library
ii libapt-inst2.0:amd64 1.4.8 amd64 deb package format runtime library
ii libapt-pkg5.0:amd64 1.4.8 amd64 package management runtime library
ii libassuan0:amd64 2.4.3-2 amd64 IPC library for the GnuPG components
ii libattr1:amd64 1:2.4.47-2+b2 amd64 Extended attribute shared library
ii libaudit-common 1:2.6.7-2 all Dynamic library for security auditing - common files
ii libaudit1:amd64 1:2.6.7-2 amd64 Dynamic library for security auditing
ii libavahi-common-data:amd64 0.6.32-2 amd64 Avahi common data files
ii libavahi-common3:amd64 0.6.32-2 amd64 Avahi common library
ii libavahi-core7:amd64 0.6.32-2 amd64 Avahi's embeddable mDNS/DNS-SD library
ii libbind9-140:amd64 1:9.10.3.dfsg.P4-12.3+de amd64 BIND9 Shared Library used by BIND
ii libblkid1:amd64 2.29.2-1+deb9u1 amd64 block device ID library
ii libbsd0:amd64 0.8.3-1 amd64 utility functions from BSD systems - shared library
ii libbz2-1.0:amd64 1.0.6-8.1 amd64 high-quality block-sorting file compressor library - runtime
ii libc-bin 2.24-11+deb9u3 amd64 GNU C Library: Binaries
ii libc-dev-bin 2.24-11+deb9u3 amd64 GNU C Library: Development binaries
ii libc-l10n 2.24-11+deb9u3 all GNU C Library: localization files
ii libc6:amd64 2.24-11+deb9u3 amd64 GNU C Library: Shared libraries
ii libc6-dev:amd64 2.24-11+deb9u3 amd64 GNU C Library: Development Libraries and Header Files
ii libcap-ng0:amd64 0.7.7-3+b1 amd64 An alternate POSIX capabilities library
ii libcap2:amd64 1:2.25-1 amd64 POSIX 1003.1e capabilities (library)
ii libcomerr2:amd64 1.43.4-2 amd64 common error description library
ii libcryptsetup4:amd64 2:1.7.3-4 amd64 disk encryption support - shared library
ii libcurl3:amd64 7.52.1-5+deb9u5 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii libcurl3-gnutls:amd64 7.52.1-5+deb9u5 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libdaemon0:amd64 0.14-6 amd64 lightweight C library for daemons - runtime library
ii libdb5.3:amd64 5.3.28-12+deb9u1 amd64 Berkeley v5.3 Database Libraries [runtime]
ii libdbus-1-3:amd64 1.10.26-0+deb9u1 amd64 simple interprocess messaging system (library)
ii libdebconfclient0:amd64 0.227 amd64 Debian Configuration Management System (C-implementation library)
ii libdevmapper1.02.1:amd64 2:1.02.137-2 amd64 Linux Kernel Device Mapper userspace library
ii libdns-export162 1:9.10.3.dfsg.P4-12.3+de amd64 Exported DNS Shared Library
ii libdns162:amd64 1:9.10.3.dfsg.P4-12.3+de amd64 DNS Shared Library used by BIND
ii libedit2:amd64 3.1-20160903-3 amd64 BSD editline and history libraries
ii libefiboot1:amd64 30-2 amd64 Library to manage UEFI variables
ii libefivar1:amd64 30-2 amd64 Library to manage UEFI variables
ii libelf1:amd64 0.168-1 amd64 library to read and write ELF files
ii libexpat1:amd64 2.2.0-2+deb9u1 amd64 XML parsing C library - runtime library
ii libfdisk1:amd64 2.29.2-1+deb9u1 amd64 fdisk partitioning library
ii libffi6:amd64 3.2.1-6 amd64 Foreign Function Interface library runtime
ii libfreetype6:amd64 2.6.3-3.2 amd64 FreeType 2 font engine, shared library files
ii libfuse2:amd64 2.9.7-1 amd64 Filesystem in Userspace (library)
ii libgcc1:amd64 1:6.3.0-18+deb9u1 amd64 GCC support library
ii libgcrypt20:amd64 1.7.6-2+deb9u2 amd64 LGPL Crypto library - runtime library
ii libgeoip1:amd64 1.6.9-4 amd64 non-DNS IP-to-country resolver library
ii libgmp10:amd64 2:6.1.2+dfsg-1 amd64 Multiprecision arithmetic library
ii libgnutls-openssl27:amd64 3.5.8-5+deb9u3 amd64 GNU TLS library - OpenSSL wrapper
ii libgnutls30:amd64 3.5.8-5+deb9u3 amd64 GNU TLS library - main runtime library
ii libgpg-error0:amd64 1.26-2 amd64 library for common error values and messages in GnuPG components
ii libgssapi-krb5-2:amd64 1.15-1+deb9u1 amd64 MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii libhfsp0 1.0.4-15 amd64 Shared library to access HFS+ formatted volumes
ii libhogweed4:amd64 3.3-1+b2 amd64 low level cryptographic library (public-key cryptos)
ii libicu57:amd64 57.1-6+deb9u2 amd64 International Components for Unicode
ii libidn11:amd64 1.33-1 amd64 GNU Libidn library, implementation of IETF IDN specifications
ii libidn2-0:amd64 0.16-1+deb9u1 amd64 Internationalized domain names (IDNA2008) library
ii libip4tc0:amd64 1.6.0+snapshot20161117-6 amd64 netfilter libip4tc library
ii libip6tc0:amd64 1.6.0+snapshot20161117-6 amd64 netfilter libip6tc library
ii libiptc0:amd64 1.6.0+snapshot20161117-6 amd64 netfilter libiptc library
ii libisc-export160 1:9.10.3.dfsg.P4-12.3+de amd64 Exported ISC Shared Library
ii libisc160:amd64 1:9.10.3.dfsg.P4-12.3+de amd64 ISC Shared Library used by BIND
ii libisccc140:amd64 1:9.10.3.dfsg.P4-12.3+de amd64 Command Channel Library used by BIND
ii libisccfg140:amd64 1:9.10.3.dfsg.P4-12.3+de amd64 Config File Handling Library used by BIND
ii libiw30:amd64 30~pre9-12+b1 amd64 Wireless tools - library
ii libjq1:amd64 1.5+dfsg-1.3 amd64 lightweight and flexible command-line JSON processor - shared library
ii libk5crypto3:amd64 1.15-1+deb9u1 amd64 MIT Kerberos runtime libraries - Crypto Library
ii libkeyutils1:amd64 1.5.9-9 amd64 Linux Key Management Utilities (library)
ii libklibc 2.0.4-9 amd64 minimal libc subset for use with initramfs
ii libkmod2:amd64 23-2 amd64 libkmod shared library
ii libkrb5-3:amd64 1.15-1+deb9u1 amd64 MIT Kerberos runtime libraries
ii libkrb5support0:amd64 1.15-1+deb9u1 amd64 MIT Kerberos runtime libraries - Support library
ii libksba8:amd64 1.3.5-2 amd64 X.509 and CMS support library
ii libldap-2.4-2:amd64 2.4.44+dfsg-5+deb9u1 amd64 OpenLDAP libraries
ii libldap-common 2.4.44+dfsg-5+deb9u1 all OpenLDAP common files for libraries
ii liblocale-gettext-perl 1.07-3+b1 amd64 module using libc functions for internationalization in Perl
ii libltdl7:amd64 2.4.6-2 amd64 System independent dlopen wrapper for GNU libtool
ii liblwres141:amd64 1:9.10.3.dfsg.P4-12.3+de amd64 Lightweight Resolver Library used by BIND
ii liblz4-1:amd64 0.0~r131-2+b1 amd64 Fast LZ compression algorithm library - runtime
ii liblzma5:amd64 5.2.2-1.2+b1 amd64 XZ-format compression library
ii libmnl0:amd64 1.0.4-2 amd64 minimalistic Netlink communication library
ii libmount1:amd64 2.29.2-1+deb9u1 amd64 device mounting library
ii libncurses5:amd64 6.0+20161126-1+deb9u2 amd64 shared libraries for terminal handling
ii libncursesw5:amd64 6.0+20161126-1+deb9u2 amd64 shared libraries for terminal handling (wide character support)
ii libnetfilter-conntrack3:amd64 1.0.6-2 amd64 Netfilter netlink-conntrack library
ii libnettle6:amd64 3.3-1+b2 amd64 low level cryptographic library (symmetric and one-way cryptos)
ii libnewt0.52:amd64 0.52.19-1+b1 amd64 Not Erik's Windowing Toolkit - text mode windowing with slang
ii libnfnetlink0:amd64 1.0.1-3 amd64 Netfilter netlink library
ii libnghttp2-14:amd64 1.18.1-1 amd64 library implementing HTTP/2 protocol (shared library)
ii libnl-3-200:amd64 3.2.27-2 amd64 library for dealing with netlink sockets
ii libnl-genl-3-200:amd64 3.2.27-2 amd64 library for dealing with netlink sockets - generic netlink
ii libnpth0:amd64 1.3-1 amd64 replacement for GNU Pth using system threads
ii libntfs-3g871 1:2016.2.22AR.1+dfsg-1 amd64 read/write NTFS driver for FUSE (runtime library)
ii libonig4:amd64 6.1.3-2 amd64 regular expressions library
ii libopts25:amd64 1:5.18.12-3 amd64 automated option processing library based on autogen
ii libp11-kit0:amd64 0.23.3-2 amd64 library for loading and coordinating access to PKCS#11 modules - runtime
ii libpam-modules:amd64 1.1.8-3.6 amd64 Pluggable Authentication Modules for PAM
ii libpam-modules-bin 1.1.8-3.6 amd64 Pluggable Authentication Modules for PAM - helper binaries
ii libpam-runtime 1.1.8-3.6 all Runtime support for the PAM library
ii libpam0g:amd64 1.1.8-3.6 amd64 Pluggable Authentication Modules library
ii libparted2:amd64 3.2-17 amd64 disk partition manipulator - shared library
ii libpcre3:amd64 2:8.39-3 amd64 Old Perl 5 Compatible Regular Expression Library - runtime files
ii libpcsclite1:amd64 1.8.20-1 amd64 Middleware to access a smart card using PC/SC (library)
ii libpng16-16:amd64 1.6.28-1 amd64 PNG library - runtime (version 1.6)
ii libpopt0:amd64 1.16-10+b2 amd64 lib for parsing cmdline parameters
ii libprocps6:amd64 2:3.3.12-3 amd64 library for accessing process information from /proc
ii libpsl5:amd64 0.17.0-3 amd64 Library for Public Suffix List (shared libraries)
ii libreadline7:amd64 7.0-3 amd64 GNU readline and history libraries, run-time libraries
ii librtmp1:amd64 2.4+20151223.gitfa8646d. amd64 toolkit for RTMP streams (shared library)
ii libsasl2-2:amd64 2.1.27~101-g0780600+dfsg amd64 Cyrus SASL - authentication abstraction library
ii libsasl2-modules-db:amd64 2.1.27~101-g0780600+dfsg amd64 Cyrus SASL - pluggable authentication modules (DB)
ii libseccomp2:amd64 2.3.1-2.1 amd64 high level interface to Linux seccomp filter
ii libselinux1:amd64 2.6-3+b3 amd64 SELinux runtime shared libraries
ii libsemanage-common 2.6-2 all Common files for SELinux policy management libraries
ii libsemanage1:amd64 2.6-2 amd64 SELinux policy management library
ii libsepol1:amd64 2.6-2 amd64 SELinux library for manipulating binary security policies
ii libslang2:amd64 2.3.1-5 amd64 S-Lang programming library - runtime version
ii libsmartcols1:amd64 2.29.2-1+deb9u1 amd64 smart column output alignment library
ii libsqlite3-0:amd64 3.16.2-5+deb9u1 amd64 SQLite 3 shared library
ii libss2:amd64 1.43.4-2 amd64 command-line interface parsing library
ii libssh2-1:amd64 1.7.0-1 amd64 SSH2 client-side library
ii libssl1.0.2:amd64 1.0.2l-2+deb9u3 amd64 Secure Sockets Layer toolkit - shared libraries
ii libssl1.1:amd64 1.1.0f-3+deb9u2 amd64 Secure Sockets Layer toolkit - shared libraries
ii libstdc++6:amd64 6.3.0-18+deb9u1 amd64 GNU Standard C++ Library v3
ii libsystemd0:amd64 232-25+deb9u3 amd64 systemd utility library
ii libtasn1-6:amd64 4.10-1.1+deb9u1 amd64 Manage ASN.1 structures (runtime)
ii libtinfo5:amd64 6.0+20161126-1+deb9u2 amd64 shared low-level terminfo library for terminal handling
ii libudev1:amd64 232-25+deb9u3 amd64 libudev shared library
ii libunistring0:amd64 0.9.6+really0.9.3-0.1 amd64 Unicode string library for C
ii libusb-1.0-0:amd64 2:1.0.21-1 amd64 userspace USB programming library
ii libustr-1.0-1:amd64 1.0.4-6 amd64 Micro string library: shared library
ii libuuid1:amd64 2.29.2-1+deb9u1 amd64 Universally Unique ID library
ii libwrap0:amd64 7.6.q-26 amd64 Wietse Venema's TCP wrappers library
ii libxml2:amd64 2.9.4+dfsg1-2.2+deb9u2 amd64 GNOME XML library
ii libxtables12:amd64 1.6.0+snapshot20161117-6 amd64 netfilter xtables library
ii linux-base 4.5 all Linux image base package
ii linux-image-4.9.0-6-amd64 4.9.88-1+deb9u1 amd64 Linux 4.9 for 64-bit PCs
ii linux-image-amd64 4.9+80+deb9u4 amd64 Linux for 64-bit PCs (meta-package)
ii linux-libc-dev:amd64 4.9.88-1+deb9u1 amd64 Linux support headers for userspace development
ii locales 2.24-11+deb9u3 all GNU C Library: National Language (locale) data [support]
ii login 1:4.4-4.1 amd64 system login tools
ii lsb-base 9.20161125 all Linux Standard Base init script functionality
ii mawk 1.3.3-17+b3 amd64 a pattern scanning and text processing language
ii mount 2.29.2-1+deb9u1 amd64 tools for mounting and manipulating filesystems
ii multiarch-support 2.24-11+deb9u3 amd64 Transitional package to ensure multiarch compatibility
ii nano 2.7.4-1 amd64 small, friendly text editor inspired by Pico
ii ncurses-base 6.0+20161126-1+deb9u2 all basic terminal type definitions
ii ncurses-bin 6.0+20161126-1+deb9u2 amd64 terminal-related programs and man pages
ii net-tools 1.60+git20161116.90da8a0 amd64 NET-3 networking toolkit
ii netbase 5.4 all Basic TCP/IP networking system
ii netdata 1.9.0-1 amd64 DietPi - NetData
ii ntfs-3g 1:2016.2.22AR.1+dfsg-1 amd64 read/write NTFS driver for FUSE
ii ntp 1:4.2.8p10+dfsg-3+deb9u2 amd64 Network Time Protocol daemon and utility programs
ii openssl 1.1.0f-3+deb9u2 amd64 Secure Sockets Layer toolkit - cryptographic utility
ii p7zip 16.02+dfsg-3+deb9u1 amd64 7zr file archiver with high compression ratio
ii p7zip-full 16.02+dfsg-3+deb9u1 amd64 7z and 7za file archivers with high compression ratio
ii parted 3.2-17 amd64 disk partition manipulator
ii passwd 1:4.4-4.1 amd64 change and administer password and group data
ii perl-base 5.24.1-3+deb9u3 amd64 minimal Perl system
ii pinentry-curses 1.0.0-2 amd64 curses-based PIN or pass-phrase entry dialog for GnuPG
ii procps 2:3.3.12-3 amd64 /proc file system utilities
ii psmisc 22.21-2.1+b2 amd64 utilities that use the proc file system
ii readline-common 7.0-3 all GNU readline and history libraries, common files
ii resolvconf 1.79 all name server information handler
ii rfkill 0.5-1+b1 amd64 tool for enabling and disabling wireless devices
ii sed 4.4-1 amd64 GNU stream editor for filtering/transforming text
ii sensible-utils 0.0.9+deb9u1 all Utilities for sensible alternative selection
ii socat 1.7.3.1-2+deb9u1 amd64 multipurpose relay for bidirectional data transfer
ii sudo 1.8.19p1-2.1 amd64 Provide limited super user privileges to specific users
ii systemd 232-25+deb9u3 amd64 system and service manager
ii systemd-sysv 232-25+deb9u3 amd64 system and service manager - SysV links
ii sysvinit-utils 2.88dsf-59.9 amd64 System-V-like utilities
ii tar 1.29b-1.1 amd64 GNU version of the tar archiving utility
ii tzdata 2018e-0+deb9u1 all time zone and daylight-saving time data
ii ucf 3.0036 all Update Configuration File(s): preserve user changes to config files
ii udev 232-25+deb9u3 amd64 /dev/ and hotplug management daemon
ii unzip 6.0-21 amd64 De-archiver for .zip files
ii usbutils 1:007-4+b1 amd64 Linux USB utilities
ii util-linux 2.29.2-1+deb9u1 amd64 miscellaneous system utilities
ii wget 1.18-5+deb9u2 amd64 retrieves files from the web
ii whiptail 0.52.19-1+b1 amd64 Displays user-friendly dialog boxes from shell scripts
ii wireless-regdb 2016.06.10-1 all wireless regulatory database
ii wireless-tools 30~pre9-12+b1 amd64 Tools for manipulating Linux Wireless Extensions
ii wpasupplicant 2:2.4-1+deb9u1 amd64 client support for WPA and WPA2 (IEEE 802.11i)
ii wput 0.6.2+git20130413-5 amd64 tiny wget-like ftp-client for uploading files
ii xkb-data 2.19-1+deb9u1 all X Keyboard Extension (XKB) configuration data
ii zip 3.0-11+b1 amd64 Archiver for .zip files
ii zlib1g:amd64 1:1.2.8.dfsg-5 amd64 compression library - runtime
ii zlib1g-dev:amd64 1:1.2.8.dfsg-5 amd64 compression library - development
Thanks for this testing. So DietPi after this steps finally works as expected?
I think so, I use this for installing Hassio https://community.home-assistant.io/t/ive-installed-hassio-on-an-old-mac-mini-no-vm/52856 My raspberry pi isn't fast enough.
@gieljnssns Nice, I don't see any difference to usual x86_64 systems, thus it should be possible to choose device ID 21 for preparation script as well. But should not result very differently, thus leave it as it is now.
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.
DietPi-Software also offers Home assistant automated installation by the way.
I think this is just Home assistant not Hassio
@gieljnssns Ah sorry, though "Hassio" is short form of Home-ASSistant.IO 🤣.
@gieljnssns Okay, as far as I could retrace now, you have 3 partition on the drive: OS X, Debian OS and the EFI partition?
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.
@MichaIng
Okay, as far as I could retrace now, you have 3 partition on the drive: OS X, Debian OS and the EFI partition? As Debian boots by default and grub-efi-amd64 is installed, the bootloader seems to be the one from Debian, not OS X anymore?
How can I check this?
The question is then why our x86 EFI image is not working, what differences are there.
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) Is this normal?
[ INFO ] DietPi-Drive_Manager | Detecting drives, please wait...
[ INFO ] DietPi-Drive_Manager | Detected UUID mount: /dev/sda1 > /boot/efi
[ INFO ] DietPi-Drive_Manager | Detected UUID mount: /dev/sda2 > /mnt/ab0cc23c-72fb-3e68-bd6c-a65fbe2ea951
[ INFO ] DietPi-Drive_Manager | Detected UUID mount: /dev/sda3 > /mnt/9fe78b5e-8ed2-33be-94bf-0ee1322fdbab
[ INFO ] DietPi-Drive_Manager | Detected UUID mount: /dev/sda4 > /
[ INFO ] DietPi-Drive_Manager | Detected UUID mount: /dev/sda5 > /mnt/7a0207f7-dc0e-4e86-afe3-e52426c49834
mount: unknown filesystem type 'swap'
@gieljnssns
I burn my usb and sd with Etcher, and etcher says the image isn't bootable
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 Ah yes, didn't think about 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 Hmm okay, since it boots fine on other systems, seems that Mac needs some specials to boot the stick. Looks like the method via Debian wiki you used is the way to go for now.
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.