상세 컨텐츠

본문 제목

Installer Linux Sur Pc

카테고리 없음

by neoprevlalhand1989 2020. 2. 23. 05:45

본문

Use or a similar utility to clone an external bootable drive that includes a copy of the Recovery HD volume. After you have a working clone, disconnect it from your Mac to ensure that the clone backup isn't accidentally erased during the Ubuntu installation. A Mac with 2GB of RAM and a 2 GHz dual-core processor. These are the bare minimums; more RAM and faster processor speeds or additional processor cores are helpful. The installation described here is on a 2014 27-inch Retina iMac running, but the process should work for any Mac released after 2011. If you plan to use an older Mac, you should still be able to install Ubuntu, but you need to pay attention to how the boot process works for older hardware. If you have problems getting your older Mac to work with Ubuntu, stop by the and search for install guides for your Mac model.

A 2GB or larger USB flash drive. The flash drive is used as a bootable Ubuntu installer that contains not only the basic installer but also a live version of Ubuntu that you can run directly from the USB flash drive without modifying anything on your Mac. This is a great way to test whether your Mac and Ubuntu can get along. A USB keyboard and mouse.

You need a USB-based keyboard and mouse because it's highly likely that the Ubuntu Bluetooth drivers will need to be installed or updated before a wireless keyboard or mouse can work. 25GB free drive space.

This is the minimum size recommended for the desktop version of Ubuntu; more space to work with can be a benefit. Ubuntu 16.04.1 LTS. This is the current stable version of Ubuntu that was available when we started this project.

Later versions should work as well. Check the release notes for any specific changes that may affect installation or use on your Mac. Insert the USB flash drive and launch Disk Utility, which is located at /Applications/Utilities/. Locate the flash drive in Disk Utility's sidebar.

Select the actual flash drive and not the formatted volume that may appear just below the flash drive's manufacturer name. Click Erase in the Disk Utility toolbar.

Installer Linux Sur Pc

Set the Erase options as follows: Name: UBUNTU, Format: MS-DOS (FAT), Scheme: GUID Partition Map. Click Erase. When the process is complete, click Done. Before you leave, make a note of the flash drive's device name. Make sure the flash drive named UBUNTU is selected in the sidebar, and look for the entry labeled Device in the main panel. You should see the device name, such as disk2s2, or similar.

Write down the device name. You need it later. Quit Disk Utility.UNetbootin Utility. UNetbootin can be downloaded from the. Select the Mac OS X version even if you're using macOS Sierra. The utility downloads as a disk image, with the name unetbootin-mac-625.dmg. The actual number in the file name may change as newer versions are released.

Locate the downloaded UNetbootin disk image. It is probably in your Downloads folder. Double-click the.dmg file to mount the image on your Mac's desktop. The UNetbootin image opens. You don’t need to move the app to your Applications folder, although you can if you want.

The app works just fine from within the disk image. Launch UNetbootin by right-clicking on the unetbootin app and selecting Open from the popup menu. Use this method to launch the app because the developer isn't a registered Apple developer, and your Mac's security settings may prevent the app from launching.

This method of launching the app bypasses the basic security settings without having to go into the System Preferences to change them. Your Mac's security system will still warn you about the developer of the app being unrecognized and ask if you really want to run the app. Click Open. A dialog box open, saying osascript wants to make changes. Enter your administrator password and click OK. The UNetbootin window opens.

UNetbootin supports creating the live USB installer for Linux using an ISO file you previously downloaded, or it can download the Linux distribution for you. Do not choose the ISO option. UNetbootin is currently unable to create a Mac-compatible bootable USB drive using a Linux ISO you download as the source. It can, however, properly create the bootable USB drive when it downloads the Linux files from within the app. Make sure Distribution is selected and then use the Select Distribution drop-down menu to pick the Linux distribution you want to install on the USB flash drive. For this project, select Ubuntu. Use the Select Version drop-down menu to select 16.04Livex64, the version that is compatible with 64-bit architecture.

