Guest won't boot after enlarging VDI

Discussions about using Linux guests in VirtualBox.
Post Reply
cableguy414
Posts: 10
Joined: 6. Jan 2011, 18:15
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Kali Linux, Ubuntu

Guest won't boot after enlarging VDI

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest won't boot after enlarging VDI

Post by Perryg »

Maybe this will help you CloneVDI Tool
cableguy414
Posts: 10
Joined: 6. Jan 2011, 18:15
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Kali Linux, Ubuntu

Re: Guest won't boot after enlarging VDI

Post 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.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Guest won't boot after enlarging VDI

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
cableguy414
Posts: 10
Joined: 6. Jan 2011, 18:15
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Kali Linux, Ubuntu

Re: Guest won't boot after enlarging VDI

Post 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.
Post Reply