Failure at installing Fedora 20 on a mac mini

This was an attempt to put Fedora 20 on a 2008-ish mac mini.

Even though this box has a 64-bit processor, it has 32-bit EFI.  Fedora installers come in 1 of 2 configurations:
64-bit EFI / x86_64
32-bit Bios /  i686
Rather than go through the rigmarole of wrapping my own 32bit EFI with x86_x64, I went with the easy approach of 32-bit Bios + i686.  The box only has 2GB of RAM, so I am not really missing out on anything.
I've grown quite accustomed to XFCE so I downloaded the i686 spin:
http://download.fedoraproject.org/pub/fedora/linux/releases/20/Live/i386/Fedora-Live-Xfce-i686-20-1.iso

Download and installed base system

Post installation configuration:
systemctl enable sshd.service
systemctl start sshd.service
yum -y update
yum -y install vim-enhanced
yum -y install yum-plugin-keys yum-plugin-fastestmirror yum-plugin-remove-with-leaves yum-plugin-show-leaves yum-plugin-verify
yum  -y install xfce4-cpufreq-plugin xfce4-icon-theme xfce4-volumed xfce-theme-manager xfwm4 xfwm4-theme-nodoka xfwm4-themes
yum -y install tigervnc

yum -y install screen nedit rxvt rxvt-unicode-256color xscreensaver\* xorg\*font\*Type1 xorg\*font\*misc dump rxvt

cat << 'EOF' > /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome - $basearch
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
EOF

cat << 'EOF' > /etc/yum.repos.d/google.repo
[google]
name=Google - $basearch
baseurl=http://dl.google.com/linux/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
EOF

chmod 644 /etc/yum.repos.d/google{,-chrome}.repo
yum install google-chrome-stable google-chrome-beta

sed -i -e "s/rhgb quiet/verbose/" /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg

# download brother cups files from google drive
# https://drive.google.com/file/d/0B6McNzMelT4JSjVXUjZOMjlvUXM/edit?usp=sharing
# https://drive.google.com/file/d/0B6McNzMelT4JUVVGc3A2YUk3V3c/edit?usp=sharing
(umask 022; sudo yum localinstall mfc5860cncupswrapper-1.0.1-1.i386.rpm mfc5860cnlpr-1.0.1-1.i386.rpm )

yum -y install ntp ntpdate

vim /etc/hosts ## add entry for this host

cat << 'EOF' > /etc/sysconfig/network
NETWORKING=yes
GATEWAY=10.99.98.254
EOF

cat << 'EOF' > /etc/sysconfig/network-scripts/ifcfg-enp1s0
NM_CONTROLLED=yes
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=Eth0
IPADDR0=10.99.98.14
PREFIX0=24
GATEWAY0=10.53.47.254
DNS1=10.99.98.14
DNS2=8.8.8.8
DNS3=8.8.4.4
DOMAIN=example.com
EOF


yum install rfkill
cat >> /etc/rc.d/rc.local << 'EOF'
/sbin/rfkill block wifi
EOF
chmod 744 /etc/rc.d/rc.local


## audio has become a problem, not sure if things changed or was like this from the start but Audio Mixer reports "No valid device and/or element"
## decided to install more packages to see if this is just a missing package problem.

(umask 022; sudo yum groupinstall LXDE\ Desktop)
(umask 022; sudo yum groupinstall MATE\ Desktop)
(umask 022; sudo yum install `yum search alsa | grep x86_64 | awk -F. '{ print $1 }'`)
(umask 022; sudo yum install `yum search pulseaudio | grep x86_64 | awk -F. '{ print $1 }'`)



Comments

Popular posts from this blog

Xubuntu Home Server on Dell XPS 13 9370

Cygwin + syslog-ng

Installing Fedora 21 on a (late 2014) Mac Mini