Reputation: 1
Does operating system remove the bootstrap loader from primary memory after operating system is loaded?Once operating system is loaded is it the ultimate authority of primary memory?(like it decides what programs will occupy which space in memory?)
Upvotes: 0
Views: 333
Reputation: 9617
Some operating systems may preserve the boostrapping code in the same way most preserve BIOS code. As for Linux and Windows, they indeed mark the memory previously occupied by the bootstrapping code as unallocated and will use it in any way they find appropriate. The code won't actually be removed but will be overwritten once the OS allocates this memory region.
Upvotes: 1