A problem in my self-made boot loader

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Gigasoft
Member
Member
Posts: 856
Joined: Sat Nov 21, 2009 5:11 pm

Re: A problem in my self-made boot loader

Post by Gigasoft »

No, everything works as before.

Operating system installers should typically not alter the behaviour of the MBR code, and should only access the MBR to modify the partition table (if necessary). The purpose of the MBR is solely to load and execute the VBR for the active partition. In the case of Windows, the VBR loads some more sectors which in turn load NTLDR or BOOTMGR. Both NTLDR and BOOTMGR allow for booting another operating system via their menus, by loading a program to 7C00h or D000h.
User avatar
DavidCooper
Member
Member
Posts: 1150
Joined: Wed Oct 27, 2010 4:53 pm
Location: Scotland

Re: A problem in my self-made boot loader

Post by DavidCooper »

In that case, I'm now wondering if Ranger's problem is occuring after his MBR code has run and after he has selected the Windows 7 partition to boot from. I had assumed before that that was not the case because he was talking about seeing the same message before the MBR code worked properly, at which time it shouldn't have been able to get to the point where it loads in the Windows Bootmanager code that displays that message.

Anyway, I don't know enough about this to help fix the problem, but I hope to hear how the it is eventually solved, so I wish Ranger the best of luck with it and hope a solution isn't far off.
Help the people of Laos by liking - https://www.facebook.com/TheSBInitiative/?ref=py_c

MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
Post Reply