Questions tagged [bios]

The BIOS software is built into the PC, and is the first code run by a PC when powered on ('boot firmware'). The primary function of the BIOS is to load and start an operating system.

The Basic Input/Output System (BIOS), also known as the system BIOS or ROM BIOS ( /ˈbaɪ.oʊs/), is a de facto standard defining a firmware interface.

The BIOS software is built into the PC, and is the first code run by a PC when powered on ('boot firmware'). When the PC starts up, the first job for the BIOS is the power-on self-test, which initializes and identifies system devices such as the CPU, RAM, video display card, keyboard and mouse, hard disk drive, optical disc drive and other hardware. The BIOS then locates boot loader software held on a peripheral device (designated as a 'boot device'), such as a hard disk or a CD/DVD, and loads and executes that software, giving it control of the PC.[2] This process is known as booting, or booting up, which is short for bootstrapping. BIOS software is stored on a non-volatile ROM chip on the motherboard. It is specifically designed to work with each particular model of computer, interfacing with various devices that make up the complementary chipset of the system. In modern computer systems, the BIOS chip's contents can be rewritten without removing it from the motherboard, allowing BIOS software to be upgraded in place.

A BIOS has a user interface (UI), typically a menu system accessed by pressing a certain key on the keyboard when the PC starts. In the BIOS UI, a user can:

  • configure hardware
  • set the system clock
  • enable or disable system components
  • select which devices are eligible to be a potential boot device
  • set various password prompts, such as a password for securing access to the BIOS user interface functions itself and preventing malicious users from booting the system from unauthorized peripheral devices.

http://en.wikipedia.org/wiki/BIOS

916 questions
54
votes
5 answers

Writing my own BIOS

I'm not crazy, just reinventing the wheel :D I wrote boot-loaders, mouse & keyboard mini-drivers, mini OS and so on. I'm always trying to avoid DOS interrupts, using BIOS ones only, trying to go forward a unity mini OS, but suddenly I decided to…
Ahmed Ghoneim
  • 6,834
  • 9
  • 49
  • 79
50
votes
3 answers

How to check the BIOS version or name in Linux through a command prompt?

I want to retrieve the current BIOS version and name while working on the terminal. What could be the commands to find it?
CuriousCase
  • 659
  • 1
  • 5
  • 12
36
votes
4 answers

Reliable way of generating unique hardware ID

Question: I have to come up with unique ID for each networked client, such that: it (ID) should persist once client software is installed on target computer, and should continue to persist if software is re-installed on same computer and same OS…
mr.b
  • 4,932
  • 11
  • 38
  • 55
23
votes
5 answers

How does UEFI work?

I was studying about bootloaders when exactly came upon the term UEFI. I can understand some things about UEFI. But still, In what mode(Real,Protected,Long) does a system with UEFI start? If normal boot loaders cant work with UEFI, Then what is the…
prog481
  • 319
  • 1
  • 4
  • 12
22
votes
4 answers

What is significance of memory at 0000:7c00 to booting sequence?

Why does bios read at partition's boot record at 0000:7c00 ? What is special about that address ? what ':' doing in referencing an address ?
Xinus
  • 29,617
  • 32
  • 119
  • 165
20
votes
2 answers

Does modern PC video hardware support VGA text mode in HW, or does the BIOS emulate it (with System Management Mode)?

What really happens on modern PC hardware booted in 16-bit legacy BIOS MBR mode when you store a byte such as '1' (0x31) into the VGA text (mode 03) framebuffer at physical linear address B8000? How slow is a mov [es:di], eax store with the MTRR…
Peter Cordes
  • 328,167
  • 45
  • 605
  • 847
20
votes
1 answer

Understanding segment group, bus, device and function numbers from SMBIOS

Objective I'm trying to programmatically find out on which physical slot a particular PCIe device is connected. The premise is that I have the PCI-ID of a card that is surely occupying a slot, and the solution would be finding out which one. Note…
C2H5OH
  • 5,452
  • 2
  • 27
  • 39
19
votes
2 answers

How does the OS detect hardware?

Does the OS get this information from the BIOS or does it scan the buses on its own to detect what hardware is installed on the system. Having looked around online different sources say different things. Some saying the BIOS detects the hardware and…
RJSmith92
  • 373
  • 1
  • 3
  • 9
18
votes
4 answers

Why does the BIOS entry point start with a WBINVD instruction?

I'm investigating the BIOS code in my machine (x86_64 Linux, IvyBridge). I use the following procedure to dump the BIOS code: $ sudo cat /proc/iomem | grep ROM 000f0000-000fffff : System ROM $ sudo dd if=/dev/mem of=bios.dump bs=1M count=1 Then I…
user10865622
  • 455
  • 3
  • 11
18
votes
2 answers

Enabling intel virtualization (VT-X) without option in BIOS

Sorry if the question is already answered, but I haven't found answer for my particular situation, that is a little different. I'm installing all the tools necessary for android programming. I have created an android virtual device, but the problem…
Carlos
  • 889
  • 3
  • 12
  • 34
17
votes
2 answers

How is the BIOS ROM mapped into address space on PC?

The x86 CPU begins execution at physical address 0xFFFFFFF0. There at the end of the address space the BIOS ROM is located. The first instruction the CPU executes from the ROM is far jump which causes the CS segment to be reloaded so the next…
manison
  • 649
  • 6
  • 17
17
votes
3 answers

How is the BIOS used by a modern OS?

What's the function of the BIOS in a modern OS? Is it still used after booting? And is there some kind of BIOS API?
compie
  • 10,135
  • 15
  • 54
  • 78
17
votes
2 answers

Oracle VirtualBox "VT-x is disabled in the BIOS"

I'm getting this error while loading an image from a Oracle virtual box. How can I fix it? I installed virtual box 4.3.12 via a remote desktop connection to a Windows 7 64-bit, 32G RAM computer. I have checked the Intel Visualization Setting, it…
Yu Deng
  • 1,051
  • 4
  • 18
  • 35
15
votes
4 answers

What "wmic bios get serialnumber" actually retrieves?

I wonder what sort of serialnumber wmic bios get serialnumber Windows commad actually gives you? Is it serial number of your motherboard? Documentation is not clear about it.
Vitaly P
  • 1,121
  • 3
  • 11
  • 21
14
votes
3 answers

Changing bios code/flashing the bios

I've spent a lot of time developing an operating system and working on my low level boot loader. But now I want to take some time off my operating system while not leaving the low-level environment and doing something involving security. So I chose…
Rick
  • 151
  • 1
  • 4
1
2 3
60 61