|
| 1 | +--- |
| 2 | +title: "A Breath of Fresh Minty Air" |
| 3 | +excerpt: I decided to install Linux Mint on my 2011 MacBook Air. The results are impressive! |
| 4 | +image: &image "/assets/images/fernanda-arias-s3C-iXNQIsQ-unsplash.jpg" |
| 5 | +categories: General |
| 6 | +tags: Mac Linux |
| 7 | +header: |
| 8 | + teaser: *image |
| 9 | + overlay_image: *image |
| 10 | + overlay_filter: 0.5 |
| 11 | + caption: "Photo by [Fernanda Arias](https://unsplash.com/@ariasf85?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash) on [Unsplash](https://unsplash.com/photos/a-close-up-of-a-plant-with-green-leaves-s3C-iXNQIsQ?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash)" |
| 12 | +classes: wide |
| 13 | +etcher: |
| 14 | + - url: /assets/images/freshair/flash-select-iso.jpg |
| 15 | + image_path: /assets/images/freshair/flash-select-iso.jpg |
| 16 | + - url: /assets/images/freshair/flash-select-usb.jpg |
| 17 | + image_path: /assets/images/freshair/flash-select-usb.jpg |
| 18 | + - url: /assets/images/freshair/flash-do.jpg |
| 19 | + image_path: /assets/images/freshair/flash-do.jpg |
| 20 | + - url: /assets/images/freshair/flash-password.jpg |
| 21 | + image_path: /assets/images/freshair/flash-password.jpg |
| 22 | + - url: /assets/images/freshair/flash-finish.jpg |
| 23 | + image_path: /assets/images/freshair/flash-finish.jpg |
| 24 | + - url: /assets/images/freshair/flash-validate.jpg |
| 25 | + image_path: /assets/images/freshair/flash-validate.jpg |
| 26 | +bootusb: |
| 27 | + - url: /assets/images/freshair/boot-usb.jpg |
| 28 | + image_path: /assets/images/freshair/boot-usb.jpg |
| 29 | + - url: /assets/images/freshair/boot-grub.jpg |
| 30 | + image_path: /assets/images/freshair/boot-grub.jpg |
| 31 | + - url: /assets/images/freshair/install-mint.jpg |
| 32 | + image_path: /assets/images/freshair/install-mint.jpg |
| 33 | +onsprompts: |
| 34 | + - url: /assets/images/freshair/install-options1.jpg |
| 35 | + image_path: /assets/images/freshair/install-options1.jpg |
| 36 | + - url: /assets/images/freshair/install-options2.jpg |
| 37 | + image_path: /assets/images/freshair/install-options2.jpg |
| 38 | + - url: /assets/images/freshair/install-options3.jpg |
| 39 | + image_path: /assets/images/freshair/install-options3.jpg |
| 40 | + - url: /assets/images/freshair/install-options4.jpg |
| 41 | + image_path: /assets/images/freshair/install-options4.jpg |
| 42 | +wipehd: |
| 43 | + - url: /assets/images/freshair/install-type1.jpg |
| 44 | + image_path: /assets/images/freshair/install-type1.jpg |
| 45 | + - url: /assets/images/freshair/install-type2.jpg |
| 46 | + image_path: /assets/images/freshair/install-type2.jpg |
| 47 | +regionuser: |
| 48 | + - url: /assets/images/freshair/install-region.jpg |
| 49 | + image_path: /assets/images/freshair/install-region.jpg |
| 50 | + - url: /assets/images/freshair/install-user.jpg |
| 51 | + image_path: /assets/images/freshair/install-user.jpg |
| 52 | +installprogress: |
| 53 | + - url: /assets/images/freshair/progress1.jpg |
| 54 | + image_path: /assets/images/freshair/progress1.jpg |
| 55 | + - url: /assets/images/freshair/progress2.jpg |
| 56 | + image_path: /assets/images/freshair/progress2.jpg |
| 57 | +rebooted: |
| 58 | + - url: /assets/images/freshair/reboot1.jpg |
| 59 | + image_path: /assets/images/freshair/reboot1.jpg |
| 60 | + - url: /assets/images/freshair/reboot2.jpg |
| 61 | + image_path: /assets/images/freshair/reboot2.jpg |
| 62 | +drivermgr: |
| 63 | + - url: /assets/images/freshair/drivermgr1.jpg |
| 64 | + image_path: /assets/images/freshair/drivermgr1.jpg |
| 65 | + - url: /assets/images/freshair/drivermgr2.jpg |
| 66 | + image_path: /assets/images/freshair/drivermgr2.jpg |
| 67 | + - url: /assets/images/freshair/drivermgr3.jpg |
| 68 | + image_path: /assets/images/freshair/drivermgr3.jpg |
| 69 | + - url: /assets/images/freshair/drivermgr4.jpg |
| 70 | + image_path: /assets/images/freshair/drivermgr4.jpg |
| 71 | + - url: /assets/images/freshair/drivermgr5.jpg |
| 72 | + image_path: /assets/images/freshair/drivermgr5.jpg |
| 73 | + - url: /assets/images/freshair/drivermgr6.jpg |
| 74 | + image_path: /assets/images/freshair/drivermgr6.jpg |
| 75 | +updatemgr: |
| 76 | + - url: /assets/images/freshair/updatemgr1.jpg |
| 77 | + image_path: /assets/images/freshair/updatemgr1.jpg |
| 78 | + - url: /assets/images/freshair/updatemgr2.jpg |
| 79 | + image_path: /assets/images/freshair/updatemgr2.jpg |
| 80 | + - url: /assets/images/freshair/updatemgr3.jpg |
| 81 | + image_path: /assets/images/freshair/updatemgr3.jpg |
| 82 | + - url: /assets/images/freshair/updatemgr4.jpg |
| 83 | + image_path: /assets/images/freshair/updatemgr4.jpg |
| 84 | + - url: /assets/images/freshair/updatemgr5.jpg |
| 85 | + image_path: /assets/images/freshair/updatemgr5.jpg |
| 86 | + - url: /assets/images/freshair/updatemgr6.jpg |
| 87 | + image_path: /assets/images/freshair/updatemgr6.jpg |
| 88 | +mintonair: |
| 89 | + - url: /assets/images/freshair/mint-on-air1.jpg |
| 90 | + image_path: /assets/images/freshair/mint-on-air1.jpg |
| 91 | + - url: /assets/images/freshair/mint-on-air2.jpg |
| 92 | + image_path: /assets/images/freshair/mint-on-air2.jpg |
| 93 | +--- |
| 94 | +My son is off to University, so he gained a new laptop. With his old laptop running Windows 11 already, I now have a MacBook Air running Windows 10 I do not need. |
| 95 | + |
| 96 | +This allowed me to repurpose this much older (Mid 2011) 13" MacBook Air to run Linux. It had been [running Windows 10]({% post_url 2023-02-22-WinBook-Air %}), but with Windows 10 now [end of life](https://support.microsoft.com/en-gb/windows/windows-10-support-ends-on-october-14-2025-2ca8b313-1946-43d3-b55c-2b95b107f281) and a newer laptop running Windows 11, time to try Linux on my MacBook Air. |
| 97 | + |
| 98 | +{% include figure image_path="/assets/images/freshair/mint-on-air2.jpg" popup=true alt="Mint Air" caption="Linux Mint on 2011 MacBook Air." %} |
| 99 | + |
| 100 | +Well, [Linux Mint 22.2 'Zara'](https://linuxmint.com) really has given it a fresh breath of Minty Air! With a Core i7, 4GB RAM and 250GB SSD it flies. So much for a 14 year old laptop being obsolete technology Apple. Linux Mint has proven there's still life in this oldie. |
| 101 | + |
| 102 | +In this post I'll show you my step-by-step approach I used on my MacBook Air. I hope it helps you do the same. |
| 103 | + |
| 104 | +**TL;DR - There's a YouTube video of the installation compressed into 2 minutes [right here](https://youtu.be/AKCTWzn7haM).** |
| 105 | + |
| 106 | +# Download Linux Mint |
| 107 | + |
| 108 | +Go to [https://linuxmint.com](https://linuxmint.com) and follow the links to download. I chose the modern, innovative, full-featured desktop Cinnamon edition. Others such as MATE and Xfce are also available which are more traditional and/or faster. My MacBook Air 2011 with 4GB RAM runs Cinnamon like a dream. |
| 109 | + |
| 110 | +There are also instructions on verifying the download using a SHA256 checksum. |
| 111 | + |
| 112 | +# Make a Bootable USB |
| 113 | + |
| 114 | +Linux Mint ISO only uses 3GB, so a 4GB USB stick should be plenty big enough. |
| 115 | + |
| 116 | +If you can run [Etcher](https://etcher.balena.io/) this is the easiest way to create a bootable USB. |
| 117 | + |
| 118 | +{% include gallery id="etcher" caption="Choose the ISO, then USB then flash!" %} |
| 119 | + |
| 120 | +Alternatively on a Mac (maybe the Mac you want to install Linux Mint on), the following can copy the ISO image to your USB. |
| 121 | + |
| 122 | +First use `diskutil list` to list out the disks in your machine. You can first run this without the USB inserted and again after inserting. That way you can find the new disk appearing in the list to confirm the `/dev/diskX` number |
| 123 | + |
| 124 | +You will get something like this: |
| 125 | + |
| 126 | +``` |
| 127 | +diskutil list |
| 128 | +/dev/disk0 (internal, physical): |
| 129 | + #: TYPE NAME SIZE IDENTIFIER |
| 130 | + 0: GUID_partition_scheme *1.0 TB disk0 |
| 131 | + 1: Apple_APFS_ISC Container disk1 524.3 MB disk0s1 |
| 132 | + 2: Apple_APFS Container disk3 994.7 GB disk0s2 |
| 133 | + 3: Apple_APFS_Recovery Container disk2 5.4 GB disk0s3 |
| 134 | +
|
| 135 | +... |
| 136 | +
|
| 137 | +/dev/disk8 (external, physical): |
| 138 | + #: TYPE NAME SIZE IDENTIFIER |
| 139 | + 0: FDisk_partition_scheme *7.8 GB disk8 |
| 140 | + 1: Windows_NTFS Untitled 7.8 GB disk8s1 |
| 141 | +``` |
| 142 | + |
| 143 | +You're looking for the USB disk. Here it is disk 8. |
| 144 | + |
| 145 | +We need to unmount all the USB's `diskXsY` volumes such as `/dev/disk8s1` in my example (**not all the disks, just the USB diskX**). You can force an unmount using the following command: |
| 146 | + |
| 147 | +``` |
| 148 | +sudo umount /dev/diskXsY |
| 149 | +``` |
| 150 | + |
| 151 | +replacing `diskXsY` with your values. Your may need to force (`-f`) it if necessary. |
| 152 | + |
| 153 | +Now we can write the ISO image to the USB with the following command, replacing `diskX` with your values as before. You could try using `/dev/rdiskX` instead of `/dev/diskX` as it may be faster. Mine gave no significant difference. You can use either `/dev/diskX` or `/dev/rdiskX` as you wish. |
| 154 | + |
| 155 | +Remember, **its `/dev/diskXsY`**, not `/dev/diskX`... |
| 156 | + |
| 157 | +``` |
| 158 | +sudo dd if=Downloads/linuxmint-22.2-cinnamon-64bit.iso of=/dev/diskX status=progress bs=1m |
| 159 | +``` |
| 160 | + |
| 161 | +The `status=progress` option provides updates as it progresses, otherwise it only outputs at the end, so may look like it is not working when it is. Eventually, it will say something like: |
| 162 | + |
| 163 | +``` |
| 164 | + 3053453312 bytes (3053 MB, 2912 MiB) transferred 384.337s, 7945 kB/s |
| 165 | +2913+1 records in |
| 166 | +2913+1 records out |
| 167 | +3055239168 bytes transferred in 384.455023 secs (7946935 bytes/sec) |
| 168 | +``` |
| 169 | + |
| 170 | +Depending on your drivers, you may get a message saying the USB is not recognised. |
| 171 | + |
| 172 | +{% include figure image_path="/assets/images/freshair/usb-error.jpg" popup=true class="third" caption="Linux ext4 filesystem" %} |
| 173 | + |
| 174 | +This is fine, without extra drivers, MacOS and Windows do not recognise the Linux ext4 disk format. Just choose to eject the USB so you can unplug it. |
| 175 | + |
| 176 | +# Boot from USB. |
| 177 | + |
| 178 | +On MacBooks, insert the USB and hold down `Option` (or `Alt`) whilst powering on. At the boot option screen choose the USB stick. |
| 179 | + |
| 180 | +From GNU GRUB menu, start Cinnamon. |
| 181 | + |
| 182 | +{% include gallery id="bootusb" caption="Boot and start install." %} |
| 183 | + |
| 184 | +Once started (may take a while as its loading live from the USB), double click the Install Linux Mint CD icon at the top left of the desktop. |
| 185 | + |
| 186 | +# Install from USB |
| 187 | + |
| 188 | +Follow the on-screen prompts choosing a Macintosh keyboard, Wireless and Multimedia Codecs. |
| 189 | + |
| 190 | +{% include gallery id="onsprompts" layout="half" caption="Choose your options" %} |
| 191 | + |
| 192 | +At the installation type screen, I chose **Erase disk and install Linux Mint** as I had no intention of returning to MacOS on this machine. This wipes all partitions and sets it up fresh. |
| 193 | + |
| 194 | +{% include gallery id="wipehd" caption="Wipe Hard Disk" %} |
| 195 | + |
| 196 | +Choose your region and provide a username and password. |
| 197 | + |
| 198 | +{% include gallery id="regionuser" caption="Region, user and password" %} |
| 199 | + |
| 200 | +Let the installation progress. |
| 201 | + |
| 202 | +{% include gallery id="installprogress" caption="Installation progresses." %} |
| 203 | + |
| 204 | +You will be shown an installation complete message. Time to reboot! |
| 205 | + |
| 206 | +During reboot Linux Mint will prompt to remove the USB and press Enter, and it will boot to disk, not USB. |
| 207 | + |
| 208 | +{% include gallery id="rebooted" caption="Time to reboot!" %} |
| 209 | + |
| 210 | +# Update Mint on Air |
| 211 | + |
| 212 | +A few admin things can be done at this point. Click `Let's Go!` and choose driver manager. |
| 213 | + |
| 214 | +{% include gallery id="drivermgr" caption="Update Drivers." %} |
| 215 | + |
| 216 | +Mine found some updated Wi-Fi drivers which I installed. After reboot, I had to re-enter Wifi details to reconnect. |
| 217 | + |
| 218 | +Next up I chose Update Manager. Update Manager itself needed an update, then I chose to update everything it found. |
| 219 | + |
| 220 | +{% include gallery id="updatemgr" caption="Update Manager." %} |
| 221 | + |
| 222 | +# Welcome to Linux Mint on 2011 MacBook Air |
| 223 | + |
| 224 | +After all the driver and software updates, Linux Mint on my 2011 MacBook Air really runs. |
| 225 | + |
| 226 | +{% include gallery id="mintonair" caption="Welcome to Mint on Air!" %} |
| 227 | + |
| 228 | +There's lots of software pre-installed and lots more to install - all of it open source and free. |
| 229 | + |
| 230 | +It's a great way to give your older MacBook a breath of fresh (Minty) Air! |
0 commit comments