Some early Intel Macs used 32-bit architecture, and you may need to choose the 16.04Live version instead. If you’re adventurous, select the DailyLive or DailyLivex64 versions, which have the most current beta version of Ubuntu.

This can be helpful if you have issues with the live USB running correctly on your Mac or with drivers such as Wi-Fi, Display, or Bluetooth not working. The UNetbootin app should now list the type (USB Drive) and Drive name that the Ubuntu live distribution will be copied to. The Type menu should be populated with USB Drive, and the Drive should match up to the device name you made a note of earlier when you were formatting the USB flash drive.

After you confirm that UNetbootin has the proper distribution, version, and USB drive selected, click the OK button. UNetbootin downloads the selected Linux distribution, creates the live Linux install files, creates the bootloader, and copies them to your USB flash drive. When UNetbootin finishes, you may see the following warning: The created USB device will not boot off a Mac. Insert it into a PC, and select the USB boot option in the BIOS boot menu. You can ignore this warning as long as you used the Distribution option and not the ISO option when creating the bootable USB drive. Click the Exit button.

Table of Contents.Got one of those shiny Mac laptops, but Linux has you realising computer freedom is best?This is the definitive guide!UPDATED FEBRUARY 2019Using a Macintosh is (mainly) a delight. The hardware is solid, fast, and beautiful, but over time, macOS has become dumbed down and in some places, downright silly. I long since realised that I could do exactly what I wanted to do with my macbook using Linux, rather than being encumbered by having to follow the ‘Apple’ way of doing things. I never looked back. Here’s the definitive guide to installing Linux on a Mac.DISCLAIMER: This is an advanced tutorial which sometimes works at the command line and can cause irreparable damage to your data. If you do proceed, make sure you have backed everything up with TimeMachine or such like tools.

The Ultimate Linux Newbie Guide cannot be held responsible for any damage caused as a result of following this tutorial.This tutorial has been tested on a late 2013 Macbook Pro Retina 15″, however it should work with any EFI based Mac (more on that in a bit). The EFI based Macintosh started around 2008 (you can check the list of the Apple EFI systems ).

This should include Macbook Pros, Macbook Air, iMac and probably Mac Pro’s Update: Apple’s new P2 ‘Secure boot’ chip. To find out if you have the T2 chip:1. Press and hold the Option key while choosing Apple () menu  System Information.2. In the sidebar, select either Controller or iBridge, depending on the version of macOS in use.3. If you see “Apple T2 chip” on the right, your Mac has the Apple T2 Security Chip.Unfortunately, Apple decided to add a new ‘secure boot’ T2 chip into their mac hardware. This basically means that you can’t use anything other than macOS on Apple hardware, however it is possible to switch off secure boot. See the image to the right to show you how to find out if your machine has the T2 chip.If you have said T2 chip, then you’ll need to disable the secure boot option in order to install Linux on your mac.

Note that I haven’t tested this (I don’t have a new mac), so please let me know in the comments if it works for you.You’ll need to start your mac into the Recovery mode and launch the Startup Security Utility. To do this, just follow these steps:. Turn on your Mac (or restart it if it’s already on), then press and hold Command (⌘)-R immediately after you see the Apple logo. Your Mac starts up from. When you see the macOS Utilities window, choose Utilities Startup Security Utility from the menu bar. When you’re asked to authenticate, click Enter macOS Password, then choose an administrator account and enter its password.

Now look at the options, there should be an option for ‘Secure Boot’. Switch it off by selecting ‘No security’. There should also be an option about ‘External Boot’. Ensure that this is set to ‘Allow booting from external media’.The Startup Security Utility defaults enforce the highest security by default. This won’t let you install Linux on your mac, let alone boot from a USB stick. Dual Booting with Mac OS (yes, you can keep MacOS!)I am writing this assuming that you want to keep Mac OS X on your hard drive and that you wish to dual-boot it at any time. You should have plenty of free space on your disk drive (the more the better), so either delete some cruft or move some of your old data onto a separate external archive hard drive (because I know you got one or ten of them lying around!).I used MacOS Mojave, which is the latest version of macOS at the time of writing.

