1

I have a MF839 MacBook with Mojave and I want to install Linux as my dual-boot system on the external USB drive.

I have one USB with 8GB and one with 64GB. On 8GB I will burn my .iso file with Debian-based Linux and then I am going to select my 64GB drive as place to install Linux.

Will it work?

0

It is not a question of whether this will work, but rather that this is not a wise idea. Basically, ordinary flash drives are not designed to withstand the amount of reads and writes that an operating system will require. Certain versions of linux provide a solution referred to a persistence. This is where the operation system creates a temporary drive in volatile RAM which can used be for read and writing. When you shutdown the operating system, the contents of this RAM drive is written to the flash drive. When you restart the operating system, the saved data is read from the flash drive into a new RAM drive.

To be clear, most of the operating system is considered read only and resides on the flash drive. Only the files that may may change often reside on the RAM drive.

There are many utilities that can create a flash drive version of linux with persistence. However, the few I have tried would not boot on a Mac.

-1

There are plenty of Linux distributions that are meant to run as "Live Operating Systems" on an external flash or optical disk (like BlackArch, Kali, and TailsOS for the infosec community). Performance is degraded, sure, when running an OS like that...however, you could simply make a new partition on your internal HDD from within Disk Utility, and install a Linux distro on that. I installed Lubuntu that way on my MacBook, and it works just swell. Easy steps:

  1. Create a new partition your internal drive in Disk Utility (make it 32gb or whatever you deem acceptable, per your own requirements and/or system limitations, although an absolutely bare minimum of 8gb is needed for most Linux distros)

  2. Download balenaEtcher (https://www.balena.io/etcher/) to flash the installation media to an external USB drive

  3. Download whichever Linux distribution you'd like install as dual boot

  4. Use Etcher to burn your installer to the USB

  5. Reboot your Macbook while holding the 'option' button until you're presented with boot options, then select the USB drive as your boot disk (probably named EFI Boot, maybe something else, but something that's not the Macintosh HD option)

  6. Follow the Linux installation instructions, making TOTALLY certain you target the newly-created partition as the destination disk (so, whichever partition is roughly the size of the one you had just created in Disk Utility in step one)

Note: The installation media you created can, in many cases, be used for Live OS operation. That all depends on which Linux distro you select -- Ubuntu does, and so does it's descendants, Lubuntu and Xubuntu, all of which are descendants of Debian. I'm sure there are plenty others.

  • I don't understand why you're bringing up live OSs. OSs installed on external drives/USB don't have to be live, you can install a permanent, full distro if desired. This can be done by following your same directions, except you wont have to create a new partition. Of course you will be limited to the storage speed of the USB/external drive – slightly_toasted Dec 17 '19 at 20:53
  • The first comment was in regards to persistence mode, not mine. My intent was to suggest the question-asker try a better-performing solution to actually achieve a true dual boot, a term used in the question, or at least push a few specific distribution options per the first response (because I, myself, have never had an issue booting Linux live on my Mac). But, sure, you're right -- he could simply install to the flash drive, and would've found out he could if only he'd tried. But, unless there's a reason the OS should be portable, why not carve out a couple dozen gigs and install natively? – SuperKegel Dec 23 '19 at 9:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .