During the boot process, the BIOS/UEFI locates the bootloader on a non-volatile storage device, typically a Hard Disk or SSD (formerly Floppy Disks). The operating system files are stored there and then loaded into RAM for execution. ROM only contains the initial firmware.