Tag: Linux boot

How to update the GRUB bootloader on Debian and derivative distributions (Kali Linux, Ubuntu, Linux Mint)

The GRUB operating system loader is installed and updated on Linux like any other software package. But the peculiarity of the bootloader is that even after updating the package, the actual working files of the bootloader, which are located on the partition mounted along the /boot/grub/ path, are not automatically updated. That is, when new versions of GRUB are released,...

How to update the GRUB bootloader in Arch Linux and derivatives (Manjaro, BlackArch)

The GRUB operating system loader is installed and updated on Linux like any other software package. But the peculiarity of the bootloader is that even after updating the package, the actual working files of the bootloader, which are located on the partition mounted along the /boot/grub/ path, are not automatically updated. That is, when new versions of GRUB are released,...

“Initramfs unpacking failed: invalid magic at start of compressed archive” error (SOLVED)

This article will show you how to fix the Linux won't boot error. In this case, the solution is shown using Kali Linux as an example, but the steps are also applicable to Debian, Ubuntu, Linux Mint, and derivative distributions. An error occurred while booting Linux: Initramfs unpacking failed: invalid magic at start of compressed archive Kernel panic — not...

UEFI does not see installed Linux (SOLVED)

How to add a new boot option to UEFI UEFI usually automatically detects operating system loaders on media connected to a computer. But sometimes UEFI does not show all available options. Let's see how to add a new option to the UEFI boot menu. For example, I plugged a flash drive with two operating systems – Windows 11 and Kali...

How to boot into VirtualBox from USB

In this post I will tell you how to connect a USB disk (or USB flash drive) to a virtual machine so that the guest system treats it like a regular hard disk. This trick will allow you not only to boot from the installation USB – which is rather pointless. If you connect a USB disk or flash drive...

How to repair an LVM disk using fsck

How to repair an LVM disk If, due to errors on the disk, the system cannot boot, then usually in the emergency mode console you need to check the disk partitions, approximately as follows (you need to specify your disk name and partition number): umount /dev/sda2 fsck -y /dev/sda2 But if we are talking about LVM, or LVM with encryption,...

How to determine why Linux boots into Emergency mode

How to determine the exact reason why Systemd falls in emergency mode A Linux system can go into an emergency mode shell if it encounters problems during boot. The screen prompts you to execute the command journalctl -xb to find the causes of system problems. It is also proposed to execute systemctl default or exit so that the system tries...

Error “Cannot open access to console, the root account is locked” (SOLVED)

After a sudden power outage, unsuccessful update or adding a new disk to /etc/fstab, you may face the problem that your system does not boot, or rather, boots into the console or into a black screen. Sometimes the problem is compounded by the fact that the system administrator cannot even get into the emergency console. Let's see how to solve the...
Loading...
X