Page 1 of 1

Server 2008 guest doesn't start after vdi resize

Posted: 30. Dec 2016, 20:11
by BobElderGeek
I've been using VirtualBox for about a year and I love it! Your forum and other resources have permitted me to figure out any issues I've had with it, until now.

Running vbox Server 2008 guest headless on Ubuntu server. I used modifyhd to change the size of my disk as I was nearly out of space. The vm would not boot after this. Oddly I receive no errors, the guest attempts to start and gets a power off request before the GUI starts according to the log:

Code: Select all

00:01:27.342189 VMMDev: Guest Log: VBoxGuest: Windows version 6.0, build 6002
00:01:27.355934 VMMDev: Guest Additions information report: Version 5.1.8 r111374 '5.1.8'
00:01:27.356129 VMMDev: Guest Additions information report: Interface = 0x00010004 osType = 0x00035100 (Windows Vista, 64-bit)
00:01:27.356279 VMMDev: Guest Additions capability report: (0x0 -> 0x0) seamless: no, hostWindowMapping: no, graphics: no
00:01:27.356523 VMMDev: Guest reported fixed hypervisor window at 00002800000 LB 0x1000000 (rc=VINF_SUCCESS)
00:01:27.356580 VMMDev: vmmDevReqHandler_HeartbeatConfigure: No change (fHeartbeatActive=false).
00:01:27.356665 VMMDev: Heartbeat flatline timer set to trigger after 4 000 000 000 ns
00:01:41.843744 Display::handleDisplayResize: uScreenId=0 pvVRAM=00007f2dcc000000 w=800 h=600 bpp=32 cbLine=0xC80 flags=0x1
00:01:41.966264 VMMDev: SetVideoModeHint: Got a video mode hint (1500x1100x32)@(0x0),(1;0) at 0
00:02:21.692607 VMMDev: Guest requests the VM to be turned off
00:02:21.692766 Changing the VM state from 'RUNNING' to 'POWERING_OFF'
Full log attached.
What did I do wrong? Can I fix it? This is a virtualized AD Domain Controller and Global Catalog server, if possible I'd like to get it back.

Re: Server 2008 guest doesn't start after vdi resize

Posted: 30. Dec 2016, 20:24
by Perryg
We would need to see the information you used during the resize to be able to figure out what happened especially if you did not see any errors during the resize.
From what I see so in the log file far the guest never gets to a boot sequence. Do you have a backup? Oh and you are using the Ubuntu fork which we do not support here. You should ask them what might be wrong in their version.

Re: Server 2008 guest doesn't start after vdi resize

Posted: 2. Jan 2017, 15:38
by BobElderGeek
I am running Server 2008 as the guest on a Ubuntu 16.04 server. Are you saying I should use the Windows fork?

Re: Server 2008 guest doesn't start after vdi resize

Posted: 2. Jan 2017, 15:59
by Perryg
I'm saying that the version of VirtualBox you are using is from Ubuntu and not from virtualbox.org. This makes a difference since they modify the original source code to create their own. This usually is not a problem until issues arise. Since we do not know exactly what they have changed you would need to contact the maintainer of their version ( fork ) or remove theirs and install the original from virtualbox.org.

Re: Server 2008 guest doesn't start after vdi resize

Posted: 2. Jan 2017, 17:12
by mpack
I notice that you don't mention running a partition manager after the resize, so unless you forgot to mention additional steps then the guest OS should have been oblivious to the resize - unless the guest OS was configured to use "Windows Dynamic Disk" partitioning (not to be confused with dynamically allocated virtual hds as used by VirtualBox). Windows Dynamic Disk creates a 1MB partition database at the end of the disk... obviously "the end of the disk" is a relative term whose value changes if you resize the disk. VBoxManage has no knowledge of guest filesystems and does NOT fix this for you.

CloneVDI would probably do a better job of resizing the VDI, since it does have some knowledge of "popular" filesystems.

Please note that while I'm willing to point you in the most likely direction, I will not enter into a conversation about this while you are still someone else's fork.

Re: Server 2008 guest doesn't start after vdi resize

Posted: 2. Jan 2017, 18:10
by BobElderGeek
Perry I understand and I did the upgrade from apt-get rather than download from virtualbox.org. This is, in fact, when the problem occured; I will uninstall, download directly and report if this fixes the problem. Thank you for your direction.

Mpack I have not been able to get the operating system functioning so I have yet to run a partition manager but thank you for your assistance.