Skip to content

How to update finch without uninstalling on macOS? #250

Answered by AnqiPang
n-guitar asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @n-guitar, you could follow the flow below to restore your image after upgrade to v0.4.0 from v0.2.0. You could back up your data before your actually execute the commands below in case encounter unexpected errors.

  1. Uninstall v0.2.0 and install v0.4.0.
  2. Run the commands below to mount the correct data disk.
finch vm init
finch vm stop
export NEW_FINCH_DISK=$(readlink /Applications/Finch/lima/data/_disks/finch/datadisk)
mv ~/.finch/.datadisk $NEW_FINCH_DISK
finch vm start
  1. Shell into the VM.
LIMA_HOME=/Applications/Finch/lima/data /Applications/Finch/lima/bin/limactl shell finch
  1. Move containerd user data to correct directories.
sudo rm -r /mnt/lima-finch/containerd/
sudo mkdir -p /…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ningziwen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #249 on March 01, 2023 01:56.