Giter Site home page Giter Site logo

macbook-lubuntu-install's Introduction

Lubuntu install on white Macbook

This tutorial aims to install a Lubuntu 17.10 on a Macbook3,1 using live CD via usb-stick. My major problem was running the desktop 32bit ISO which does not fit on a CD. This may also work on an old MacMini1,1

requisites

start live CD

  1. Download Live CD - I'm using Lubuntu 17.10.
  2. Start VirtualBox and create new VM mounting ISO-Image
  3. Start Live-CD VM
    • For Lubuntu 17.10 it might be necessary to start with "nomodeset" option Press "F6" Other Options and set "nomodeset"

format usb-stick

In Live-CD open terminal wit ctrl + alt + t

  1. sudo gparted
  2. Select USB-Drive (e.g. /dev/sda)
  3. Menu:Device > Create Partition Table > Dialog:Warning This will ERASE... > Dropdown:gpt > Button:Apply
  4. Menu:Partition > New > Filesystem: Dropdown:fat32 ; Partition Name: GRUB2EFI > OK > Menu:Edit > Apply all Operations
  5. Exit gparted

prepare grub efi

Still in Live-CD...

  1. Download the grub.sh, grub.cfg together with post.sh script in same folder.
  2. Make sure that your usb-stick is device /dev/sda and mounted under /media/lubuntu/GRUB2EFI.
    • If this is not the case edit the grub.sh script.
  3. Run sh grub.sh from the terminal.
  4. If using a different ISO-Image you may need to change grub.cfg in EFI/BOOT folder on the usb-stick.
  5. Switch to your Host-OS and copy the iso image to the /iso folder

Your stick should contain these files now.

/media/lubuntu/GRUB2EFI
├── EFI
│   └── BOOT
│       ├── bootx64.efi
│       ├── bootia32.efi
│       └── grub.cfg
├── iso
│   └── lubuntu-17.10.1-desktop-i386.iso
└── post.sh

macbook2 prepare

  1. Boot into OSX and open "Disk Utility"
  2. Repartition your Harddisk to decrease your OSX Partition. Create a new one for Lubuntu
  3. Download ReFind https://sourceforge.net/projects/refind/files/0.11.2/refind-bin-0.11.2.zip/download
  4. Shutdown OSX
  5. Insert usb-stick in macbook and boot holding the alt key.
  6. Select the "EFI Boot" with USB-Icon (right-most)
  7. Boot into Live CD - this may take some time... make credit to USB1

install Lubuntu

  1. Click on "Install Lubuntu 17.10"
  2. Run the partiioning using your second partition you peviously created under OSX.
    • Note down the device name lubuntu gets installed. E.g. /dev/sda3
    • Run the installer - it will stop with an error stating that grub can`t be installed
    • Do NOT shutdown the computer.
  3. Grub bootloader installation using post.sh script.
    • Check your partitions first with sudo fdisk -l /dev/sda
    • Make sure your Linux filesystem is at /dev/sda3. If this is not the case edit post.sh and change the line linux=${disk}3 accordingly. Use cp /isodevice/post.sh .
    • Run sh /isodevice/post.sh install

postinstall

  • Install additional drivers...
    • Broadcom Wifi
    • Intel Microcode
  • You may change the default behavior for function keys
  • isight http://bersace03.free.fr/ift/
    sudo apt install isight-firmware-tools
    # mount Macintosh HD from file manager
    sudo ift-extract -a /media/$USER/Macintosh\ HD/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/Contents/MacOS/AppleUSBVideoSupport
  • There is an issue with [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] ERROR [CRTC:26:pipe A] flip_done timed out in dmesg

License

  • Content is licensed under CC0.
  • Source code is licensed under Unlicense

References

macbook-lubuntu-install's People

Contributors

commenthol avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.