Page 1 of 2

vdi too small

Posted: 2. May 2014, 19:25
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

Re: vdi too small

Posted: 3. May 2014, 01:29
by ChipMcK

Re: vdi too small

Posted: 3. May 2014, 02:37
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

Re: vdi too small

Posted: 3. May 2014, 03:01
by Perryg
Maybe you don't need to go to the problem of CCC.
See viewtopic.php?f=24&t=50661

Re: vdi too small

Posted: 3. May 2014, 03:08
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.

Re: vdi too small

Posted: 3. May 2014, 03:11
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.

Re: vdi too small

Posted: 3. May 2014, 03:14
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.

Re: vdi too small

Posted: 3. May 2014, 03:29
by ChipMcK
While you have the guest OSX running, System Preferences ---> StartUp Disk and select the other partition/drive

Re: vdi too small

Posted: 3. May 2014, 04:22
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...

Re: vdi too small

Posted: 3. May 2014, 04:46
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?

Re: vdi too small

Posted: 3. May 2014, 05:39
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.

Re: vdi too small

Posted: 3. May 2014, 10:11
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?

Re: vdi too small

Posted: 3. May 2014, 11:33
by ChipMcK
pvr4me wrote:In the Finder, the boot volume is not ejectable.
And the volumes have different names?

Re: vdi too small

Posted: 3. May 2014, 14:33
by pvr4me
ChipMcK wrote:
pvr4me wrote:In the Finder, the boot volume is not ejectable.
And the volumes have different names?
Yes.

Re: vdi too small

Posted: 3. May 2014, 14:37
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