xpra icon
Bug tracker and wiki

Opened 8 months ago

Closed 6 months ago

Last modified 3 months ago

#2422 closed defect (duplicate)

new build setup for macos

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 4.0
Component: platforms Version: 3.0.x
Keywords: Cc:

Description

Needs a new VM tracking trunk.

Maybe target 10.14?

Blocker for #2384

Change History (2)

comment:1 Changed 6 months ago by Antoine Martin

Resolution: duplicate
Status: newclosed

See #2505

comment:2 Changed 3 months ago by Antoine Martin

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:

Note: See TracTickets for help on using tickets.