Questions tagged [boot-loader]

A boot loader (aka bootstrap loader) is the program that loads up the operating system kernel (or another boot-loader), e.g., GNU GRUB, LILO, SYSLINUX, or rEFInd. Use this tag for questions about installing, configuring or trouble-shooting software that is used to load Unix-like operating systems. Questions about boot loaders on Android or iOS devices are generally off-topic and are better asked on android.stackexchange.com or apple.stackexchange.com.

When a computer is powered on, it first runs firmware code stored in its persistent/read-only memory. With personal computers, this firmware program is known as the power-on self-test (POST). The last action of the ROM-based boot-sequence is to load a boot-loader program from disk (or the network).

The boot-loader typically loads an operating system kernel and hands over execution to the kernel. In some situations, multiple stages of different boot loaders can be used where one boot loader hands control over to another; this situation is referred to as chain loading.

Related tags

  • – more general questions on the process of loading the OS
  • – a simple bootloader for booting Linux on PCs
  • – a more versatile boot-loader developed by GNU
  • GRUB Legacy is the first version of GNU GRUB
  • GRUB, the second version of GNU GRUB is a complete rewrite to replace the previous version
  • – suite of lightweight master boot record (MBR) boot loaders
  • – rEFInd is a boot manager for EFI and UEFI-based machines. Technically it’s not a boot loader since it doesn’t actually load an Operating System kernel.

Related links

Further reading

717 questions
2
votes
1 answer

what's the best way to chainload this

I have two disks. One contains windows and is a SATA-drive. The other one contains Foresight Linux and is a IDE-drive. Now I have installed extlinux as the bootloader for Foresight Linux. Now I want to chainload it with the windows bootloader so I…
2
votes
1 answer

bootloader's messages and bootm.c

When I boot linux on zynq board, one of the line that I get is; Starting kernel . . . For debugging purpose I wanted to know where in the source code these lines are written, I would change them and then add printf/printk statements at various…
gpuguy
  • 1,356
1
vote
1 answer

Is it possible to boot in a operatingsystem from another running os?

In the past I have seen a System and I still ask myself sometimes how it worked. Let me explain first my memory: There was computer system which booted into a non Windows System, with login GUI where you could log on (probably with ldap) and Guest…
1
vote
1 answer

How do you find out which boot loader your using in damn small linux distribution

Im trying to figure out which boot loader my damn small linux distribution is using which can be either LILO or GRUB. This list all the installed packages http://www.damnsmalllinux.org/packages.html .Both the LILO and GRUB folders are available .…
0
votes
0 answers

"Dual bank" booting with Grub2

Context: I'm working on some kind of kiosk system. The system can be upgraded every now and then, remotely, and I want it to work as reliably as possible. In embedded system, it's a common practice to have dual bank "boots". Many BIOS/UEFIs for…
0
votes
3 answers

Is it possible to use libc at the bootloader stage itself?

I would like to use some the functions given by libc at the boot loader stage itself. Is it possible to get them at that stage of loading?
0
votes
0 answers

Why does the 2ndbootloader binary file of an Android image is increasing in size by 6724 bytes on incremental builds of the source code?

I have built the source code of Android five times and on every build of the source code, I am getting image file size increasing at constant rate. 2ndbootloader binary file is increasing as well as boot.img is increasing in size. what might be the…
golo
  • 1
0
votes
1 answer

Changes made to /etc/extlinux/extlinux.conf are not loaded after reboot

I have some trouble with usb autosuspend and found that with extlinux you can change the config file to disable it. So I added usbcore.autosuspend=-1 to the APPEND line APPEND ${cbootargs} usbcore.autosuspend=-1 However when I cat…
0
votes
1 answer

Is there any graphical bootloader for x86 PCs?

As you may know while dual booting on windows you get this nice boot menu: I was curious as to whether there is a way to replace the textual looking Grub bootloader with something that look's more like the windows bootloader? To change this: …
asaf
  • 1
0
votes
1 answer

Why in Boot loader most often written in assembly language?

I am studying the concept of Operating system. In that i read point of Boot loader. Why boot loader is most often written in assembly language.
msc
  • 537
0
votes
1 answer

Definition of bootloaders

How to define what boot loader on my computer is primary and what is secondary? Maybe some command? System has ROM with BIOS. I know that I can go to folder /boot/ to see what kind of loader my system is using, but what I am going to do if there…
fuser
  • 687
  • 3
  • 17
  • 30
0
votes
1 answer

Mislocated bootloader is needed removed

I used to have Windows XP on my computers smaller partition but it seems the bootloader is located on the bigger one. After replacing my OS with Linux Mint, I kept being asked as to choose whether XP or Mint. I tried deleting boot.ini, didn't…
-3
votes
1 answer

I am having trouble installing Linux Mint (Gnu/Linux)

sorry just frustrated. My machine is the Dell Inspiron Mini 1012 with Intel Atom N450 @ 1.7-GHz on GMA 3150 (no NVIDIA Graphics) and Legacy BIOS (only). It runs on 32-bits Architecture, 2MB of RAM. The mainboard is PC2-5300 (800-MHz) DDR2 SODIMM and…
smok
  • 1