Recently Apple introduced a ‘security feature’ called ‘SIP’ (System Integrity Protection) which you will additionally have to overcome if you are using El Capitan or newer. More on that in a bit. We will be installing Ubuntu. This tutorial was written with Ubuntu, but this should apply to any Linux distro more or less, although your mileage may vary with Video stuff particularly.NOTE: You may have to and/or do a few gnarly things to get your hardware working before it is Linux ready, so if you get stuck at any point, read towards the end part of this guide.The tutorial you are about to read has four main steps. These are:.

Downloading and ‘burning’ your Linux distro of choice to a USB stick. Partitioning your hard drive.

Installing Linux. Finishing up, which includes: Adding driver.

Disabling SPI and enabling EFI. Nice to have items, including being able to see your Macintosh files from Linux.Step 1: Downloading and ‘burning’ your Linux distro image of choice to a USB stick.

Next, unless you haven’t already downloaded the Linux distribution of your choice, it’s time to go grab it. You’ll find that you’ll download a.iso file, which we will need to ‘burn’ onto a USB stick. Make sure you have a 4GB or bigger USB stick that you don’t care about deleting ready for use.For this particular tutorial, we are using, however most other Linux distributions should work. Using more hard-ass systems like Arch or Slackware, or even Debian, this will be more challenging. This guide is challenging enough, so do what you will, but I recommend you stick to the easier distros to begin with like Ubuntu or Linux Mint.Make sure you download the x64 version of the distribution you choose, if there is an EFI boot version, choose that also.

