Resize disk, boot from DVD and other problems

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Post Reply
d-b
Posts: 3
Joined: 12. Jan 2020, 19:12

Resize disk, boot from DVD and other problems

Post by d-b »

My goal is to increase the size of the disk I use with an OS X guest (on an OS X host).

(For some reason I couldn't post paths in a thread start so I had to put the message in the first comment. Please read that instead.)
Last edited by d-b on 14. Jan 2020, 17:14, edited 1 time in total.
d-b
Posts: 3
Joined: 12. Jan 2020, 19:12

Re: Resize disk, boot from DVD and other problems

Post by d-b »

My goal is to increase the size of the disk I use with an OS X guest (on an OS X host).

To perform the actual resizing I followed this guide

(URL 1, see first comment)

Everything seems to have worked fine with that part.

Now I "only" need to change the size of the partition. I found this thread about that (URL 2) but it suggests that I should boot from DVD.

To start with I needed to create a bootable DVD. There is thread/script for that purpose here (URL 3)

Here begun my troubles. Running this script:

Code: Select all

 % sudo ./InstallerApp2ISO.sh --installer /Volumes/macOS\ Base\ System/Install\ macOS\ Mojave.app

================================================================================
Apple OSX Installer Application to ISO creation tool
================================================================================
Version: 2019-11-27
Copyright (C) 2017-2019, socratis @ VirtualBox forums,
         with help from granada29 @ VirtualBox forums.
All rights reserved.

*** ERROR: The provided application is NOT a valid OSX InstallerApp:
           -> /Volumes/ macOS Base System/ Install macOS Mojave.app
           -> /Volumes/ macOS Base System/ Install macOS Mojave.app/ Contents/ SharedSupport/InstallESD.dmg file not found!
1. Exactly what OS X InstallerApp should I point to?
2. Is it still necessary to use this boot from DVD-workaround to resize a partition? I tried with Disk Utility from within the guest OS and it allowed me to change the partition size but the change didn't "stick".

Anything else?
d-b
Posts: 3
Joined: 12. Jan 2020, 19:12

Re: Resize disk, boot from DVD and other problems

Post by d-b »

URL 1 [offsite URL deleted].
URL 2 viewtopic.php?f=22&t=64864
URL 3 viewtopic.php?f=22&t=81443
Last edited by mpack on 15. Jan 2020, 12:03, edited 2 times in total.
Reason: Remove redundant link to external website.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Resize disk, boot from DVD and other problems

Post by mpack »

Please gather a few more brownie points in this site before you start providing offsite links to commercial websites.

The only VirtualBox authorities you ever need to quote are the user manual and perhaps some tutorials on these forums.

Also, please stick to one subject per topic.
granada29
Volunteer
Posts: 703
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: Resize disk, boot from DVD and other problems

Post by granada29 »

d-b wrote: 1. Exactly what OS X InstallerApp should I point to?
The OS X Installer application to use is the application that you download from the Apple App Store. I'm not sure what it is that you are trying to use or why it is a mounted filesystem. Just use the installer application without mounting any of its internal disk images.

You could maybe take a look at https://www.whatroute.net/installerapp2iso.html and use the GUI wrapper for the script you are trying to run.
Post Reply