diff --git a/reactos/ntoskrnl/io/iomgr/iomgr.c b/reactos/ntoskrnl/io/iomgr/iomgr.c index c25932d1a52..19e6b43f32e 100644 --- a/reactos/ntoskrnl/io/iomgr/iomgr.c +++ b/reactos/ntoskrnl/io/iomgr/iomgr.c @@ -512,6 +512,13 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock) IoSynchronousInvalidateDeviceRelations(IopRootDeviceNode-> PhysicalDeviceObject, BusRelations); + + /* Check if this was a ramdisk boot */ + if (RtlEqualMemory(LoaderBlock->ArcBootDeviceName, "ramdisk(0)", 10)) + { + /* Initialize the ramdisk driver */ + IopStartRamdisk(LoaderBlock); + } /* Create ARC names for boot devices */ IopCreateArcNames(LoaderBlock);