Windows guest only intermittently boots - INACCESSIBLE_BOOT_DEVICE

Discussions related to using VirtualBox on Linux hosts.
Post Reply
starfire
Posts: 5
Joined: 2. Dec 2009, 11:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows 10

Windows guest only intermittently boots - INACCESSIBLE_BOOT_DEVICE

Post by starfire »

Hi,

Running Elementary OS Odin (based on Ubuntu 20.04) and having problems with a Windows 10 VM (it was created using Macrium viBoot by converting a disk image to a VM).

I can not get it to consistently boot, 90% of the time it will hang on boot with a spinning circle and eventually blue screen with INACCESSIBLE_BOOT_DEVICE.

Sometimes, after changing no settings of the VM I can get it to boot, typically after Windows complains it hasn't booted successfully a few times....

I attached logs of an unsuccessful AND successful boot, hopefully someone can shed some light?

Thanks!
Attachments
boots.tar.gz
(62.63 KiB) Downloaded 4 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Windows guest only intermittently boots - INACCESSIBLE_BOOT_DEVICE

Post by mpack »

If you want support here you need to install VirtualBox, not the Ubuntu knockoff version.
00:00:03.163404 VirtualBox VM 6.1.26_Ubuntu r145957 linux.amd64 (Aug 20 2021 13:03:23) release log
Unofficially, I would try reducing CPU cores to 2. Giving it 100% of available cores (leaving none for the host) is not sensible. 2 cores is plenty for a VM.
00:00:03.353733 CPUM: Physical host cores: 8
...
00:00:03.199918 NumCPUs <integer> = 0x0000000000000008 (8)
Strangely enough, the last time INACCESSIBLE_BOOT_DEVICE was reported it was also Elementary OS and someone who had enabled ICH9 despite the user manual warnings.
Note that ICH9 support is experimental and not recommended for guest OSes which do not require it.
("require it" likely refers to MacOS).

Otherwise this looks like the guest OS reporting a fatal condition, the condition is not indicated by VirtualBox. Perhaps check the host for disk errors.
00:01:38.959615 GIM: HyperV: Guest indicates a fatal condition! P0=0x7b P1=0xfffff583e6806868 P2=0xffffffffc0000034 P3=0x0 P4=0x1
00:01:38.959683 GIMHv: BugCheck 7b {fffff583e6806868, ffffffffc0000034, 0, 1}
00:01:38.959684 INACCESSIBLE_BOOT_DEVICE
00:01:40.016419 VMMDev: Guest Log: VBoxGuest: BugCheck! P0=0x7b P1=0xfffff583e6806868 P2=0xffffffffc0000034 P3=0x0 P4=0x1
00:01:42.224846 VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 4 seconds ago
00:02:36.352741 GUI: Request to close active machine-window.
starfire
Posts: 5
Joined: 2. Dec 2009, 11:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows 10

Re: Windows guest only intermittently boots - INACCESSIBLE_BOOT_DEVICE

Post by starfire »

Hi,

I downloaded VB from here https://www.virtualbox.org/wiki/Linux_Downloads - are these not supported ?

I am running SATA and AHCI for the storage controller.

I have just one physical NVMe SSD on the host and VB VMs are stored on it, the host logs do not show any error and the guest just sits there trying to boot Windows with a spinning circle and no host I/O I can see (watching the disk access LED), then after some time blue screens with the inaccessible drive error.

Thanks.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Windows guest only intermittently boots - INACCESSIBLE_BOOT_DEVICE

Post by mpack »

starfire wrote: I downloaded VB from here https://www.virtualbox.org/wiki/Linux_Downloads - are these not supported ?
I can't comment on what you downloaded from where. I quoted the relevant log line to you that shows what software actually created the log, which is the Ubuntu VirtualBox fork.
starfire
Posts: 5
Joined: 2. Dec 2009, 11:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows 10

Re: Windows guest only intermittently boots - INACCESSIBLE_BOOT_DEVICE

Post by starfire »

Sorry, I am a new user here and don't understand.

If versions from virtualbox.org are not official ?!, can you tell me how to get one that is ?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Windows guest only intermittently boots - INACCESSIBLE_BOOT_DEVICE

Post by mpack »

There is nothing wrong with the download link, but that is not the version you are running. A log created by VirtualBox does not have a qualifier in the version name, it would just say "VirtualBox VM 6.1.26 r145957 linux.amd64".
starfire
Posts: 5
Joined: 2. Dec 2009, 11:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows 10

Re: Windows guest only intermittently boots - INACCESSIBLE_BOOT_DEVICE

Post by starfire »

My apologies, I thought I had downloaded it from virtualbox.org.

Here is a new log with hopefully the correct version, and also a screenshot of the failure I see.

Thanks!
Attachments
failure.tar.gz
(57.64 KiB) Downloaded 3 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Windows guest only intermittently boots - INACCESSIBLE_BOOT_DEVICE

Post by mpack »

The log still shows the same Hyper-v error signal as before.
00:02:04.896792 GIM: HyperV: Guest indicates a fatal condition! P0=0x7b P1=0xfffff90c67206868 P2=0xffffffffc0000034 P3=0x0 P4=0x1
00:02:04.896849 GIMHv: BugCheck 7b {fffff90c67206868, ffffffffc0000034, 0, 1}
00:02:04.896850 INACCESSIBLE_BOOT_DEVICE
00:02:05.929470 VMMDev: Guest Log: VBoxGuest: BugCheck! P0=0x7b P1=0xfffff90c67206868 P2=0xffffffffc0000034 P3=0x0 P4=0x1
00:02:07.178444 VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 4 seconds ago
Note that Hyper-v is not the problem, that is just the mechanism used to inform VirtualBox about the problem. I'm going to guess that if you disabled the Hyper-v paravirtualization feature it would only turn the error into a guest BSOD, with the bugcheck code being 0x7B as indicated. 0x7B is very well known and indicates that the disk controller or disk is not what Windows expected to find.

Where did this VM originate? Was it a fresh install on this PC, or was it copied from elsewhere? Did you change any disk related setting in the VM, such as changing IDE to SATA?

In any case you could try changing the VM disk controller to IDE, to see what effect that has.
starfire
Posts: 5
Joined: 2. Dec 2009, 11:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows 10

Re: Windows guest only intermittently boots - INACCESSIBLE_BOOT_DEVICE

Post by starfire »

Thanks for helping, I decided to install a fresh Windows 10 guest and so far it is working fine.
Post Reply