Using Etcher to ‘burn’ your ISO image to a USB stick.There is now a snazzy tool called Etcher (you can download it for free from. This would now be my choice for downloading and burning a Linux distribution download to a USB stick because it’s literally as easy as popping in your USB stick and pressing go!Now that you’ve got your ISO file downloaded, and you’ve downloaded Fire up Etcher, and follow these steps:. Click ‘Select Image’. Select the Linux ISO file that you just downloaded. Insert your USB stick that you want to put the Linux distribution onto (note it will be completely wiped). Click ‘Select Drive’.

In many cases, this might not even be necessary (Etcher is clever enough to see the USB stick and select it for you). Click Flash!Etcher in action – a super quick and easy tool to put your Linux ISOs onto a USB stick.Yep, that’s it! If there is any reason why you can’t get this to work, then you can follow the Step 2: Partitioning your Macintosh hard driveThis step chops your disk up the way you want it – some space for macOS, some space for Linux. This is called ‘Partitioning’. Make sure that you delete as much junk from your mac before you start, that way you can give as much space as you can to Linux.To modify your partition table in macOS simply look in your Utilities folder, you’ll find Apple’s Disk Utility.

If you like, quickly scan your hard drive for errors, just to make sure it’s all sweet before we get down to business. Repair any errors you may find.Once you are ready, you will see a list of internal drives on the left hand side. Your Disk Utility may look different if you are using an older version of macOS, but it still offers the ability to resize a volume.If you are using a recent version of MacOS, you’ll find that macOS now uses a notion of disk containers.

To see everything that’s going on, you’ll need to click the icon to the top left, it should show you ‘Show Only Volumes’ or ‘Show All devices’. Select Show All Devices. The screenshot below shows this action. Select ‘Show All Devices’ from the top left menu in Disk Utility.On the hard drive that your macOS partition exists on, click on the top drive, not any subsequent partitions listed below it. Click on the ‘partition’ button (it looks like a pie chart in modern versions of the utility).In newer versions of macOS, they prefer you to use these ‘container volumes’. That’s fine for macOS, but you want a partition to put Linux on. If you see the above dialogue box appear, make sure you click ‘Partition’.Next, you’ll see the partition pie chart.

You will see you can move the slider around the pie to resize your partition(s). Pull the size slider back for the Mac OS partition to release the free space on the disk. Make a blank partition until you have enough space for your new Linux system.

Make it as much space as you are willing to, I gave my Linux partition 100 GB.It’s essential that you choose to format the partition as MS-DOS (FAT) format. I gave it the name ‘Linux’ so that it’s easy to tell what it is. Once you’ve done that, click Apply. Click the Partition button.You’ll see the box to the left. Apply the changes by clicking the Partition button and let the resize operation complete. If you have an SSD, this should be relatively quick (a few minutes). For older hard drives, this is going to take some time!

You’ll probably see this message, just click ‘Continue’.NOTE: I also recommend also making a swap partition, although this isn’t completely necessary. To do this, simply follow the steps you did above but make a smaller partition, eg 8GB.The below screenshots show the creation of a SWAP partition and the final ‘picture’ of what your macOS disk should look like.Step 3: Installing Linux on that Mac!Woo-hoo! This is the fun part! Now we get to install the operating system that your Macintosh has been longing for. Using a USB or Thunderbolt Ethernet Adapter is going to save you a lot of headaches!Switch your Macintosh off completely. Connect your Ethernet to Thunderbolt adapter (or USB Ethernet Adapter) and your USB drive we made earlier.

If you don’t have one of those ethernet adapters, life is going to be tricky for you, you are going to have to download the wireless drivers and install them manually to get things working. If you don’t have one of the adapters, ask a friend for one, or buy one cheap from Ebay or such like. It will save your sanity.Turn on your computer and hold down the option/alt key. You’ll see a menu pop up which you can see your Macintosh HD as well as the USB stick.

It will be named EFI Boot or something similar. Use the cursor keys or mouse to select that and hit return. PS: Make sure you revert to using your laptop’s keyboard and mouse for the time being (your bluetooth keyboard, and probably your mouse won’t work until paired).

Hold down the alt/option key whilst starting up your mac and you’ll see this screen.Shortly after, you’ll see the Ubuntu installer start up. Follow through the steps as usual. You’ll get to a screen that says ‘Updates and other software’. Make sure you tick the box that says Install third-party software for graphics and Wi-Fi. Make sure to select a normal installation, and tick the box ‘Install third-party software’.The next step, and arguably the most important step in the entire process is about installing Linux on the partitions you previously configured in the Disk Utility.

You’ll see a dialogue saying ‘Installation type’. Make sure that you choose the option ‘Something else’. If you select the other options, these will delete your installation of macOS and make you have a bad day (TM). In installation type, ensure you choose ‘Something else’.In the next dialogue, you’ll see the partition table (and probably some empty partitions too). If you created a swap partition as per my example, you’ll see two FAT32 partitions. One will be the small 8GB SWAP partition, the other 100GB (in my case) is the main Linux partition.

You can see the two fat32 partitions created with the Apple Disk Utility. In my case sda3 (8.7GB) and sda4 (99.8 GB).You’ll probably see three FAT32 partitions. One of them will be near the start of the disk and won’t resemble the capacity of the partitions you created. This is the EFI boot partition.

It’s tiny (209.7 MB). Make sure you leave this partition well and truly alone, otherwise you’ll possibly not be able to boot your mac!If you didn’t create a swap partition, don’t worry, you can still do so by locating the empty partition you made and create 2 partitions out of it. Simply make a big partition and a small partition (roughly 8-16 GB in size). The big partition should be the remainder of the free space. The big partition should be ext4 in type, and should be formatted with the mount point of “/”.

The small partition should be formatted as swap.It’s time to set up the partitions to use Linux. To do that, I selected my first (smaller) partition, the one that’s 8.7GB. I’m going to use that as the Swap partition. Select that partition by clicking on the entry for it in the list of partitions. In my case, that’s /dev/sda3. It must be of type fat32.Once you click on it, click the button that says ‘Change’. A dialogue saying ‘Edit partition’ will appear.

Leave the size as it is, but click on the drop down which will probably say ‘do not use’. Select ‘swap area’ from this list. Press OK.Next, you want to allocate the large partition to be the main Linux partition (it’s called /). Click on the large partition created in Disk Utility (in my case, /dev/sda4). It also has a type of fat32.Clicking the ‘Change’ button will bring up the now familiar Edit Partition dialogue box.

Again, leave the size as is, and from the ‘Use as’ drop-down, select ext4.Click on ‘Format this partition’ if it isn’t already ticked. By default, the mount point will be / – leave that as is. Click OK.If you’ve done everything right, you’ll now have two partitions. One which is small, of type swap and the other, the larger of the two, will be formatted as Linux ext4. These partitions will lie in amongst the other ‘unknown’ partitions (these are your macOS partitions). This is what my setup looked like before pressing the Install Now button.Once you are happy, click the Install Now button. You’ll see a dialogue box asking you to confirm the changes are to be written to disk.

This is your last chance before Ubuntu goes off and does it’s thing to your disk. Again, I can’t stress how important it is that you’ve taken that Time Machine backup with your mac before you do this. Anyway, I’m sure you’ve backed everything up right? 🙂 So click on ‘Continue’ and let the good times roll!

Everything else should be pretty standard as per the normal Ubuntu installation.Once the install has finished, the installer will tell you to remove the installation medium. Remove the USB stick and it enter to restart the computer. Once you hear the tell-tale Apple chime, hold down the alt/option key. Once again, you’ll see your MacOS hard drive, as well as the newly installed Linux system.

It’ll probably be called ‘EFI Boot’. Make sure you select that.That’s it! With any luck, Ubuntu should start up in a few moments and you’re able to use your snazzy mac hardware with a better operating system!

However, you may note that you probably won’t have a few things that work out of the box. Most of these will be be covered off on the next step. Step 4: Finishing up and fixing a few problems CPU Running Hot?If, like me, you notice that the mac starts running hot and the CPU fans are burning away then have a look at the output of the CPU history in the resources view of the System Monitor app (or using top at the terminal), you’ll probably find that a ‘kworker’ process is chewing up CPU.

This is a, so to fix this, run the following commands at the terminal: $sudo -sgrep.r /sys/firmware/acpi/interrupts/You’ll see a list of probably 70 or so lines relating to the firmware that works with ACPI (Advanced Configuration and Power Interface). Most of these are doing their thing quite happily, but you’ll find one (or maybe even two) of them that has a number like gpe 16 has a large number beside it. It’ll look like this: /sys/firmware/acpi/interrupts/gpe16: 225420 STS enabled unmaskedWhen you think you’ve found it, you can simply disable it, but first, just back up the file, just in case you make the wrong change. Note I am using gpe16 as that’s the one I found the problem with, yours is probably different: cp /sys/firmware/acpi/interrupts/gpe16 /root/gpe16.backupecho 'disable' /sys/firmware/acpi/interrupts/gpe16If after a few seconds (say 30-60), the CPU fans stop whirring, and system monitor/top starts showing normal usage statistics, then you know it’s the right one. If it isn’t the right one simply echo “enable”, rather than disable.To make the change permanent, do the following tasks, again at the terminal, changing the value ’16’ to the value you used: # crontab -e-Add the below line to the crontab, so it will be executed every startup/reboot:@reboot echo 'disable' /sys/firmware/acpi/interrupts/gpe16- Save/exit.

Then, to make it work also after wakeup from suspend:# touch /etc/pm/sleep.d/30disablegpe16# chmod +x /etc/pm/sleep.d/30disablegpe16# vim /etc/pm/sleep.d/30disablegpe16- Add this stuff:#!/bin/bashcase '$1' inthaw resume)echo disable /sys/firmware/acpi/interrupts/gpe16 2/dev/null;;.);;esacexit $?Accessing your Macintosh files from LinuxSponsored Link:Tech Tip: Windows business applications including Office 365 can be accessed from PCs/Macs/Android/iOS/Linux devices with and other cloud servers and services with full support fromOkay cokey. Now here’s the thing. Apple can be real pains in the asses some times (read, all the time, at least these days).

It is quite likely that you have what’s called CoreStorage, if you have anything OS X 10.10 or newer. This provides an encrypted, journaled file system; even if you haven’t installed FileVault (if you have, turn that off!).To give full read/write access to your Mac OS X partition from Linux, you will need to revert it back to standard HFS+. To do this, you can pretty much enter one simple non-destructive command.First up, at the terminal, issue the command diskutil cs list. You will see something like the below. If you know LVM in Linux, this is pretty much the same thing. Your main Mac OS X partition (Logical Volume) should be in AppleHFS format.As long as the ‘Revertible’ flag is set to Yes, you are good to go.

Simply enter the following command:diskutil coreStorage revert THAT LONG STRING OF TEXTThe long string of stuff is that big long alphanumeric string of text highlighted in the red box, you want to use copy and paste it to make sure you don’t make a mistake!The conversion took ages for me, however your mileage may vary, depending upon how much data is on your drive, and how fast your drive is. If you type diskutil cs list again, you’ll see how much% of the conversion has been accomplished. Don’t reboot your machine until that’s over and done with, but after then, you can safely mount your OS X partition with full read/write access.First, make sure that you have hfsprogs installed. Example installation command:sudo apt-get install hfsprogsNext, mount or remount the HFS+ drive; commands need to be as follows:sudo mount -t hfsplus -o force,rw /dev/sdXY /media/mntpointorsudo mount -t hfsplus -o remount,force,rw /dev/sdXY /mount/pointIf you want it to mount each time you start up your tux-ified Macintosh, you’ll need to add the entry to the fstab (sudo vi /etc/fstab):/dev/sdXY /media/mntpoint hfsplus force,rw,gid=1000,umask=0002 0 0Where your user gid is 1000 (use the id command to find out your gid) FaceTime HD Camera:You’ll need the FaceTime HD module for your kernel. It’s a bit of a pain in the butt to get going, but it does go once you’ve set it up. Full documentation is here:Here are the steps I followed to get everything working on Ubuntu.

You need to be running a fairly recent version of Ubuntu (16.04 onwards should be fine), so 18.10 will be no worries. The red circle indicates where to download rEFIndrEFInd is a boot-loader for EFI based machines. Think of it like bootcamp, or GRUB for GRUB 🙂 You’ll want to download rEFInd from the rEFInd website:.Now, if you take a look around the rEFInd website, you’ll see it looks like the guy that wrote it believes in punishing everyone that wants to use it. It took us about 20 minutes just to find the frigging download link! Everything went according to Hoyle, on my MBP 8,2 late 2011, OS X 10.11.3 was very easy to follow (Thank You) except the last three commands, not that they were not easy to follow, it was I didn’t understand them. Would I mount my OS X partition to read and write from Linux MInt 17.3 Cinnamon x64 or back in OS X? And why would I want to when I want to use Linux as my operating day to day system?

I’m beginning to hate OS X as much as I hate Windows.Can I put a plug in for tips, tricks, and tweaks for Linux Mint (mainly) but there is tweaks for Ubuntu also.Now on to read Jessie’s blog. Once again thank you for putting refind in noob’s terms. This is what worked for me. After install of LM on mbp 8,2 I had 3 icons, osx, lm, and a penguin (ubuntu) following instructions above. I tried everything in refind.conf to get rid of the third icon, adding dontscan volumes, dirs, folders, (three separate lines), nothing worked.

Booted into LM opened the file folder then clicked on file system, did a search of efi, there are a lot of returns. Open the efi folder that is capitalized EFI as root deleted the ubuntu folder, restart, now only two icons OSX, LM. Most everything went off without a hitch. Though REFInd doesn’t seem to be doing quite what it’s supposed to.

I followed all the instructions to a tee, aside from the “fs0: load ext4x64.efi” and “fs0: map -r” as it was unclear if I was supposed to have those as two seperate lines or what, anyways, Ubuntu is installed and runs. However, when I go to power the computer on it just boots directly into Ubuntu without the REFInd menu coming up at all. If I hold alt/option on power up I can select Macintosh HD and boot, but otherwise it seems REFInd doesn’t actually do anything. What should I do? Thank you for this guide, it helped me qite a bit with understanding the modifications to the Refind’s.conf file.Installed Kubuntu 16.04 on Macbook Air 4.2 (mid 2011) with OS 10.10 (did not upgrade to 10.11). Everything worked out of the box: wifi, backlight, sound, etc. One difference: I dropped –alldrivers from./refind-install command because of the refind warning (said that it might affect Apple partitions) and that did not have any effect (it worked).

However one quirk occured and i don’t know why: Kubuntu 16.04 logo is now the first thing that comes up on starting, No Apple, and no Refind menu, not even Grab menu is being showed. I am quite OK with that but it would be nice to have Grab at least.Why did this happened?One more thing.

When I was booting first time Kubuntu from the flesh drive there were two icons of the flash drive, one saying EFI version and the other saying Classic. I booted into EFI version and then run install. Maybe this explains why the Kubuntu now runs on the this macbook just like Apple system used to, without menu.

Hey, I’m having an issue that no one else seems to be having.I followed the instructions and everything works great until it comes time to boot to the alternate OS (I’m doing Linux Mint 18.1). When I go to select the second option from the rEFInd boot screen, it seems my keyboard doesn’t work. As best I can tell, it doesn’t initialize until after the OS starts. (Worth noting, I’m on a Mac mini, not a macbook, so the keyboard is a peripheral plugged into a usb port)I’m not a mac guy and have no idea what to do about this.Also of note, I can’t resize the OSX partition because it’s a startup partition but that’s fine because I intend to blow out OSX entirely and replace it with Linux anyway.

Hi, great tutorial, I’m a super newbie at the terminal and I keep getting hung up at the edit config steps.Now it’s time to edit the EFI config file, but you will need to mount that hidden EFI partition first. Thankfully, rEFInd has a little tool you can use to mount the partition:$sudo mountespEdit /Volumes/ESP/EFI/refind/refind.conf. Like us, you may find the refind.conf file is in /Volumes/ESP/EFI/BOOT, instead of a folder called refind. This is probably because we fiddled around with rEFInd and it’s predecessor, rEFIt before. Just because.$vi refind.conf (or nano, if you are that way inclined. Just not emacs!).locate the line that says scanfor and edit it to say:scanfor internal.I can get it to mountesp, but then when I go to $vi refind.config it just gives me a bunch of in a row. Nothing to edit and seemingly no way to execute more commands.

What am I missing?dk. Hi dk, It looks like the file you are editing is empty, or it doesn’t yet exist. Either way, that’s not correct.Assuming that you have installed refind properly, the config file will be somewhere in /Volumes/ESP.Use the find command to search for it:$sudo -s(this gives you an admin ‘root’ prompt.

Linux Installer From Windows

Enter your own mac’s password here)#cd /Volumes/ESPyou should now be in the ESP folder. If this doesn’t exist, you did something wrong installing rEFInd.now, search for the refind.conf file:#find.iname “refind.conf”After a moment or two, it will then show the folder(s) where the refind.conf file exists, for example./EFI/BOOT/refind.confif that’s the case, that means the file is located in /Volumes/ESP/EFI/BOOT. If find returns 0 results, then the file is not there at all, then again, rEFInd is not installed properly.to edit the file, maybe use the nano text editor rather than vi, if you are a complete novice with Linux. Let’s say that your result showed./EFI/BOOT/foo/refind.conf, you’d do#nano /Volumes/ESP/EFI/BOOT/foo/refind.confTo exit and save after you make the relevant changes, hit Ctrl+X and say Y for yes (note it’s control key, not command).Hope this helps.Alistair. About 3 weeks back I installed Linux Mint 18.2 Cinnamon on my Macbook Air 2013 and have been having a great time with it. I completely scratched OS X from the system–got tired of dealing with it after years of frustration and avoidance. Now it runs just like I need it to with a Linux desktop and I am no longer needing to deal with Apple store, OS X, etc.

I am posting this from my Linux Mint desktop running on Macbook Air.I have it running with a large Hi-res Mac 27 inch display using the Thunderbolt connector and Mac external USB keyboard. I use a standard PC mouse which I prefer over the silly mac mouse. The expansion connectors on the Monitor work as well–network and USB connectors work!

I have not tried the other connectors. The only issue I am having is that it will not hot-swap the big Thunderbolt monitor in and out–I can deal with that with a simple shutdown before removing it from the Mac Monitor.

I have never been happier with this system now that I am running Linux Mint on it! Thank you for this article! I have seven questions in the interests of doing this correctly.I have an iMac 27-inch, late 2013, model iMac14,2 with an Intel Core i5. I have a 1 TB hard drive with 850 GB available. It is an EFI system according to the link near the start of your article. I am running macOS High Sierra version 10.13.2.

(a) Should a Linux Mint installation work on my machine?I have csrutil installed on my machine. In the “Installing the EFI boot manager” section, you have a sentence regarding what to do if csrutil is unavailable. However, it is unclear if I should skip that section if csrutil is available. (b) Should I run rewind-install as described even though I have csrutil?(c) I gather that since I have rEFind 0.11.2 that I should skip everything between “YOU PROBABLY NO LONGER NEED THE BELOW INFORMATION” and “Step 2?”(d) Is “Step 2” still done in recovery mode or have a rebooted my iMac prior? I gather I have rebooted and am in normal model however I am unclear.(e) My iMac has an ethernet port built into the machine. Do I need a Ethernet to Thunderbolt adapter or can I just use the native ethernet port for “Step 4: Installing Linux on that Macintosh?”I very much like the idea of accessing my Mac files from Linux.

(f) is there any negative from reverting the Mac OS X partition to standard HFS+?The steps starting with the installation of hfsprogs are unclear whether they are executed from the Linux boot or macOS boot. (g) Which boot are they executed from?Thanks for the help.Eric.

Actually, never mind the questions I wrote above. Linux Mint works great on my iMac. Unfortunately, while I did the partitions fine, it appears I can only boot into Linux Mint now. I think during the Linux Minux install it overwrote the boot partition, so I can no longer boot into macOS, even though I see the 600 GB macOS partition is there. Any thoughts on how I can fix that without going into an Apple Store and having them fix the boot partition? Fortunately I have all my files backed up with both Time Machine on an external drive and on Backblaze, so no fears of loosing data.

Thanks, using the Option key during boot nearly works. Holding down the Option key allows me to select Macintosh HD and boot macOS, but it does not allow me to make a OS selection.

If I do not hold the Option key during boot, it boots into Linux Mint.I did install rEFInd, but it doesn’t seem to operate like I would expect. Given I can boot into either macOS or Linux Mint by holding down Option or not during power-up, am I fine going forward like this or should I do something about it?Thanks. I am using a MBP 5,2 (mid 2009) with Maverisk OSX, and 14.04 currently installed. I booted up to the 18.04 install usb to install 18.04 as a dual boot, with the intention to remove 14.04, format the partition it was on, and remove it with 18.04. When 18.04 booted up from the installation usb, I got a screen filled with multicolored distortion, rather than the desktop.

I think what I may need to do is get into kernel options and activate nomodeset. This I had done earlier with the 14.04 installation usb, and it worked perfectly. But I have forgotten how to open the screen where I can select this. Please kindly see below, the directions which I think I used in the past for this. But I am not getting the purple screen with a keyboard logo as described below, in the MBP and so am unable to get the menu where I can select nomodeset.———————–How to enable kernel options on the livecd (before install)If you boot ubuntu from a livecd (or USB stick), right after the bios splash screen you will get a purple screen with a keyboard logo at the bottom. Press any key at that moment to access a menu. Select your language with the arrow keys, press enter and you will see a menu.

If you press the F6 key, a menu at the bottom will open allowing you to set kernel options with the space bar or enter key. You can close the menu with escape key and resume booting by selecting the option “try ubuntu without installing” (please note that session does allow you to install ubuntu once you found the kernel options cured your problem).