On Apr 5, 3:13 pm, "Rod Pemberton" <do_not_h...@notemailnot.cmm>
wrote:
> I just realized that my understanding of "booting" and "to boot" is very
> different from at least one other person here. This seems to have colored
> both my understanding of recent posts by others, and the understanding of
> others of my posts.
>
> To me, "to boot" and "booting" means to start an OS (operating system). So,
> if no operating system starts, then nothing has booted, even if some code
> was executed. On a normally setup x86 OS, that requires MBR code, partition
> tables, a boot flag set for the bootable partition, a formatted partition,
> PBR code for the partition, an OS installed to the bootable partition. So,
> when someone says: "What does the BIOS boot?" It means that some fixed-disk
> MBR code executed, a partition marked bootable was found, then PBR code for
> that partition executed, and the OS was loaded executed from the bootable
> partition.
>
> The different definition which seems to be in use for "to boot" and
> "booting" means the BIOS executes the MBR code on a fixed-disk.
>
> What does "booting" and "to boot" mean to you guys?
Good questions, Rod. I guess that ultimately the meaning of someone
else's words should be understood from context.
From a user's point of view to boot a computer probably means getting
it to a working and usable state. We might boot-up Windows, for
example.
If we talk about specifically "booting an OS" we probably mean
similar.
This newsgroup possibly has many posts about booting an OS.
Similarly, we could bootstrap something else such as a piece of test
code meaning to get the computer to run our test code from power on.
(Take memtest86 as an example. A computer has to go through a
bootstrap process to get that loaded and running but there is no OS
involved and there may not even be a hard disk with partitions and the
like. The memtest86 software could be loaded from a floppy or an
optical disk.)
As programmers we may have a different viewpoint. Probably more
accurately than the view of a user of a computer, to boot means to get
a computer from power on to loading the *first* piece of code that is
not burned in to ROM. The piece of code thus loaded can then load the
next piece and so on. I suppose you could call these later loads part
of the bootstrap sequence if you are looking to get something specific
running.
> If the MBR code executes, fails to find an active partition, and returns to
> the BIOS via an Int 18h or 19h, is that a "boot"? Or, does that just mean a
> valid master bootsector was found and executed?
Well, the MBR writer would probably would consider that the machine
had booted the MBR but the OS writer would consider that the boot
process hadn't happened!
> Does the meaning of "booting" require that the OS is started?
As you can guess, I wouldn't say so unless it was apparent that that's
what was meant by the context. A computer can boot without even
running an OS. If someone said specifically, "boot an OS" I would view
that as meaning the the OS had to be started. Similarly, to boot an
MBR means to me to load and start an MBR.
But those are colloquialisms - but nevertheless useful. Strictly,
though, I would say that to boot (without saying to boot some specific
piece of software) means to load the first piece of code from storage
of some sort and to start it.
Of course, YMMV.
James