Is it possible to move the disk.vmdk file and relink it to Local by Flywheel

The reason I’d like to do this is back when i originally installed Local by Flyweheel it got installed to my C: and I could use having more space on this drive to I’d ideally like to move and repoint or however I can achive this, to another drive.

Cheers
J

P.S currently the disk.vmdk file sits in my C:\Users\Me.docker\machine\machines\local-by-flywheel folder which Im guessing is where the lbf original install put it because its a default vm location although I no longer recall to be honest

Hi @Isaklas,

Yup!

Here’s how to do it (credit to https://stackoverflow.com/a/33687993):

  1. Export all of your sites in Local that you don’t want to risk losing. You can export sites by right-clicking on them in the sidebar then selecting the “Export” option.
  2. Stop all sites in Local
  3. Quit Local
  4. Open VirtualBox and make sure that local-by-flywheel isn’t running. If it is, right-click on it, go to Close » ACPI Shutdown
  5. Right-click on local-by-flywheel and click on Settings then Storage.
  6. Copy disk.vmdk to the desired location
  7. Detach (-) the disk.vmdk in VirtualBox Manager
  8. Attach (+) the new disk.vmdk from the new location. make sure the SATA port number is the same
  9. Remove the disk.vmdk in Disk C to save space if migration is finished.

@clay Awesome :fist_right:
That was exactly what I needed thanks.
I initially got the UUID error as I’d copied the file via explorer but the fix for that is also in the article you referenced, problem solved.

Cheers
Justin

1 Like