diff --git a/boot/freeldr/freeldr/bootmgr.c b/boot/freeldr/freeldr/bootmgr.c index 6426eca0ec7..3cba63f8811 100644 --- a/boot/freeldr/freeldr/bootmgr.c +++ b/boot/freeldr/freeldr/bootmgr.c @@ -231,15 +231,20 @@ VOID RunLoader(VOID) IniOpenSection("Operating Systems", &SectionId); IniReadSettingByName(SectionId, SectionName, SettingValue, sizeof(SettingValue)); +#ifndef _M_ARM // Install the drive mapper according to this sections drive mappings #if defined(_M_IX86) && !defined(_MSC_VER) DriveMapMapDrivesInSection(SectionName); #endif #ifdef FREELDR_REACTOS_SETUP - // WinLdr-style boot - LoadReactOSSetup(); -#elif defined(_M_IX86) + if (_stricmp(BootType, "ReactOSSetup") == 0) + { + LoadReactOSSetup(); + } + else +#endif +#ifdef _M_IX86 if (_stricmp(BootType, "Windows") == 0) { LoadAndBootWindows(SectionName, SettingValue, 0); @@ -268,6 +273,7 @@ VOID RunLoader(VOID) { LoadAndBootDrive(SectionName); } +#endif #else LoadAndBootWindows(SectionName, SettingValue, _WIN32_WINNT_WS03); #endif diff --git a/hybridcd_freeldr.ini b/hybridcd_freeldr.ini index a8722ccf0f6..c33940844ba 100644 --- a/hybridcd_freeldr.ini +++ b/hybridcd_freeldr.ini @@ -24,7 +24,7 @@ Install="ReactOS-Installation starten" Live="ReactOS Live-System starten" [Install] -BootType=ReactOSSetup2 +BootType=ReactOSSetup [Live] BootType=Windows2003