Reading view

There are new articles available, click to refresh the page.

How to migrate macOS virtual machines

Virtual Machines running macOS on Apple silicon Macs are more versatile than the host they run on. When you want to create a new VM, or modify an existing one, there are some powerful options available.

One of the most useful is to duplicate an existing VM: as APFS will do that using clone files, and the virtual disk in a VM is stored as a sparse file, that will use much less disk space than making a completely new VM. If you’re likely to need a supply of VMs running the same version of macOS, why not create a base VM using the IPSW for that version, duplicate it, then set up each clone as you require?

For even more flexibility, you can increase the size of the VM as I have already explained. The only remaining problem is how you can migrate the contents of one VM to another. Although my previous attempts to do this had been unsuccessful, Michael was kind enough to provide the solution, and this article explains how to use Migration Assistant in two VMs running concurrently to copy the contents of one VM to another, on the same host Mac. This should also enable you to migrate between a VM and a Mac.

To perform a successful migration, Migration Assistant needs to connect to a mounted Data volume on local storage, or over a network. It can’t use a VM shared folder on the host as the source (server). If your virtualiser supports root level access to USB storage, enabling it to mount an external disk in the VM, then you should be able to migrate from a Time Machine or other backup on that disk. Migration can be performed during initial setup and customisation of macOS, or by running Migration Assistant later. In this walkthrough, I’ll use the former.

You need

To do this, the virtualiser has two fundamental requirements:

  • it must be able to run two macOS VMs concurrently,
  • you must be able to assign them different MAC addresses.

Apple enforces a limit of two macOS VMs running concurrently on the same Mac, a rule written into the macOS license. Although that might seem stingy, macOS isn’t like Linux and you can’t run Tahoe on a single core with a mere 3-4 GB of memory. However, if you can spare at least 3 P cores and around 12 GB of memory for each, there should be ample to perform a migration. In practice, that means the host Mac should have a total of eight or more P cores, and at least 32 GB of memory.

MAC addresses are supposed to be unique. As the connection between these two VMs is over your local network, your DHCP server must allocate them two different IP addresses, or they won’t be able to migrate. The way to ensure that works is to assign each VM its own and different MAC address.

My own free Viable satisfies both requirements. Here I’ll use that to set up a new VM as the migration client, using an existing VM as the server. For the sake of simplicity, I’ll assume the MAC address of the server is the default, and won’t change that.

Procedure

This uses two macOS VMs running at the same time:

  • the destination for the migrated files is a new VM and is the migration client,
  • the source of those files is an existing VM and is the migration server.

Start by installing the IPSW to create your new VM. Rather than going straight on to its first run, at this stage open the server VM with the default MAC set, log into it, and locate Migration Assistant in /Applications/Utilities ready to run.

Now change the MAC address in Viable’s window to something different. I used d6:a7:58:8e:79:d4 instead of d6:a7:58:8e:78:d4. Then open the new VM, the migration client, and take it through its configuration, opting to migrate to it from another Mac.

When you reach the screen that sets that up, open Migration Assistant on the server VM, and set it to transfer data To another Mac. Then switch back to the client VM, and you should see that server offered as the source for your migration. Select it and perform the PIN authorisation so they can connect.

On the client, select the items you want to migrate to that VM, and proceed.

After a few minutes, the migration should complete, allowing the client to finish setting up with its new user account. You can then shut down the server and reset the MAC address and other settings in Viable.

Summary

Viable’s narrative documents the sequence:

  • Install the IPSW to create the new client VM.
  • Start up the server VM with 3 cores and 12 GB memory, and the default MAC of d6:a7:58:8e:78:d4.
  • Start up the client VM, with the same cores and memory, and a different MAC of d6:a7:58:8e:79:d4
  • When the new (client) VM reaches the Transfer information to this Mac window, open Migration Assistant on the server (old) VM and set it to transfer To another Mac.
  • Select the items to migrate on the new (client) Mac and proceed.

Apple’s instructions on migration are here.

JB Pritzker Has Had It With Democrats Who Won’t Stand Up to Trump

The Illinois governor, a potential presidential candidate, is fighting the presence of National Guard troops and the activities of ICE agents in Chicago.

© Jamie Kelter Davis for The New York Times

Gov. JB Pritzker of Illinois has positioned Chicago as a harbinger of the threat that he believes President Trump poses and himself as a chief antagonist to a president who has already threatened to jail him.

Pope Leo Urges U.S. Bishops to Support Immigrants as Trump Escalates Deportations

