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.

1008 questions
131
votes
10 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,555
  • 17
  • 52
  • 90
49
votes
3 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
  • 591
  • 1
  • 5
  • 4
34
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,096
  • 1
  • 13
  • 16
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,164
  • 6
  • 23
  • 37
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
  • 3
  • 3
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
  • 1
  • 6
  • 8
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
  • 16,963
  • 69
  • 181
  • 260
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…
Mad Scientist
  • 1,093
  • 4
  • 11
  • 27
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,760
  • 4
  • 15
  • 17
20
votes
10 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
  • 251
  • 1
  • 2
  • 6
19
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
  • 452
  • 3
  • 7
  • 23
18
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,596
  • 2
  • 44
  • 50
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
  • 2
  • 3
15
votes
3 answers

What is a u-Boot dtb file and how do I use it (BeagleBoard xM)?

I'm trying to build a custom Linux for a BeagleBoard xM (Rev. C). I do a lot of C/C++ but am a beginner at building and installing Linux from scratch. I used the Yocto Project build appliance (https://www.yoctoproject.org/) which seemed promising -…
Jeremy
  • 473
  • 1
  • 4
  • 14
15
votes
7 answers

Multiple Operating Systems or ISO's Bootloader for a USB Stick?

I have no idea how to do this. I have 7 iso's that I want to be able to easily boot from using a USB Stick and they are: Windows 7 Ultimate x86 Windows 7 Ultimate x64 Windows 8.1 x64 Hirens BootCD Ultimate BootCD Windows XP…
Hyflex
  • 249
  • 3
  • 6
  • 19
1
2 3
67 68