Page 1 of 1

Guest won't boot after enlarging VDI

Posted: 6. Jan 2011, 18:21
by cableguy414
I put this under the Linux guests section because my VM is Ubuntu 10.10. If there's a better place to post this, let me know.

I've followed the typical instructions for enlarging a VDI. I created a new VDI with the larger size and I copied the original partition/disk to the new disk using GParted's copy/paste. The copy/paste completed without error and I set the bootable flag.

The problem I'm having is that the guest won't boot on the new VDI. It just sits there with a blank screen and a cursor (not blinking) in the top left corner.

Any thoughts?

Thanks.

Re: Guest won't boot after enlarging VDI

Posted: 6. Jan 2011, 19:04
by Perryg
Maybe this will help you CloneVDI Tool

Re: Guest won't boot after enlarging VDI

Posted: 6. Jan 2011, 21:09
by cableguy414
That worked. I have no idea what I was doing that was causing it not to boot, but using the clone tool worked so I'm not going to complain.

Thanks.

Re: Guest won't boot after enlarging VDI

Posted: 6. Jan 2011, 23:21
by Sasquatch
As for the cause: the UUID of the partitions changed and that's what's used to mount them. If you had mounted the new drive after you copied all the data and updated /etc/fstab from it, there would've been no problem.

Re: Guest won't boot after enlarging VDI

Posted: 6. Jan 2011, 23:29
by cableguy414
That makes sense. I guess I figured either Virtualbox or Grub would have tossed up an error.

At any rate, I'm up now. But I'll keep this in mind.

Thank you.