- 1.create a new partition for the linux os.It can be done in mac by going to Finder -> Application ->Utilities -> disk utility.app .
- Use this command to create a live usb stick from which fedora can be installed. "sudo dd if=path-of-the-Fedora-Image-file.iso of=path-of-the-usb-drive bs=512k". Make sure the usb drive is formated with fat32. bs=512k is the safest rate and "diskutil list" command will give the path-of-the-usb-drive (i.e., /dev/rdisk2 ) . dd will not give anyoutput until it completes the writing , so wait for some time (5-10min).
- Now shutdown laptop and restart it while press the alt/option key. This will give the available boot options. click on fedora icon to start live session.
- During installation process delete the partition that you have created earlier and "reclaim the space". You should select automatic partiction process.
3. Things to do after installation
- Update the system via wired connection. This can be done using either lan connection with thunderbolt port or usb tethering from a android smartphone.
- dnf install kernel-devel akmod-wl ( add rpmfusion repository ). This will add support for wifi.
- Fix brightness control by installing mba6x_bl (https://github.com/patjak/mba6x_bl )
- Try to Fix webcam from this github(https://github.com/patjak/bcwc_pcie). If download of the appleCameraInerface fails then you can get this file from some mac os and convert it . (dd bs=1 skip=81920 count=603715 if=AppleCameraInterface | gunzip >firmware.bin).
- Install graphics for intel driver https://01.org/linuxgraphics/
- Fix over heating issue . ( http://itsfoss.com/reduce-overheating-laptops-linux/)
- create a /etc/rc.d/rc.local
- #!/bin/bash
/usr/bin/echo -n 1 > /sys/devices/system/cpu/intel_pstate/no_turbo
/usr/bin/echo XHC1 > /proc/acpi/wakeup
/usr/bin/echo LID0 > /proc/acpi/wakeup
/usr/bin/echo 0 > /sys/module/hid_apple/parameters/iso_layout
echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs'
echo 'min_power' > '/sys/class/scsi_host/host0/link_power_management_policy'
echo '1' > '/sys/module/snd_hda_intel/parameters/power_save'
echo '0' > '/proc/sys/kernel/nmi_watchdog'
echo 'auto' > '/sys/bus/usb/devices/1-5/power/control'
echo 'auto' > '/sys/bus/usb/devices/1-3.3/power/control'
echo 'auto' > '/sys/bus/usb/devices/2-3/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:03:00.0/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:00.0/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:02.0/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:03.0/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:14.0/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.0/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.1/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:04:00.0/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:16.0/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:02:00.0/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.3/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.0/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.4/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.5/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.2/power/control'
echo 'auto' > '/sys/bus/pci/devices/0000:00:1b.0/power/control' Give permission to the file and enable the service
chmod +x
/etc/rc.d/rc.localsystemctl enable rc-local.service
systemctl start rc-local.service
Fix touchpad over-sensitivit. edit /usr/share/X11/xorg.conf.d/60-libinput.conf Add this lines in the Touchpad section. Option "FingerHigh" "70" Option "RTCornerButton" "0" Option "RBCornerButton" "0" Option "MinSpeed" "0.7" Option "MaxSpeed" "1.7" Option "SHMConfig" "on" Option "TapAndDragGesture" "off" source: http://techblog.tthu.net/2015/01/apple-trackpadtouchpad-sensitivity-under-linux/
Comments
Post a Comment