diff --git a/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c b/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c index 41001fa2b2..01a3a8ddf1 100644 --- a/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c +++ b/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c @@ -245,7 +245,7 @@ PartitionDriverBindingStart ( BlockIo, ParentDevicePath ); - if (!EFI_ERROR (Status) || Status == EFI_MEDIA_CHANGED) { + if (!EFI_ERROR (Status) || Status == EFI_MEDIA_CHANGED || Status == EFI_DEVICE_ERROR) { break; } Routine++;