diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-10 10:41:10 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-10 10:41:10 +0200 |
| commit | 8a2cab86eb8723b2f8b4f85c5d09d764003087a3 (patch) | |
| tree | 3f6a438dcd11f583d6d91e47ad0d3535773a34b1 /Boot | |
| parent | 192892221333113b28353fbe428adfc1bf6bbaae (diff) | |
[IMP] stop when disk isn't partitioned.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Boot')
| -rw-r--r-- | Boot/Sources/HEL/AMD64/BootMain.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Boot/Sources/HEL/AMD64/BootMain.cxx b/Boot/Sources/HEL/AMD64/BootMain.cxx index 53587e40..21db7823 100644 --- a/Boot/Sources/HEL/AMD64/BootMain.cxx +++ b/Boot/Sources/HEL/AMD64/BootMain.cxx @@ -201,6 +201,7 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle, if (!checkPart.IsPartitionValid()) { writer.Write("newosldr: Warning, partition isn't valid! Need to repartition it.\r"); + EFI::Stop(); } // ---------------------------------------------------- // |
