When you run an Executable on an OS, the OS takes care of runnin the EXE, but if u put an exe on the boot sector of a floppy, and u stick it in the computer and it runs, what is executing that file?
Printable View
When you run an Executable on an OS, the OS takes care of runnin the EXE, but if u put an exe on the boot sector of a floppy, and u stick it in the computer and it runs, what is executing that file?
The BOOT sector is always the first sector on the disk, but it does not really contain an .exe file. IT contains a little bit of (binairy) code that is started (initiated from the computers BIOS), all it will do is look for the operating system. If it finds the operating system it will start it up (Like MSDOS), if it cannot find it it will show an error (like: Non-system disk, press enter).