Questions tagged [bootloader]

A bootloader is a program that loads and launches a program or an operating system from boot.

A bootloader is a small program that have the full functionality of an operating system, but is specially constructed to be able to load another program to allow the initiation of the operating system. Often, multi-stage boot loaders are used in this case several small programs complement each other in sequence, until the last of them loads the operating system.

A hypothetical machine language for the system of initiation, could be as simple as the following eight instructions, that read the data from the tape:

1. Please register P = 8
2. Make sure the paper tape is positioned
3. If not return to step 1
4. A byte read from the tape
5. If you reached the end of the tape skip to step 8
6. Store the data read from the register address P
7. increment the P register
8. jump to a

In modern computers the boot process begins with the execution by the CPU of a program contained in ROM (IBM PC's BIOS) in a predefined address (the CPU is programmed to run this program automatically after a reset). This program contains rudimentary functionality to search for devices that may contain an operating system and are therefore likely to participate in a boot.

1045 questions
132
votes
9 answers

How can I repair the Windows 8 EFI Bootloader?

I installed Windows 7 and Windows 8 in EFI mode on a hard disk some days ago. Today, the bootloader got missing/corrupted. I currently have the Windows 8 installer on a flash drive and tried using the Automatic Repair option to repair the bootloader…
Elmo
  • 14,879
51
votes
4 answers

How to fix the Windows 10 boot loader from Windows?

I installed Ubuntu on a system that has Windows 10 installed. I can boot to Windows or Ubuntu normally using GRUB. I want to delete Ubuntu partition, but first I must restore the Windows 10 MBR. In Use Bootrec.exe in the Windows RE to troubleshoot…
Codyfly
  • 611
36
votes
5 answers

How can I keep multiple live/bootable ISO images on a single USB drive?

I am looking to create a USB flash drive that I can put multiple live CD ISO images on and select which boots from startup. The ideal candidate supports Linux and Windows-based ISO images, and is relatively simple. It also must have some reasonable…
Keck
  • 2,116
32
votes
1 answer

How can I add Linux to the new Windows 8 boot manager?

Which OSes can be put into the new bootloader that Windows 8 provides? It seems to be quite pretty and consistent with the rest of the new Windows 8 design, so it would be cool to put Linux (Ubuntu) into it instead of using GRUB or BURG. Besides on…
kluka
  • 2,294
  • 6
  • 26
  • 38
29
votes
3 answers

Why do we need a boot loader?

After the BIOS, or something similar that serves as a firmware, is started, the control is passed to the bootloader, as far as I know. Why can't the BIOS load the OS kernel directly? Also, the GRUB manual says: briefly, a boot loader is the first…
aoeui
  • 291
26
votes
1 answer

Should I install an OS using UEFI or BIOS (legacy/CSM) boot mode?

I'm installing a new operating system on my computer. Should I install it for booting in UEFI or legacy (BIOS/CSM) mode? What are the advantages or disadvantages to using one or the other?
kFYatek
  • 461
23
votes
5 answers

What are the differences between firmware and software/OS?

I was wondering what differences are between firmware and software? What differences are between firmware and OS? Are boot-loaders firmware? Bios is. How about GNU grub? Is grub software or firmware?
Tim
  • 17,743
23
votes
2 answers

Why don't PC makers lock the bootloader?

Mobile phone makers always lock their device's bootloader - that is, they prevent you from getting root access to your device, or uninstalling the default operating system and installing something else. There are ways to unlock the bootloader, but…
user859885
23
votes
11 answers

Windows 10 fails to boot after HDD clone to SSD

I have been trying to migrate a laptop from a HDD to an SSD. I initially cloned the drive with the latest version of TODO Backup and then tried with Macrium Reflect. Both have the same problem. The drive clones fine and all the files appear to be…
psych
  • 281
22
votes
2 answers

How can I move the boot sector to another drive?

When I installed Windows 7 on my new SSD it seems I messed some parts up during the partition selection, and now I have my system partition with the boot sector on another harddrive, and the boot partition containing Windows on my SSD. How can I…
21
votes
1 answer

Why is my Windows drive appearing as encrypted in Linux (Ubuntu)?

Why is my Windows 11 installation drive shown as encrypted in Linux GUI when we want to simply mount the drive, when there are following points to note? BitLocker is disabled Data encryption is not enabled. Norton AntiVirus is there, but it does…
20
votes
6 answers

How to set boot disk flag with diskpart

My Windows Server 2008 R2 won't start and stops with Stop 7B, so I start the recovery console and use diskpart to check the disk. There are to partitions one of Type 17 and one of type 07, the detail disk command show me that the disk is not a boot…
kockiren
  • 462
20
votes
3 answers

How do I make my Boot Camp partition bootable again?

I needed to resize my Boot Camp partition so I used Gparted to move and resize it. This seemed to work, except that now I can't boot into Windows. I can boot into OS X just fine. OS X can recognize the Boot Camp partition and view its contents. When…
Dan Herbert
  • 1,811
19
votes
5 answers

Can I fix error 0xc0000225 without reinstalling Windows?

I have a system which dual-boots Gentoo Linux and Windows 7 using GRUB2. The computer has four drives, and Windows is installed on the third (last) partition of drive #2. The drive layout looks like…
David Z
  • 6,785
16
votes
2 answers

How to get rEFInd working with FileVault 2 on OSX 10.8

I installed rEFInd on my new Macbook Air which I planned on using to do a dual boot to Linux, but prior to installing Linux, I decided to encrypt my drive. I knew I was going to do this, so I had already installed rEFInd with the --esp option. When…
David
  • 261
1
2 3
69 70