--- boot/freeldr/freeldr/miscboot.c~ 2009-06-29 13:58:41.000000000 -0400 +++ boot/freeldr/freeldr/miscboot.c 2009-06-29 13:58:24.000000000 -0400 @@ -68,6 +68,7 @@ // Read boot sector if (!FsReadFile(FilePointer, 512, &BytesRead, (void*)0x7c00) || (BytesRead != 512)) { + UiMessageBox("Unable to read boot sector."); return; } @@ -90,7 +91,7 @@ //DisableA20(); ChainLoadBiosBootSectorCode(); } - + VOID LoadAndBootPartition(PCSTR OperatingSystemName) { CHAR SettingName[80]; @@ -139,6 +140,7 @@ // If this fails then abort if (!MachDiskReadLogicalSectors(DriveNumber, PartitionTableEntry.SectorCountBeforePartition, 1, (PVOID)0x7C00)) { + UiMessageBox("Unable to read partition's boot sector."); return; } @@ -192,6 +194,7 @@ // If this fails then abort if (!MachDiskReadLogicalSectors(DriveNumber, 0, 1, (PVOID)0x7C00)) { + UiMessageBox("Unable to read boot sector"); return; }