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

837 questions
44
votes
4 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
  • 567
  • 1
  • 4
  • 9
43
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,268
  • 8
  • 46
  • 76
35
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,771
  • 11
  • 33
  • 53
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,031
  • 2
  • 23
  • 38
18
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,001
  • 3
  • 16
  • 35
18
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
  • 26,861
  • 26
  • 111
  • 160
17
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
  • 435
  • 3
  • 11
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
  • 9,449
  • 15
  • 51
  • 73
17
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
  • 333
  • 2
  • 9
16
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
  • 675
  • 1
  • 7
  • 27
15
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
  • 549
  • 5
  • 15
15
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
  • 161
  • 1
  • 4
13
votes
4 answers

APIs for querying and setting bios properties

Let's say I would like to change a setting in the BIOS of my computer in Linux (let's say Ubuntu 11 if it matters.) What types of APIs exist to allow you query and manipulate BIOS setting? Further, what are good resources for doing this type of…
Karthik Ramachandran
  • 11,347
  • 9
  • 43
  • 52
13
votes
3 answers

Why can't I call BIOS interrupts from protected mode?

Right. I've spent over three hours today trying to understand why you can't call a bios ISR when in protected mode. I get that once you set and IDT it wont necessarily be in the usual address for the IVT plus segments dont have a fixed size in…
Max
  • 145
  • 1
  • 4
13
votes
2 answers

Do normal x86 or AMD PCs run startup/BIOS code directly from ROM, or do they copy it first to RAM?

I understand modern computers have modified Harvard architectures. Can the fact that they can read instructions from somewhere other than where they hold data allow them to fetch instructions directly from ROM chips? Do they load the BIOS to RAM…
salvador p
  • 2,685
  • 5
  • 24
  • 25
1
2 3
55 56