The pope conveyed the message as President Trump escalated his deportation campaign, including in Chicago, the pope’s hometown.

© Alessandra Tarantino/Associated Press

Pope Leo XIV blessing a child in St. Peter’s Square at the Vatican on Sunday. Pope Leo celebrated a special Holy Year Mass for migrants, calling for an embrace of those fleeing poverty, violence and suffering.

Voters Favor Deporting Those in U.S. Illegally, Poll Finds, but Say Trump Has Gone Too Far

A Times/Siena survey shows that a majority of voters believe the Trump administration is deporting mostly the right people, even as a majority also say the process has been unfair.

© Paul Ratje for The New York Times

About 80 people being deported to Guatemala sit aboard a U.S. Air Force plane in January awaiting departure from Fort Bliss, Texas.

Artificial humanitarian disaster: On international students in the USA

Until recently, international students have been granted the permission to take online classes while remaining in the US. This all changes on July 6th 2020, when the ICE (Immigration and Customs Enforcement) modifies temporary exemptions for foreign students.

Nonimmigrant F-1 and M-1 students attending schools operating entirely online may not take a full online course load and remain in the United States.
Active students currently in the United States enrolled in such programs must depart the country or take other measures, such as transferring to a school with in-person instruction to remain in lawful status.

What this means is international students that are taking online classes only will not be permitted to remain in the US in the Fall. Sounds reasonable, after all, the conditions of the visa is to take offline classes.

The logic works out.

But we have to remember what led to schools turning to online classes in the first place, a pandemic.

Forcing hundreds of thousands of foreign students to leave the US in the middle of a pandemic, is a humanitarian disaster. They might get sick on their way home, or worse still, not able to find a way home. This is not surprising considering the global aviation market has basically collapsed since no one is travelling. Many countries impose entry and flight restrictions, such as China which only allows for 1 flight to 1 city per week for each airline despite having hundreds of thousands to millions of Chinese citizens in the US.

This causes more chaos in the already chaotic environment, and impacts more than just foreign students. Leasing contracts will be broken, schools will see their income dramatically reduced, and this increased wave of travelling will almost certainly result in more COVID-19 infections. Thousands of colleges are already struggling because of the pandemic and many of them will likely be forced to close down or declare bankruptcy.

The consequence is not just merely 1 million people needing to leave the US if their schools do not re-open in person in the fall, but the fall of the global standing of the US.

Trump administration is openly declaring to the world that they do not consider what others might think or how they might be affected when making decisions. They are declaring that the US is not welcoming foreigners, legal or not. They are declaring a new world order, where the US is absent from the world stage, too occupied to care, and not interested in what price others have to pay when making US policies.

Foreign students are invaluable to any country, even to North Korea, because it is education that shapes minds, and minds shape foreign policy. Welcoming international students shows a country’s openness and willingness to engage in international affairs and projects its soft power. When foreign students return to their countries of nationality, they are likely to deepen mutual understanding and reduces conflict between the countries, as they have seen both sides as humans. Instead, when foreign students are forced out of places where they call ‘home’ in the middle of a pandemic, the tales they bring back to their countries of nationality will be less than favorable.

United States has just created a huge problem for not just international students, but for every government on Earth, because nearly every country has citizens inside the US. If F-1 and J-1 students are the first to go, which visa classes will be next? How to arrange for their transport back to their countries of nationality? If this policy is upheld, we will likely see global resentment towards the US and a tsunami of planes from all the governments to bring students back to their countries of nationality. With this tsunami of planes comes with the tumbling down of trust in the US, trust in her being a responsible actor on the international stage, trust in her being a reasonable decision maker, and trust in her economic and political stability. For the United States of America was founded by immigrants, built by immigrants, welcomed immigrants, but now closing itself in and pushing out immigrants.

This is not the first, nor the last of the artificial humanitarian disasters created by the US. Losing America’s position on the world stage does not seem to matter to Trump. Just like he has pulled out of the Paris Climate Agreement, he continues to create more disasters for his country and the rest of the world, and edges us, humanity as a whole, ever closer to extinction.

When the United States, the most powerful nation on Earth, decides to do things one way, countless other nations will follow. The consequences might appear now, as Siberia reaches 100 F/38 C degrees, or later, as 3 billion will either be forced to live in uninhabitable environments, or simply, die.

America has spoken, “I will not engage in international cooperation, I do not care about the consequences of my actions, I do not care if other countries are hurt, I will not use my position as the country with the most resources to deal with problems humanity faces as a whole, because they are fake news, and most important of all, I DO NOT CARE!”

And we will all be burning because of her.

❌