Questions tagged [boot]

Bootloader issues: what happens before the operating system itself starts.

Use this tag for issues related to booting the operating system, from power on to loading the kernel. Use for issues that come up during the startup of the operating system itself.

Overview of a computer boot sequence

When a computer boots, it first runs firmware stored in persistent memory. On PCs, this firmware is called the BIOS. If you have a problem at this stage, it's off-topic for this site, since Unix is not involved yet, but try asking on Super User.

The firmware then loads a bootloader, typically from disk or from the network. Although bootloaders are not part of the operating system proper, questions about bootloaders typically associated with unix and Linux are welcome on this site.

The bootloader loads the operating system . The kernel initializes itself and some hardware devices, then on typical Unix systems runs the init program. Init in turn starts system services, including programs that present a login prompt.

Related tags

  • for what happens after the kernel is loaded
  • for bootloaders in general
  • if you have more than one operating system

Bootloaders

  • (and ): a versatile bootloader used by many Linux distributions
  • : the traditional bootloader for Linux on PCs

Kernel boot sequence

  • , : on Linux, a virtual RAM disk that is loaded by the kernel before the “real” OS starts. The code in the RAM disk typically loads additional drivers (modules).

Unix boot sequence

  • : process number 1
  • : scripts that start and stop services, invoked by init at boot time
  • : a replacement for the traditional init program

Further reading

3531 questions
6
votes
1 answer

Dangerous Linux commands: In what ways is one harmful while the other seems to have no effect?

As many of you know, the >> operator appends the output of a command to whatever you put after it. I know that it can be used to overwrite or add data onto files, but I also know that it can be used in a malicious way: If a drive or partition is…
user388738
5
votes
1 answer

fwupd service is slowing the boot time on my PCIe SSD. Why is it doing that, and how can I fix it?

My system is currently showing some strange behavior on boot. The GUI login appears seconds after hitting the power button, but my keyboard and mouse remain unpowered for about a minute. systemd-analyze indicates fwupd.service is the problem: $…
Brandon Smith
  • 53
  • 1
  • 5
4
votes
3 answers

What are the absolute minimal requirements to boot a linux system

I figured that I would need a kernel image and a bootloader (grub), but is there anything else needed to boot a linux system?
4
votes
0 answers

Can't boot when moving Linux installation from one server to another - UEFI

Scenario I have two identical Lenovo (previously IBM) servers [xSeries 3250 M5 - model 5458EHM]. I've built Linux on server 1 and I want to be able to cold swap that hard drive to server 2. (This is so that I can build a specific Linux configuration…
Heath
  • 41
2
votes
1 answer

Placing bootfile does not work

I have created the following assembly file on x86: mov ah, 0x0e mov al, 'H' int 0x10 mov al, 'e' int 0x10 mov al, 'l' int 0x10 int 0x10 ; 'l' is still on al, remember? mov al, 'o' int 0x10 jmp $ ; jump to current address = infinite loop ; padding…
TVSuchty
  • 121
2
votes
1 answer

What is "components" in "boot=live components splash quiet"

It appears in /isolinux/menu.cfg in debian live-usb iso. APPEND initrd=/live/initrd.img-4.19.0-5-amd64 boot=live components splash quiet This doesn't seem to be a kernel parameter. I wasn't luckier in debian documentation either. The genericness of…
YvesgereY
  • 131
2
votes
1 answer

Welcome to emergency mode error

I have LinuxMint 18 KDE as my main OS. I wanted to try Zorin OS 12 on another partition, like I had many times before. And so I did, but, when I tried to get to LM, I get welcomed by the emergency mode. I have opened the journalctl -xb as it told me…
2
votes
1 answer

dmesg errors: usb, EXT4, ath3k

On Debian 8, whenever I run after boot dmesg | grep error I get [ 1.226156] usb 1-4: string descriptor 0 read error: -22 [ 1.431774] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro [ 1.623611] usb 1-4: Direct firmware load failed…
Reyx_0
  • 941
2
votes
2 answers

How to disable bluetooth device when startup on Ubuntu 12.4

How to disable bluetooth device when startup on Ubuntu 12.4, I've accessed /etc/init/bluetooth.conf file and comment #start on started dbus line. But when PC bootup Bluetooth device still running. How can I disable bluetooth device when system…
i2day
  • 576
2
votes
2 answers

Access Linux after installing another OS

I recently installed Fedora 20 and during the installations, I made a new disk partition where I installed Windows after Fedora. I do not get the alternative of booting Fedora now. How would I go about booting Fedora?
1
vote
1 answer

Can't boot any Linux except Ubuntu

Hello I wanted to switch to Linux, but the only distro so far I could even boot from a live USB was Ubuntu. I've tried Xubuntu, Manjaro, Linux Mint, and Elementary OS and none could boot, thought when I tried booting them on my old laptop ,…
1
vote
1 answer

Is there any software for Debian to fix my GRUB

Sometimes, when I boot up my PC, I find that after the logo screen, an _ (underscore) is blinking and the machine does not boot. After that I have to unplug it from the mains and restart it and then it runs fine. So, Please tell me what has happened…
user49418
1
vote
0 answers

How do i Install Linux mint with /boot partition

I have a particular reference video I am following but I am not sure what steps to execute if I am to install Linux mint with /boot partition. See reference video: https://www.youtube.com/watch?v=PQUp1MGtGQg Jump to 2:29 of the video The video does…
avg9957
  • 195
1
vote
2 answers

boot labels and sectors

Two of my disks have a boot label. How can I find from which disk my system (Debian Sid) booting? How can I find whether the boot sector is in the Master Boot Sector or in a Volume Boot Sector (at the beginning of the first disk partition)? How can…
erwin
  • 11
1
vote
0 answers

Boot from USB OTG by corrupting boot image

I'm trying to write a script that boots my device into FEL mode (device boots from USB OTG port). Normally, this is only possible by pushing a physical "flash" button on the PCBA during boot up. Here is the boot flow for the device: boot-> check fel…
mk-pop
  • 11
1
2 3