02: The Mac Side

×

Statusmeldung

If you have any questions about this page or if you find any errors, please write a message to the support wall and a Labdoo volunteer will help resolve it. Thank you for helping to improve our wiki pages.

If MacOS is missing
You will need to have Wifi and internet access to reinstall macOS.

  1. Booting the laptop.
  2. If it prompts you to install a new OS, simply connect to your WiFi and follow the screen
  3. Otherwise, reboot the laptop, holding both the Command and R keys until you see the Apple logo. Then select “Reinstall macOS” from the menu

If MacOS is present
If you know the password of the admin user, congratulations!. Otherwise, follow these steps to reset the password:

  1. Reboot the laptop, hold the Command + R keys until the Apple logo appears.
  2. Select Utilities -> Terminal to launch a terminal.
  3. Type resetpassword (yes, one word) at the terminal. Follow the screen to reset the password for each existing account.
  4. Restart and log in using the new password

“Labdooing” the Mac
Create Labdoo Accounts
You will use the existing admin account to create two new accounts: “student” and “labdoo” and then remove all non-labdoo accounts.

  1. Log in as the current admin account
  2. Select “System Preferences” -> “Users & Groups”
  3. Click the lock icon to unlock. Type password when prompted
  4. Click ‘+’ to add a new account. A new account form will pop up
  5. Create “labdoo” account - fill in the form with the following values:
    1. New Account: Administrator
    2. Full Name: labdoo
    3. Account Name: labdoo
    4. Password: labdooadmin
    5. Verify: repeat the password
    6. Password hint: can leave blank
  6. Create “student” account - fill in the form with the following values:
    1. New Account: Standard
    2. Full Name: student
    3. Account Name: student
    4. Password: labdoo
    5. Verify: repeat the password
    6. Password hint: can leave blank

Delete Non-labdoo Accounts

  1. Log in as “labdoo”
  2. Select “System Preferences” -> “Users & Groups”
  3. Click the lock icon to unlock. Type password when prompted
  4. Select a non-labdoo account, click the ‘-’ to remove the account
  5. Select “delete user directory” option. Confirm deletion when prompted
  6. Repeat step 4 and 5 for all remaining non-labdoo accounts

Change the Computer Name:
We will change the computer name to the labdoo Tag ID:

  1. Generate a tag ID for this computer if it doesn’t have one yet
  2. Click “System Preference” -> “Sharing”
  3. Change the computer name to labdoo-000xxxxxx, where xxxxxx is the tag ID.

Create a Partition for Ubuntu

  1. Run Disk Utility: Select Go -> Utilities -> Disk Utility
    utilities
  2. Disk Utility screen
    disk utilities
  3. Click “Partition”. A dialog box will pop up. Click Partition again
    partition
  4. Click the ‘+’ sign. A new partition will be added. We now have 2 partitions, each occupies 50% of the disk space. Name the new partition “UBUNTU” and set its format to MS-DOS(FAT).
    new partition
  5. Click Apply
    partition
  6. Click Partition
    partition4
  7. Click Continue. The process may take a while.

We are now ready to install Ubuntu on the new partition. But there is one task left: to install a boot manager.

Install rEFInd Boot Manager
Disable SIP (System Integrity Protection)
SIP protects critical areas on the disk from being altered, and rEFInd needs to write to one of those areas. Thus, we need to disable SIP before installing rEFInd

  1. Check to see if SIP is enabled or disabled. Open a Terminal and type “csrutil status”
    csrutil
  2. If it says “enabled” like in the capture above, follow the steps below to disable it

  3. Reboot and hold the Command + R key until you see the Apple logo. It will boot into Recovery mode.
  4. Select “Utilities” -> “Terminal”
  5. At the terminal, type csrutil disable
  6. Reboot and log back in as labdoo

Installing rEFInd

  1. Open a Terminal
  2. Open the folder where you downloaded the files earlier
  3. Arrange the Terminal window and the folder window so you can see both at the same time:
    refind install
  4. Drag and drop the “refind-install” file into the Terminal folder
  5. In the Terminal window, hit Enter or Return key to execute the command. Enter the password when prompted
    refind install command

We are now ready to install Ubuntu.


Continue reading to the next page:
03: Install Ubuntu Mate


Go back to read the previous page:
01: Prepare Your Stuff