Linux system boot failure and GRUB repair: command-line recovery guide¶
A Linux system boot failure can halt workstations, production servers, and dual-boot laptops without warning, dropping you into a stark grub rescue> prompt, a minimal grub> shell, an (initramfs) mala dracut:/# emergency console, a systemd "You are in emergency mode" maintenance prompt, or a black screen with a blinking cursor.
Unlike operating systems that hide startup mechanics behind opaque graphical error codes, Linux exposes every stage of the boot pipeline directly to the administrator. Almost every Linux boot failure stems from one of five fixable root causes: an overwritten or misconfigured GRUB 2 bootloader (commonly triggered after a Windows update on a dual-boot PC), a dirty ext4/xfs/btrfs root filesystem after a sudden power outage, a broken /etc/fstab disk UUID entry, a 100-percent full root (/) storage partition, or an interrupted kernel and graphics driver upgrade. Matching your exact on-screen prompt to the corresponding boot stage lets you repair the system cleanly without formatting your drive or losing your data.
Waɗde ɗum jooni¶
When your Linux computer or server refuses to boot, follow these six immediate diagnostic and safety steps before running any destructive disk commands:
- Read the exact prompt on your screen to identify which boot stage failed:
grub rescue>malagrub>: The motherboard UEFI/BIOS loaded the first stage of GRUB, but GRUB cannot locate/boot/grubor its configuration file (grub.cfg).(initramfs)maladracut:/#: GRUB loaded the Linux kernel and initial RAM disk fine, but the kernel could not mount your main root (/) filesystem (usually becausefsckneeds to repair a dirty disk).You are in emergency mode / Give root password for maintenance: The root filesystem mounted, butsystemdfailed to mount a secondary drive listed in/etc/fstab.- Black screen with a blinking cursor after the GRUB menu: The operating system booted, but the graphical Display Manager (GDM, SDDM, LightDM) failed due to a 100% full root disk or a broken Nvidia/AMD GPU driver.
- Try booting the previous Linux kernel from the GRUB menu first: Reboot the machine and hold Shift (BIOS) or tap Esc repeatedly (UEFI) right after the manufacturer logo to reveal the GRUB menu. Select "Advanced options for Ubuntu / Debian / Fedora" and pick the second-oldest kernel on the list. If a recent kernel update broke your
initramfsor GPU module, the previous kernel will boot straight into your desktop in 10 seconds. - Switch to a virtual TTY text console if stuck on a black screen: If the boot sequence freezes on a black screen with a blinking underscore or stuck splash logo, press
Ctrl + Alt + F3(orCtrl + Alt + F2throughF6). If alogin:text prompt appears, your Linux system is actually running, log in with your username and password to clean full disk space or fix graphics drivers. - Never run
fsckon a partition that is currently mounted read-write: Runningfsckon a live, read-write mounted filesystem corrupts open inode tables and destroys files. Only runfsckfrom the(initramfs)shell (where root is unmounted), on a read-only mount, or from a Live USB stick. - Unplug all non-important external USB hard drives and SD cards: A failing external USB drive listed in
/etc/fstabor taking over boot priority in BIOS will halt the boot sequence. Unplug external drives and reboot to test. - Prepare a Live Linux USB stick if GRUB or the kernel is completely missing: Keep a bootable Live USB flash drive (Ubuntu, Linux Mint, Fedora, or SystemRescue) handy so you can mount your encrypted or standard partitions and run a
chrootbootloader repair.
Critical: Ko WAƊAANI waɗde
Never run grub-install, dd, fdisk, mala mkfs haa a hoolkiso disko maa tigi-rigi e laylaytol partition huutoraade lsblk -f mala blkid. Inɗe node kaɓirɗe hono /dev/sda be /dev/sdb are assigned dynamically by the Linux kernel at boot and can swap order when a Live USB stick is plugged in. Accidentally formatting or overwriting the partition table of the wrong /dev/sdX drive maa halku dokke maa. Yanti heen, woto meeɗ dogginde kuutorɗe peewnugol filesystem hono fsck on partitions mounted read-write, never force-power off a system during an active kernel or bootloader package upgrade, and never delete system libraries in /usr/lib mala /lib in an attempt to clear space on a full root drive.
Decision tree: diagnosing the 5 Linux boot failure stages¶
Use this diagnostic flowchart to trace your exact screen output to the matching command-line fix:
flowchart TD
A["Linux System Fails to Boot to Desktop / Login"] --> B{"What is displayed on the screen?"}
B -->|"grub rescue> or grub> prompt"| C["Stage 1 Failure: Use ls to locate /boot/grub, set root & prefix, boot OS, then run grub-install"]
B -->|"BusyBox (initramfs) or dracut:/# shell"| D["Stage 2 Failure: Identify root partition with blkid and run fsck -y /dev/partition"]
B -->|"Emergency Mode: Give root password for maintenance"| E["Stage 3 Failure: Run mount -o remount,rw / and fix or comment out broken UUID in /etc/fstab"]
B -->|"Black screen or blinking cursor after GRUB"| F["Stage 4 Failure: Press Ctrl+Alt+F3 (or boot emergency.target) to clear 100% full disk or GPU driver"]
B -->|"Boots straight into Windows or 'No Bootable Device'"| G["UEFI/EFI Boot Order Wiped: Boot Live USB, mount Root + EFI, chroot, and reinstall GRUB"]
Comparison of Linux boot failure prompts, causes, and commands¶
| On-Screen Error / Prompt | Boot Stage Reached | Primary Root Cause | Fastest Repair Command Sequence |
|---|---|---|---|
error: no such partition / grub rescue> |
Stage 1 (GRUB Core) | Disk partitions resized, cloned, or UUID changed; GRUB cannot find /boot/grub/normal.mod. |
ls -> set root=(hdX,gptY) -> set prefix=(hdX,gptY)/boot/grub -> insmod normal -> normal |
grub> (Standard GRUB CLI) |
Stage 1.5 (GRUB Normal) | /boot/grub/grub.cfg is missing or deleted, though GRUB modules loaded fine. |
set root=(hdX,gptY) -> linux /boot/vmlinuz-... root=/dev/nvme0n1p2 -> initrd /boot/initrd.img-... -> boot |
BusyBox (initramfs) or dracut:/# |
Stage 2 (Kernel + Initramfs) | Doole-off mo laaɓaani heddii ext4/xfs root journal dirtuɗo, ina ɗaɓɓi junngo fsck approval. |
blkid -> fsck -y /dev/nvme0n1p2 (mala xfs_repair -L for XFS) -> reboot -f |
You are in emergency mode (sulogin law) |
Daawe 3 (systemd Koɗorɗe) |
Drive ɗiɗaɓo walla partition swap e nder /etc/fstab ko ɓuuɓnaa, waylaama, walla bonnaama. |
Naatnu konngol root -> mount -o remount,rw / -> nano /etc/fstab (besdugo nofail mala #) -> systemctl daemon-reload -> reboot |
[FAILED] Failed to start GNOME Display Manager / Kursor ɓuuɓɗo |
Daawe 4 (Njuɓɓudi hollirde / GUI) | Feccere ruttorde / ko 100% timmuɗo (0 bayt ko mbelnaari ngam /tmp walla soketuuji Xorg) WALLA mooɓre kernel Nvidia ɓuuɓnde (dkms). |
Iyugo Ctrl+Alt+F3 -> df -h -> journalctl --vacuum-size=100M & apt clean MALA ubuntu-drivers autoinstall |
Sifaa 1: Dogde e... grub rescue> mala grub> ƴamde tawa aɗa jogii kaɓirgal USB¶
So ekran maa hollitii error: unknown filesystem, error: no such partition, mala Minimal BASH-like line editing is supported rewi heen ko grub rescue> mala grub>, jolngo maa Linux e fiiluuji maa keertiiɗi ina keewi jooɗaade haa jooni e SSD maa walla e disko maa, GRUB tan majjii hol partition jogii /boot/grub. Aɗa waawi fuɗɗoraade e nder OS maa gonɗo e ndee ɗoo ɗaɓɓaande e nder hojomaaji 2:
Case A: Aɗa woni e... grub rescue> law¶
Ha grub rescue>, ko jamirooje nay tan kuutortoo (ls, set, unset, be insmod). Rewtu ɗeeɗoo geɗe no moƴƴi:
- Limtu denndaangal diskiiji e partiiji ɗi firmware kartal yumma ngal yiyri:
GRUB maa yaltin doggol hono:
(hd0) (hd0,gpt1) (hd0,gpt2) (hd0,gpt3)(mala(hd0,msdos1)e diskooji MBR ɓooyɗi). - Ƴeewto kala feccere haa njiyto-ɗaa root Linux maa (walla...
/boot) regginorde: (Ciftor waɗde heen limre caggal/e joofnirde kala heenlsƴeewto so GRUB ina limta inɗe fiilde nder ndeen feccere): - To
(hd0,gpt1)/hollirtaefi/, ɗum woni Feccere Siistem FAT32 EFI maa tokosere. - Nde feccere yalti
boot/ etc/ home/ usr/ var/ vmlinuz initrd.img, a tawii fedde maa root Linux mawnde (yeru,(hd0,gpt2)). (Tesko: So a huutoriima Btrfs e@limtooji lesɗi dow Ubuntu/Fedora,ls (hd0,gpt2)/maa hollu@/ @home/, firti ko foldere boot maa woni ko e(hd0,gpt2)/@/boot/grub.) - Toɓɓere GRUB to partition maa e jolnude...
normalmoodel: So en teskiima root maa Linux ina huɓɓi(hd0,gpt2):(So aɗa jogii dedicated ceertuɗogrub rescue> set root=(hd0,gpt2) grub rescue> set prefix=(hd0,gpt2)/boot/grub grub rescue> insmod normal grub rescue> normal/bootfeccere e dow(hd0,gpt2), huwugo beset prefix=(hd0,gpt2)/grubwala/boot.) - Waɗde feere ndee ko duumiinde so desktop maa fuɗɗiima:
Ko yaawi tan
normaldogata, menyu maa GRUB keeriiɗo feeñata, uddita system Linux maa. Teeŋtuɗo: Ɓeensetyamiroore ndee ko juutnde e nder RAM. So a naatii e biro maa Linux, udditaa terminal, winndu haa abada nokku GRUB potɗo e disko maa:
Case B: Aɗa woni e tolno grub> law¶
So a yiyii grub> (tawa konngol ngol alaa rescue), e normal module ina jokki, kono maa grub.cfg fiilngo menyu ina ŋakki walla ina boni. Aɗa waawi udditde kernel Linux e junngo maa e nder diidi nay kuutortooɗi Timminde otomatik Tab:
grub> set root=(hd0,gpt2)
grub> linux /boot/vmlinuz-6.8.0-45-generic root=/dev/nvme0n1p2 ro
grub> initrd /boot/initrd.img-6.8.0-45-generic
grub> boot
linux /boot/vmlinuz e toɓɓude Tab key, GRUB maa timmin limooje kernel laaɓtuɗe gonɗe e disko maa.) So a fuɗɗiima e nder OS maa, dogdu sudo update-grub (Debiyan/Ubuntu) walla... sudo grub2-mkconfig -o /boot/grub2/grub.cfg (Fedora/RHEL) ngam ƴellitde fiilde menyu ŋakkuɗo oo.
Sifaa 2: Fiɓnde (initramfs) mala dracut kolli e fsck¶
So ordinateer maa rewii e menyu GRUB, hollirta ko Linux boot splash e nder leƴƴanɗe seeɗa, caggal ɗuum fawa e binndol ɓalewol jaŋngugol:
BusyBox v1.36.1 (Ubuntu) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) _
(initramfs) law. Laabi jeenay e nder sappo, maa njiy:
The root filesystem on /dev/nvme0n1p2 requires a manual fsck
Feewnitde filesystem Ɗatal e Ɗatal gila (initramfs)¶
- Tabitin hol partition potɗo feewnireede: So innde partition ndee winndaaka dow ɗoo, winndu
blkide toɓɓude Enter ngam limtude maaext4,xfs, malabtrfspeccitagol. - Doggondirde e kuutorgal peewnugol filesystem nanndungal:
- Ngam
ext4/ext3njuɓɓudi fiilngo (ko woni e Ubuntu, Debian, Mint): E-yflag automatically answers "yes" to every corrupted inode, orphaned block, and journal replay prompt instead of making you pressy500 times. - Ngam
XFSfilesystems (default on RHEL, AlmaLinux, Rocky Linux, CentOS): Standardfsckdoes nothing on XFS. In adracut:/#shell on an XFS system, run: (Only pass the-Lflag to zero the XFS metadata log ifxfs_repairrefuses to run due to an unmountable dirty log and you have no other option). - Ngam
Btrfsfilesystems (default on Fedora, openSUSE): First try clearing the Btrfs log tree safely withbtrfs rescue zero-log /dev/nvme0n1p2. Never runbtrfs check --repairunless instructed by a Btrfs developer or after backing up data from a Live USB, as--repairis considered dangerous on Btrfs.
- Ngam
- Exit and reboot: Once
fsckprints***** FILE SYSTEM WAS MODIFIED *****, typeexit(malareboot -f) and press Enter. Your system will mount the clean partition and boot normally.
Scenario 3: Fixing /etc/fstab errors in systemd Emergency Mode¶
If your screen stops mid-boot with:
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs,
"systemctl reboot" to reboot, or "exit" to continue bootup.
Give root password for maintenance (or press Control-D to continue):
/etc/fstab, formatted a swap partition (which changed its UUID), or unplugged a secondary internal/external hard drive that is listed in /etc/fstab without the nofail option. By default, systemd halts the entire operating system boot if any disk listed in /etc/fstab fails to respond within 90 seconds.
How to fix /etc/fstab in 90 seconds¶
- Type your root password (or press Enter if on Ubuntu where the root account is locked and it drops you in directly; if Ubuntu says
Cannot open access to console, the root account is locked, see theinit=/bin/bashnote below). - Remount the root filesystem as Read-Write: In emergency mode,
/is often mounted Read-Only, so if you try to save/etc/fstab,nanowill sayError writing /etc/fstab: Read-only file system. Run this first: - Find out which line in
/etc/fstabis broken: Runmount -a. Whatever drive is broken will immediately print an error (for example,mount: /mnt/backup: can't find UUID=4a8b...). You can also compare your real drive UUIDs against/etc/fstabby running: - Edit
/etc/fstaband addnofailwalla ƴeewde liggey bonɗo: Waɗde a#e fuɗɗoode diisnondirɗo ɗiɗaɓo taƴaaɗo walla laylaytol swap ngam haɗde ɗum (walla ɓeydude,nofailto colonel cuɓe mount ko wayi nodefaults,nofailko noon Linux meeɗaa salaade bootde so oon diski yaajɗo yaltinaama). Hisnu eCtrl+O, toɓɓu Naat, yaltu eCtrl+X. - Lowre
systemde hoolkisaade hade maa fuɗɗaade: Tomount -aina wartira majjere zero, winndurebootkadi ordinateer maa ina ɓuuɓtoo laaɓɗo.
Warning
Hol ko woni so Ubuntu/Debian wiyii "Cannot open access to console, the root account is locked" to ƴamal Mode Emergency? Ngam Ubuntu ina haɗa... root password e mbaydi kuuɓtodinndi e fawaade e sudo, sulogin sahaa e sahaa fof ina uddita ma e Mode Emergency so tawii disko ina naati /etc/fstab ina ŋakka. Ngam woppude oon coktirgal e nder leƴƴanɗe 30 : fuɗɗoo, jokku Shift walla tappu Esc ngam udditude menyu GRUB, teeŋtin Ubuntu, toɓɓu e ngam waylude yamiroore boot, ƴeew doggol fuɗɗortoongol linux /boot/vmlinuz..., saanjugo ro quiet splash to joofnirde ndeen doggol e ** .rw init=/bin/bash**, e toɓɓude Ctrl+X or F10. Ɗuum ina bypass systemd timmuɗo e jippinde ma njuumri e nder unlocked # root shell e jokkondire janngude-winndude ngam mbaawa dogaade nano /etc/fstab.
Sifaa 4: Resde e ruttorde timmunde 100% (/) disko walla difoore GPU loppitnde¶
So tawii ordinateer maa rewii GRUB no moƴƴi, hollirtaa majjere filesystem, caggal ɗuum fawi haa abada e ekran ɓaleejo mo kursorgel ɓuuɓngel woni e ŋorol dow-nano (walla loopuuji ngarta e ekran naatgol kala nde mbinndu-ɗaa password maa, toɓɓu-ɗaa Enter), partition root maa (/) ina fotnoo wonde 100% timmuɗo. Ndey / ina jogii 0 megabayt nokku mo alaa ko woni e mum, Xorg, Wayland, e GNOME/KDE mbaawataa sosde fiilngo coktirgal jonnde kiloobayt 4 e nder /tmp mala /var/lib, addanta desktop oo ɓuuɓde e deeƴre.
No njiyru-ɗaa gigabytes nokku e konsol TTY¶
- E ekran kursorɗo ɓaleejo ɓuuɓɗo (walla ekran naatgol looping), toɓɓu ** .
Ctrl + Alt + F3** (e nder laptopuuji, ina gasa tawa aɗa sokliCtrl + Alt + Fn + F3) ngam waylude ekran nate ɓuuɓɗe (TTY1/TTY2) feewde e terminal binndol laaɓtungol (TTY3). - Naat e innde kuutortooɗo maa e konngol maa, caggal ɗuum ƴeewto kuutoragol disko:
- To
Use%hollirta100%(malaAvailhollirta0), dognu ɗeeɗoo jamirooje nay laaɓtuɗe kisal ngam yaltinde 2 GB haa 25 GB nokku ɗoon e ɗoon:(So tawii fiilde log dogdu ina yiɗi# 1. Clear downloaded package cache (.deb / .rpm archives sitting in /var/cache): sudo apt-get clean # (Ubuntu/Debian/Mint) # sudo dnf clean all # (Fedora/RHEL) # 2. Shrink bloated systemd system logs down to 100 MB: sudo journalctl --vacuum-size=100M # 3. Remove old unused Linux kernel versions and orphaned packages: sudo apt-get autoremove --purge -y # 4. Find the top 10 largest folders inside /var (e.g., Docker, Snap, or runaway /var/log/syslog): sudo du -xh /var | sort -rh | head -n 15/var/log/syslogmala/var/log/ufw.logina balloni haa 50 GB, ɓuuɓna ɗum ɗoon e ɗoon esudo truncate -s 0 /var/log/syslog.) - Ko waɗi
df -hsahaa e sahaa fof ina holliraAvail: 0(100% timmuɗo) nde 95% tan e disko oo huutortee? E dow mbaydi,ext4reserves 5 e nder teemedere e feccere ndee fof ko wonande...rootkuutortooɗo ngam sarwisaaji root ina mbaawi dogaade haa jooni so kuutortooɗo no woorunoo hebbinii disko oo. E SSD 1 terabyte, 5% ko 50 GB mawɗo jogorɗo hoɗeede. Aɗa waawi heɓtude ɗoon e ɗoon 40+ GB e oon buffer keɓaaɗo ngam konte kuutortooɗo maa no woorunoo tawa aɗa doga: - Once
df -h /shows several gigabytes available, runsudo rebootand your graphical desktop will log in normally.
What if df -h has plenty of free space, and the black screen started after an Nvidia driver or kernel update?¶
If your disk is not full and the black screen began right after an update on a PC with an Nvidia graphics card, the Nvidia proprietary kernel module (nvidia.ko) failed to compile via dkms for your new kernel, or Secure Boot blocked the unsigned module:
- From the
Ctrl + Alt + F3TTY console, check if the driver module is loaded by runningnvidia-smi. - To
nvidia-smisaysNVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver, either disable Secure Boot inside your motherboard UEFI/BIOS settings (if Secure Boot is blocking the unsigned DKMS module), or rebuild the kernel headers and driver:
Scenario 5: Complete Live USB chroot rescue (for wiped EFI/GRUB, LVM, LUKS, and Btrfs)¶
When a Windows 11 update overwrites your UEFI boot entries, a kernel update crashes mid-flight while power goes out, or grub rescue> cannot read your partition, boot your computer from a Live Linux USB drive (selecting "Try Ubuntu" or live desktop mode) and perform a chroot (Change Root) repair. A chroot lets your Live USB terminal step inside your broken SSD installation and run apt, dnf, update-initramfs, be grub-install as if the system had booted normally.
Step 1: Identify and unlock your storage layout (lsblk -f)¶
Open a terminal inside the Live USB desktop and run:
Look at theFSTYPE column to see which of the four common storage architectures your Linux installation uses, and mount it to /mnt using the matching block below:
- Case 1: Standard
ext4malaxfspartition (e.g., Root is/dev/nvme0n1p2and EFI is/dev/nvme0n1p1): - Case 2: Encrypted LUKS root partition (
crypto_LUKS) (default when "Encrypt my disk" was checked during install): You must decrypt the LUKS container first before mounting:sudo cryptsetup luksOpen /dev/nvme0n1p3 cryptroot sudo vgchange -ay # Activates LVM volumes inside LUKS if used sudo mount /dev/mapper/cryptroot /mnt # (Or /dev/mapper/ubuntu--vg-ubuntu--lv) sudo mount /dev/nvme0n1p2 /mnt/boot # Mount separate unencrypted /boot partition sudo mount /dev/nvme0n1p1 /mnt/boot/efi # Mount FAT32 EFI partition - Case 3: Btrfs filesystem with
@subvolumes (default on Fedora, openSUSE, and Ubuntu Btrfs installs): If you mount a Btrfs partition without specifyingsubvol=@,/mntmaa hollu tan@be@homefoldereeji e nokku/binbe/etc, bechroot /mntmaa fallu efailed to run command '/bin/bash': No such file or directory. Tufnde nde@subvolume laaɓɗo:
Ɗatal 2: Jokkondirde e fiilngo kernel wirto (ina heen UEFI efivars) e naatde chroot¶
Ngam grub-install be apt (jokkondiral internet DNS) ngam golloraade e nder chroot, jokkondir-moƴƴina regginorde kernel wirwirnde Live USB e waylooji UEFI NVRAM e nder /mnt:
# Bind-mount virtual device, process, sysfs, run (for DNS resolv.conf), and UEFI variables:
for dir in /dev /dev/pts /proc /sys /sys/firmware/efi/efivars /run; do
sudo mount --bind $dir /mnt$dir
done
# Step inside your installed Linux system:
sudo chroot /mnt /bin/bash
Ɗatal 3: Feewnitde paɗe, mahde initramfs, e udditde GRUB e nder mum chroot¶
Jooni noon ko prompt maa hollirta root@ubuntu:/#, dognu yamiroore feewnitagol ngam renndinde maa:
# 1. Fix any half-installed kernel upgrades (Ubuntu/Debian):
dpkg --configure -a
apt-get install -f -y
# 2. Rebuild the initial ramdisk for all installed kernels:
update-initramfs -c -k all # (Debian / Ubuntu / Mint)
# dracut --regenerate-all --force # (Fedora / RHEL / Rocky)
# mkinitcpio -P # (Arch / Manjaro)
# 3. Reinstall GRUB to the EFI System Partition and regenerate grub.cfg:
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --recheck
update-grub # (Or: grub2-mkconfig -o /boot/grub2/grub.cfg on Fedora)
Ɗatal 4: Yaltu laaɓal e reboot¶
Ittu disko USB Live so naamnaama. Siistem maa maa fuɗɗo ko yaawi e nder menyu maa GRUB mo moƴƴinaa e desktop Linux.Eɓɓooje gollorɗe diiwaan, ɗooftaare nokkuuji dokke, e seedantaagal hardware¶
Njuɓɓudi bootloader Linux Enterprise e kisal firmware ina njogii sarɗiiji ngenndiiji tiiɗɗi e kaɓirɗe kisal siber:
- Leyɗeele dentuɗe Amerik: Laamu e gollorɗe ina njokki e bayyinaango keeriiɗo 800-147B (Kuule ndeenka BIOS wonande serwooɓe) e SP 800-193 (Kuule reentaade lowre ndee). Instalaasiyoŋaaji fedde nde gollotooɗi e Red Hat Enterprise Linux (RHEL) walla Rocky Linux ina poti ɗooftaade jamirooje kuutoragol karallaagal kisal (STIGs) ɗe Fedde toppitiinde ko fayti e humpitooji (DISA) ƴetti. Ɗeeɗoo tolnooji ina ɗaɓɓi ndeenka konngol e menuuji boot GRUB 2, haɗde baylugol parameeteruuji kernel jokkondirɗi, newnude UEFI Secure Boot e loowdiiji Shim toɓɓere adannde, e siifde mooftirgel root e mooɓre FIPS 140-⅔ jaɓaande LUKS.
- Dental Dowlaaji Dentuɗi: Nokku ngenndiijo kisal siber (NCSC) yaltinii ardorde kisal kaɓirɗe ngam laylayti Linux gollorɗe, yamiri laaɓal laylayti gonɗi e hardware. Siistemaaji kuutorteeɗi e nder laamu walla e nder gollorɗe ngenndiije teeŋtuɗe ina poti huutoraade peeje Module Platform Hoolaaɗo (TPM 2.0) ngam siifde kuutorɗe sifirgol disko LUKS e dow binnditagol konfiguraasiyoŋ Platform (PCRs), ngam tabitinde diisnondirɗo oo ina uddita otomatike tan so firmware UEFI, kuutorɗe Secure Gmpertana Boot udditaama timmuɗe.
- Dental Orop: E nder Dental Orop, Biro Fedde Ngenndiije Dentuɗe ngam Kisal Kabaaru to Almaañ (BSI) ina sosa kisal teskinngal rewrude e mahngo IT-Grundschutz SYS.1.3 (Server Linux e Unix). Laabi BSI ina ɗaɓɓi seerndude no feewi peccitagol bootooji, jokkondire bootooje ɗe mbaylaaka, e laabi toppitagol ƴeewndaaɗi. E nder kuulal UE jowitiingal e kisal resooji e kabaruuji (NIS 2), juɓɓule gollotooɗe e sarwisaaji dijital baɗɗi faayiida ina poti jogaade laabi cemmbinɗi ngam hisnude musiibaaji bare-metal ngam heblude paandaale waktuuji cemmbingol (RTO) e nder ŋakkeende njuɓɓudi gollordu.
- Kanada: Catal Kanadaa ngam Kisal Siber (CCCS) ina rokka ardorde e les ITSG-33 (Njuɓɓudi Riis Kisal IT), holliroowo jokkondire ngam nokkuuji gollorɗi Linux e nder gollorɗe. E ɗooftaade sariya jowitiiɗo e reende kabaruuji neɗɗo e binndanɗe elektoronik (PIPEDA), diskiiji serweruuji ɓalliwal gonɗi e ƴellitde bootloader walla lomtinande controller ina poti huutoraade sifirde hardware walla toɓɓere volume ngam haɗde feeñninde dokke e nder golle.
- Ostraali: Direkteer Signal Ostarali (ASD) yaltinii deftere kisal kabaruuji (ISM), nde hollirta sarɗiiji ngam njuɓɓudi Linux gollorɗe. ISM ina yamiri yo juɓɓule mbaɗtu huutoraade UEFI Secure Boot, reena konfiguraasiyoŋaaji bootloader e waylooji ɗi hoolkisaaka, e winndude jokkondire shell toppitiiɗe e nder defte ƴeewndo cakkitiiɗe ngam jokkude ɗooftaare peeje ustude Essential Eight.
Naamne keewɗe naamneede¶
Why did my dual-boot Linux GRUB menu disappear after a Windows 10 or Windows 11 update?
Major Windows feature updates frequently reset the motherboard's UEFI NVRAM boot priority order, placing "Windows Boot Manager" back at #1 above "ubuntu" or "fedora" without actually deleting your Linux files. Before booting a Live USB, first enter your motherboard BIOS/UEFI settings at startup (press `F2`, `F12`, or `Del`) and check the **Boot Order / UEFI Boot Priority** list, often you can simply move `ubuntu` or `GRUB` back above `Windows Boot Manager`, save with `F10`, and your GRUB menu returns immediately. You can also run `bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi` inside an Administrator Command Prompt in Windows to restore GRUB without a USB stick.
Why does `chroot /mnt` say `failed to run command '/bin/bash': No such file or directory` when I try to rescue my system?
This error happens for one of three reasons: (1) You accidentally mounted your small `/boot` or `EFI` partition to `/mnt` instead of your main Linux root partition (verify with `ls /mnt`, you should see `bin`, `etc`, `usr`, and `var`); (2) your system uses the **Btrfs** filesystem with subvolumes, so `ls /mnt` only shows `@` and `@home`, unmount `/mnt` and remount with `sudo mount -o subvol=@ /dev/nvme0n1p2 /mnt` (or `subvol=root` on Fedora); or (3) you accidentally booted a 32-bit Live USB stick while trying to `chroot` into a 64-bit (`x86_64`) Linux installation.
What does the kernel panic message `VFS: Unable to mount root fs on unknown-block(0,0)` mean at boot?
This kernel panic means the Linux kernel started without a valid `initramfs` (initial RAM disk) image, usually because a system update was interrupted while generating `/boot/initrd.img-...` or because your `/boot` partition ran out of space during a kernel upgrade. Reboot, hold `Shift` or tap `Esc` to open the GRUB menu, select **"Advanced options"**, and boot into the previous older kernel listed right below the newest one. Once logged into your desktop on the older kernel, free up space in `/boot` with `sudo apt autoremove --purge` and rebuild the broken ramdisk with `sudo update-initramfs -c -k all && sudo update-grub`.
How can I temporarily bypass broken graphics drivers from the GRUB menu using `nomodeset`?
If your monitor turns completely black or loses signal right after the GRUB menu due to a GPU driver problem, reboot and tap `Esc` or hold `Shift` to open the GRUB menu. Highlight your Linux entry and press **`e`** on your keyboard. Use the arrow keys to find the line starting with `linux /boot/vmlinuz...`, move to the end of that line where it says `quiet splash`, and replace `quiet splash` with **`nomodeset`**. Press **`Ctrl + X`** or **`F10`** to boot. The `nomodeset` parameter tells the Linux kernel not to load hardware video drivers until after Xorg starts, using basic BIOS framebuffer graphics so you can see your screen and fix your GPU drivers.
Why did `grub-install` inside `chroot` warn that `EFI variables are not supported on this system`?
That error occurs for one of two reasons: either you accidentally booted your Live USB flash drive in **Legacy BIOS / CSM mode** instead of **UEFI mode** when selecting it in your motherboard's F12 boot menu (check by running `ls /sys/firmware/efi`, if that folder does not exist on the Live USB, reboot and select the `"UEFI: [USB Drive Name]"` entry in your BIOS boot menu), OR you forgot to bind-mount `/sys/firmware/efi/efivars` into `/mnt/sys/firmware/efi/efivars` before running `chroot /mnt`.
How do I prevent a secondary external or internal hard drive in `/etc/fstab` from ever crashing my Linux boot again?
Whenever you add any non-root storage drive (such as a second SSD, a RAID array, an external USB backup drive, or a network Samba/NFS share) to `/etc/fstab`, always include **`nofail,x-systemd.device-timeout=10`** in the fourth column (mount options), and set the sixth column (`pass` / `fsck` order) to **`0`** or **`2`**. With `nofail` enabled, if that drive is ever unplugged or fails, `systemd` waits only 10 seconds, logs a non-fatal warning, and boots normally into your desktop instead of dropping you into Emergency Mode.
Seedantaagal ballal gadanal e kisal karallaagal e nokkuuji golle¶
Diagnostics boot to bannge hardware ina heewi ɗaɓɓude udditaade keesuuji desktop, lomtinande doole, walla ƴeewtaade kaɓirɗe rack serwer. Karallaagal ina jogori dañde caɗeele kuuraa bonɗe ummoraade e capaatooji bonɗi, lacerations ummoraade e chassis njamndi mboɗeeri, e gaañanɗe ɓuuɓɗe ummoraade e kaɓirɗe teeŋtuɗe gonɗe e rack. So tawii jolngo kuuraa waɗii, ɗoon e ɗoon, taƴtu jolngo ngoo hade maa meemde jolngo ngoo, nodda sarwisaaji cafrirɗi. Anndude no CPR waɗetee e no njuɓɓinirta ƴiiƴam walla soklaaji tiiɗɗi ina tiiɗi e nder suudu serwer no feewi no caɗeele karallaagal nii. Min ɗon wasiyo timminki ballal arandewal, CPR/AED, e janngirde cellal e kisal haa nokkuure kuugal rewrude e Croix-Rouge, St John Ambulance, malla hukuumaaji kisal lesdi.
Fuɗɗoode ƴeewtaama¶
- Eɓɓoore GNU / Fooyre Software Libre (Hakkunde Leyɗeele): Deftere GNU GRUB laawɗunde 2.12 , Puɗɗagol ummoraade e
grub>begrub rescue>Koppi yamiroore (gnu.org/software/grub/manual). - Arsiif Kernel Linux & Kernel.org (Hakkunde Leyɗeele): Parametruuji Kernel (
admin-guide/kernel-parameters.txt),initramfsNokku kuutortooɗo arano, e Njuɓɓudi Siistem Fiilde (docs.kernel.org). - Serwer / Ubuntu & Binndanɗe Desktop (Dental Dowlaaji Amerik / Duundeere): Restoraasiyoŋ Bootloader GRUB2, Laabi LiveCD Chroot, e Njuɓɓudi nokku disko (
help.ubuntu.com,ubuntu.com/server/docs). - Red Hat Enterprise Linux (RHEL) & Binndanɗe eɓɓooje Fedora (Dowlaaji Dentuɗi Amerik): Caɗeele Boot e...
dracut,xfs_repair, begrub2-mkconfig(docs.redhat.com,docs.fedoraproject.org). - Wiki Linux (hakkunde): GRUB, Chroot,
fstab, bemkinitcpioTuugnorgal karallaagal (wiki.archlinux.org). - Binndanɗe (hakkunde leyɗeele):
systemd.unitPaandaale Emergency e Hisnude,journalctlVacuuming, andsystemd.mountCuɓe (freedesktop.org/software/systemd/man).