Most computer systems are set up to automatically first check which drive for the booting program

The Cd Rom drive or floppy disk is the first one checked depending on if you have a floppy drive

Most computer systems are set up to automatically check the primary storage device, typically the hard drive or solid-state drive (SSD), for the booting program. The process of determining which drive to check first is known as the boot order.

To specify the boot order, you'll need to access the computer's BIOS or UEFI (Unified Extensible Firmware Interface) settings. The exact steps to access these settings may vary slightly depending on your computer's manufacturer and model, but the general process is as follows:

1. Start or restart your computer.
2. Look for a message on the screen indicating which key to press to enter the BIOS/UEFI settings. It is usually a function key (e.g., F2, F12, Esc) or the Delete key, but it can vary.
3. Press the indicated key repeatedly as soon as you see the message to enter the BIOS/UEFI settings.
4. Once you are inside the settings, navigate to the "Boot" or "Boot Order" section. Again, the exact location and terminology may differ based on your computer's manufacturer.
5. In the boot order settings, you will typically see a list of storage devices (hard drives, SSDs, USB drives, optical drives) that can be selected as the primary boot device. The device at the top of the list will be checked first.
6. Modify the boot order by using the designated keys (often the + and - keys or Page Up/Down keys) to move your preferred storage device to the top of the list.
7. Save the changes and exit the BIOS/UEFI settings. This is typically done by pressing a key combination like F10 or selecting an option to "Save and Exit".

After setting the boot order, the computer will automatically check the chosen device (e.g., hard drive) first for the booting program when you start it up. If the boot program is not found on the selected device, the computer will proceed to the next device in the boot order until a bootable program is detected.