Parrot Linux Won’t Boot After Update: Kernel Rollback and Recovery Mode

If Parrot Linux won’t boot after an update, the cause is almost always one of four things: a new kernel that does not get along with your hardware or a third-party driver, a broken initramfs, a GRUB configuration that was regenerated badly, or an upgrade that was interrupted halfway through. The good news is that all four are recoverable without reinstalling, and in most cases without losing a single file. This guide takes you through the fixes in the order you should try them: boot the previous kernel, use recovery mode, repair the package system, rebuild the initramfs and GRUB, and, as a last resort, chroot in from a live USB.

First: Read the Symptom Before You Touch Anything

How the boot fails tells you where to look. Match what you see to the table below before running any commands.

What you seeMost likely causeStart with
GRUB menu appears, then a black screen or frozen text after choosing ParrotNew kernel vs. GPU driver (Nvidia, some AMD) or a broken initramfsBoot the previous kernel
“Kernel panic – not syncing: VFS: Unable to mount root fs”Missing or broken initramfs for the new kernelPrevious kernel, then rebuild initramfs
Drops to (initramfs) promptRoot filesystem not found: fstab, UUID or missing modulePrevious kernel, then check fstab and initramfs
No GRUB menu at all, “grub rescue>” or “no such partition”GRUB itself was damagedLive USB chroot and reinstall GRUB
Boots to a text login, no desktopDisplay manager or desktop packages half-upgradedRecovery mode, finish the upgrade
Loops back to the login screenSession or graphics stack problem, not a boot failureSee the black screen guide

Fix 1: Boot the Previous Kernel From GRUB

Debian-based systems, Parrot included, keep the previous kernel installed when a new one arrives. That older kernel is your safety net, and booting it takes thirty seconds.

  1. Power on and hold Shift (BIOS systems) or tap Esc (UEFI systems) as soon as the firmware logo disappears, until the GRUB menu appears. If Parrot normally boots straight through with no menu, this is how you force it.
  2. Choose Advanced options for Parrot.
  3. You will see two or more kernel entries, each with a version number. Pick the second newest non-recovery entry.
  4. Press Enter.

If the system boots normally on the older kernel, you have confirmed the problem is the new kernel, and you can repair it from a working desktop instead of a rescue shell. Open a terminal and check which kernel you are on and which ones are installed:

uname -r
dpkg --list | grep linux-image

Now decide between two paths.

Path A: Rebuild the new kernel’s initramfs and try again

Often the kernel is fine and only its initramfs (the small early-boot filesystem that holds disk and graphics modules) was built wrong, usually because an upgrade was interrupted or a DKMS module failed to compile. Rebuild all of them and refresh GRUB:

sudo update-initramfs -u -k all
sudo update-grub

Watch the output for errors mentioning a specific module or “dkms”. Reboot and choose the newest kernel again. If it boots, you are done.

Path B: Remove the kernel that does not work

If the newest kernel still fails and you need the machine today, remove it and hold the working one. Replace the version string with the one from your dpkg --list output:

sudo apt remove linux-image-7.1.0-xxx-amd64
sudo update-grub

Never remove the kernel you are currently running (uname -r) and never leave the system with zero kernels installed. A kernel package that apt refuses to remove because it is a dependency of the linux-image-amd64 metapackage can be pinned instead; see the “Hold a kernel” section below.

Fix 2: Use Recovery Mode to Finish a Broken Upgrade

If the kernel boots but the desktop does not, or the system hangs during the boot sequence, an upgrade probably stopped halfway. Recovery mode gives you a root shell with the disk mounted so you can let apt finish the job.

  1. Open the GRUB menu as above and choose Advanced options for Parrot.
  2. Pick the entry ending in (recovery mode) for the kernel that got furthest in booting.
  3. If you are offered a menu, choose root (drop to root shell prompt). Press Enter at the maintenance prompt.

In recovery mode the root filesystem is usually mounted read-only. Remount it writable and bring up networking before you can install anything:

mount -o remount,rw /
systemctl start NetworkManager
nmcli device status

If you are on Wi-Fi, connect with nmcli device wifi connect "SSID" password "yourpassword". With a wired connection, NetworkManager should pick it up automatically. Then let the package system repair itself:

dpkg --configure -a
apt --fix-broken install
parrot-upgrade

Those three commands, in that order, resolve the vast majority of half-finished upgrades. dpkg --configure -a finishes configuring packages that were unpacked but never set up; apt --fix-broken install pulls in anything missing; and parrot-upgrade completes the update the proper Parrot way. If you want to understand why the wrapper exists, the safe update and upgrade guide covers the difference between it and plain apt.

When the commands finish without errors, run update-initramfs -u -k all and update-grub once more, then reboot.

Fix 3: Repair GRUB and the initramfs From a Live USB (chroot)

When GRUB itself is broken, when no kernel entry boots at all, or when recovery mode is not reachable, you repair the system from the outside. You need a Parrot live USB; the USB drive guide shows how to make one, and any Parrot edition works for this, including Home.

Boot the live USB, open a terminal, and identify your installed partitions:

lsblk -f

You are looking for the root partition (ext4 or btrfs, often the largest), the EFI System Partition on UEFI machines (vfat, around 100–500 MB, usually mounted at /boot/efi), and a separate /boot partition if you created one during install. If you used full disk encryption, unlock it first; the full disk encryption guide explains the layout, and the unlock command is:

sudo cryptsetup open /dev/nvme0n1p3 cryptroot
# the root volume is then at /dev/mapper/cryptroot (or inside an LVM group)

Mount the installed system and bind the virtual filesystems. Adjust device names to match lsblk:

sudo mount /dev/nvme0n1p2 /mnt
sudo mount /dev/nvme0n1p1 /mnt/boot/efi      # UEFI only
for d in dev dev/pts proc sys run; do sudo mount --bind /$d /mnt/$d; done
sudo cp /etc/resolv.conf /mnt/etc/resolv.conf
sudo chroot /mnt

You are now “inside” the installed Parrot system as root, with network access. From here, run the same repair sequence as recovery mode:

dpkg --configure -a
apt --fix-broken install
update-initramfs -u -k all

Then reinstall GRUB. On a UEFI system:

apt reinstall grub-efi-amd64
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Parrot
update-grub

On a legacy BIOS system, install to the whole disk, not a partition:

apt reinstall grub-pc
grub-install /dev/nvme0n1
update-grub

Check that update-grub lists your kernels (“Found linux image: …”). Exit the chroot and reboot:

exit
sudo umount -R /mnt
sudo reboot

The site’s Troubleshooting GRUB page has more on dual-boot cases where Windows has overwritten the bootloader.

Fix 4: Nvidia and Other DKMS Drivers After a Kernel Update

A very common pattern: the update brought a new kernel, the proprietary Nvidia module (or VirtualBox, or a Wi-Fi driver from outside the kernel) failed to rebuild against it, and the system now boots to a black screen or a text console. Boot the older kernel or recovery mode, then check the DKMS status:

dkms status

Any module that shows the new kernel version without “installed” next to it failed to build. The usual reason is missing kernel headers for the new version. Install them and rebuild:

sudo apt install linux-headers-$(uname -r)
sudo dkms autoinstall
sudo update-initramfs -u -k all

If you are repairing a different kernel than the one you booted, replace $(uname -r) with the target version string. For Nvidia-specific steps, including when to pick the open kernel module versus the legacy driver, see Install Nvidia GPU Driver. As a temporary workaround to reach the desktop, you can add nomodeset to the kernel line: at the GRUB menu press e, find the line starting with linux, append nomodeset at the end, and press Ctrl+X. That change is not saved; it only affects the current boot.

Hold a Kernel So It Does Not Happen Again

If a particular kernel is known to break your hardware, you can keep the working one and stop the metapackage from pulling the new one in until you are ready:

sudo apt-mark hold linux-image-amd64 linux-headers-amd64
apt-mark showhold

Release the hold later with sudo apt-mark unhold linux-image-amd64 linux-headers-amd64. Holding kernels means missing security fixes, so treat it as a short-term measure and check the fix status upstream. The project’s release channels and the Debian kernel tracker at debian.org are the places to confirm whether a reported regression has been fixed; do not guess from forum posts.

Preventing the Next Boot Failure

  • Never interrupt an upgrade. If a laptop may run out of power or you may need to leave, do not start parrot-upgrade. Closing the terminal mid-upgrade is the single most common cause of the problems in this guide.
  • Upgrade from a TTY or a terminal, not from a GUI updater when the update includes the desktop environment itself. If Plasma or MATE restarts under you, the process dies with it.
  • Read the output. A line saying a DKMS module failed to build is a warning that the next reboot may fail. Fix it before rebooting.
  • Keep at least two kernels. Do not run apt autoremove immediately after a kernel update; wait until you have rebooted into the new kernel once and confirmed it works.
  • Snapshot if you can. On btrfs, Timeshift or a manual snapshot before each upgrade turns a broken boot into a two-minute rollback. On a VM, take a snapshot in the hypervisor.

Parrot 7.4 moved to a Debian 13 base with a Linux 7.1 kernel, and major base jumps like that are exactly when third-party modules fall behind. If you upgraded across that boundary and hit trouble, the Parrot 7.4 release notes on this site summarize what changed.

FAQ

Will booting an older kernel lose my data or settings?

No. The kernel is only the part of the system that talks to hardware. Your files, installed programs and configuration are identical whichever kernel you boot.

Recovery mode asks for a root password I never set. What now?

On a default Parrot install the root account is locked, so recovery mode should drop you straight to a prompt. If it asks for a password and your own does not work, use the live USB chroot method instead; from inside the chroot you can run passwd to set one.

Is it safer to just reinstall Parrot Linux?

Only if you have a current backup and the fixes above fail. A reinstall takes longer than any of the repairs here, and it does not teach you anything about what broke, which means the same update can break it again next month.