vdi too small

Discussions related to using VirtualBox on Mac OS X hosts.
pvr4me
Posts: 12
Joined: 22. Apr 2014, 14:19
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: OS X
Contact:

vdi too small

Post by pvr4me »

So, I've spent quite a while getting a VM installed only to find that I should have made it considerably larger. "No problem", I thought, I'll just add a new, larger vdi to the VM and use CarbonCopyCloner to clone the working system to a larger disk. CCC finished the clone OK but I can't convince VirtualBox to boot from it!

Is there some secret incantation I'm missing?

Host is 0SX 10.6.8, VM is 10.6.8.

Craig
The MythTV/MacPorts guy.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: vdi too small

Post by ChipMcK »

pvr4me
Posts: 12
Joined: 22. Apr 2014, 14:19
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: OS X
Contact:

Re: vdi too small

Post by pvr4me »

Hmm, in the bug description, it says that efi gets fed: “-keepsyms=1 -v -serial=01”. Is it the serial parameter that forces it to boot from the first partition?

Craig
The MythTV/MacPorts guy.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vdi too small

Post by Perryg »

Maybe you don't need to go to the problem of CCC.
See viewtopic.php?f=24&t=50661
pvr4me
Posts: 12
Joined: 22. Apr 2014, 14:19
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: OS X
Contact:

Re: vdi too small

Post by pvr4me »

Perryg wrote:Maybe you don't need to go to the problem of CCC.
See viewtopic.php?f=24&t=50661
I saw that but it seemed to be Windows/Linux related? AFAIK, gparted does not run on OS X.
The MythTV/MacPorts guy.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: vdi too small

Post by ChipMcK »

pvr4me wrote:Hmm, in the bug description, it says that efi gets fed: “-keepsyms=1 -v -serial=01”. Is it the serial parameter that forces it to boot from the first partition?

Craig
No, it is not.
OS X boots from first partition by default. You need to have io OS X present you with the available boot partitions, normally on real hardware by pressing Alt during booting.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: vdi too small

Post by ChipMcK »

On host in Terminal session

Code: Select all

man nvram
Better yet: read http://support.apple.com/kb/ht1533

I'll be! You cant use boot-args to phony-up Alt/Option key press.
Last edited by ChipMcK on 3. May 2014, 03:50, edited 2 times in total.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: vdi too small

Post by ChipMcK »

While you have the guest OSX running, System Preferences ---> StartUp Disk and select the other partition/drive
pvr4me
Posts: 12
Joined: 22. Apr 2014, 14:19
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: OS X
Contact:

Re: vdi too small

Post by pvr4me »

ChipMcK wrote:While you have the guest OSX running, System Preferences ---> StartUp Disk and select the other partition/drive
That was the first thing I tried...
The MythTV/MacPorts guy.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: vdi too small

Post by ChipMcK »

pvr4me wrote:That was the first thing I tried...
Works on my dual-boot OS X virtual machines. Both partitions/drives need to be bootable.

BTW, how can you tell which clone is active/booted?
pvr4me
Posts: 12
Joined: 22. Apr 2014, 14:19
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: OS X
Contact:

Re: vdi too small

Post by pvr4me »

ChipMcK wrote:
pvr4me wrote:That was the first thing I tried...
Works on my dual-boot OS X virtual machines. Both partitions/drives need to be bootable.

BTW, how can you tell which clone is active/booted?
In the Finder, the boot volume is not ejectable.
The MythTV/MacPorts guy.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: vdi too small

Post by socratis »

pvr4me wrote:CCC finished the clone OK but I can't convince VirtualBox to boot from it!
What about removing the small HD (VDI) and adding the large one from the VBox recipe? Like you would do in real life?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: vdi too small

Post by ChipMcK »

pvr4me wrote:In the Finder, the boot volume is not ejectable.
And the volumes have different names?
pvr4me
Posts: 12
Joined: 22. Apr 2014, 14:19
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: OS X
Contact:

Re: vdi too small

Post by pvr4me »

ChipMcK wrote:
pvr4me wrote:In the Finder, the boot volume is not ejectable.
And the volumes have different names?
Yes.
The MythTV/MacPorts guy.
pvr4me
Posts: 12
Joined: 22. Apr 2014, 14:19
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: OS X
Contact:

Re: vdi too small

Post by pvr4me »

socratis wrote:
pvr4me wrote:CCC finished the clone OK but I can't convince VirtualBox to boot from it!
What about removing the small HD (VDI) and adding the large one from the VBox recipe? Like you would do in real life?
Crap, I should have tried that! Eventually, I just blew away the VM and installed a new one from scratch.

Craig
The MythTV/MacPorts guy.
Post Reply