What's "Hard Drive" record in NVRAM?



Well, the NVRAM to which you refer stores the boot entries. These are (usually) generated by your UEFI/BIOS when it autodetects everything bootable. However, it also has built-in generics. "Hard Drive" is one. "CD-ROM" is one. These you can delete, but they're always repopulated below what's at the top of the list. In short:
"Hard Drive" = Built-in generic term for "Whatever block device I can find"
Purpose: Provides a "generic" boot option. In some cases, it's a reference to the first HDD (or SDD depending on if your system detects the difference -- mine does, so probably most do today). This is all just for setting the boot order

Note: These days, those generics are of little use because the UEFI goes by actual identifiers like "WD128F04954" or "SanDisk: debian 12.7", etc. so you'll see those in the boot menu -- at least on mine and everyone I know's mobo.
 
Purpose: Provides a "generic" boot option. In some cases, it's a reference to the first HDD (or SDD depending on if your system detects the difference -- mine does, so probably most do today)
What exactly it means? What happens if user selects to boot from hard drive? There can be many bootloaders on the EFI partition. May be no bootloaders. EFI partition mat not exist at all. What will boot if there's no MBR? Or it means to boot in legacy mode?
 
What exactly it means? What happens if user selects to boot from hard drive? There can be many bootloaders on the EFI partition. May be no bootloaders. EFI partition mat not exist at all. What will boot if there's no MBR? Or it means to boot in legacy mode?
Usually, it'll be faded in your boot order in the UEFI/BIOS graphical menu. If you choose the boot menu (Say F9 or F11, etc. depending on your board), not the UEFI/BIOS menu, it won't appear, or if it does and there's nothing bootable, it'll just try the next device on the list until it finds something or fails, in which case it'll give an error and reboot. Think of it as a placeholder. As I said, it's a case of "Let me try and boot from whatever I can that looks like an HDD/SSD", then CD-ROM, "Let me look for a CD/DVD disk", then so on until failure or success.
 
Top