Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new build setup for macos #2422

Closed
totaam opened this issue Sep 21, 2019 · 4 comments
Closed

new build setup for macos #2422

totaam opened this issue Sep 21, 2019 · 4 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Sep 21, 2019

Issue migrated from trac ticket # 2422

component: platforms | priority: critical | resolution: duplicate

2019-09-21 13:26:59: antoine created the issue


Needs a new VM tracking trunk.

Maybe target 10.14?

Blocker for #2384

@totaam
Copy link
Collaborator Author

totaam commented Dec 7, 2019

2019-12-07 15:45:21: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Dec 7, 2019

2019-12-07 15:45:21: antoine set resolution to duplicate

@totaam
Copy link
Collaborator Author

totaam commented Dec 7, 2019

2019-12-07 15:45:21: antoine commented


See #2505

@totaam totaam closed this as completed Dec 7, 2019
@totaam
Copy link
Collaborator Author

totaam commented Mar 13, 2020

2020-03-13 07:40:10: antoine commented


Note to self, had to restore the older 10.11.x build VM from a snapshot as it broke with the virtualbox 6.1 update.
Another 10.11.x VM, originally based on the same install as the broken one, does work but its disk image was too small to install xcode.

Here's how to increase the VDI size and get macos to grow the partition (the hard part):

  • resize VDI to 64GB:
    VBoxManage modifyhd OSX\ Dev.vdi --resize 65536
  • fix GPT with gparted:
sudo qemu-nbd -c /dev/nbd0 OSX\ Dev.vdi
sudo gparted /dev/nbd0
#(click OK to fix)
sudo qemu-nbd -d /dev/nbd0

Do not try to resize with gparted, it won't work.

  • Attach the disk to another VM (make it hotplug, whatever to try to not boot on it)
  • resize the partition with diskutil resizeVolume /dev/disk??? 64G since the GUI won't do it

Helpful links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant