grub blank screen how to manually boot kernel and initrd Linux Ubuntu Debian Centos won't boot solution

You probably didn't do an "update-grub" and grub no longer has any proper menu entries, but before you can fix it let's try to get grub booting anyway.

If you get this lovely black grub screen here's how you can get things booting.

In my case I have a gpt partition with partition 1 and 2.  Partion 1 is just my EFI / ESP and partion 2 /dev/sda2 is my root which includes /boot.

You will have to adjust this if you had a separate /boot partition.  Partition 2 has my /boot and also my root so here's what you can do.

grub2 allows you to tab complete filenames so it's not too hard as you acn see below if you type:

linux (hd0,gpt2)/bo and tab complete.

How To Boot Grub Manually

1.) Setup Kernel

We type the location of our kernel and don't forget the root= parameter which specifies which device contains our root partition.

linux (hd0,gpt2)/boot/vmlinuz-5.10.0-18-amd64 root=/dev/sda2

2.) Setup initrd

initrd (hd0,gpt2)/boot/initrd.img-5.10.0-18-amd64

3.) Now Boot

Just type "boot" and it will boot up, assuming you've given the correct files/paths/root device in the previous steps.




Grub manual Boot Success



grub, manually, kernel, initrd, linux, ubuntu, debian, centos, solutionyou, didn, quot, update, entries, booting, gpt, partition, partion, efi, esp, dev, sda, includes, adjust, allows, tab, filenames, acn, hd, parameter, specifies, contains, vmlinuz, amd, img, ve, paths, previous, manual,

Latest Articles

  • docker / kubernetes breaks Proxmox QEMU KVM Bridge VMs
  • How To Change Storage Location in
  • RTL8812BU and RTL8822BU Linux Driver Ubuntu Setup Archer T3U Plus
  • Kazam video blank/high size and not working when recording solution
  • Cisco UC CME How To Enable Licensed Features
  • from pip._internal.cli.main import main File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/", line 60 sys.stderr.write(f"ERROR: {exc}") from pip._internal.cli.main import main File "/usr/local/lib/python3.5/dist-packag
  • ModuleNotFoundError: No module named 'pip._internal' solution python
  • grub blank screen how to manually boot kernel and initrd Linux Ubuntu Debian Centos won't boot solution
  • Cisco Switch / Router How To Restore Factory Default Settings
  • Cisco 2900 3900 Router Password Reset How To Reset Enable Password
  • How To Install convert MBR Legacy booting GRUB to EFI from a non-EFI Linux Environment Ubuntu Mint Debian
  • Translating "cisco" ...domain server ( Cisco Router/Switch Solution
  • Error opening tftp:// (Permission denied) - How To Fix Cisco Router Switch Error Solution Console
  • GRUB error: invalid arch-independent ELF magic. Solution How To Fix Linux Centos Ubuntu Mint
  • How to find out which package a file belongs to in Debian Mint Ubuntu Linux
  • Centos 7 not mounting /etc/fstab partitions
  • CentOS 7 / 8 cannot boot with with mdadm RAID array solution
  • How To Add Default Gateway in Linux using the ip route command routing
  • Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist Solution for Centos8 yum package install error
  • md mdadm array inactive how to start and activate the RAID array