Dual-boot Arch + Ubuntu. Both kernels panic after reinstalling bootloaders on a shared EFI partition

awannabetheone

New Member
Joined
Jul 3, 2026
Messages
1
Reaction score
0
Credits
24
Hi everyone,
I've been trying to recover my dual-boot setup, but I'm now stuck in a situation where both Arch and Ubuntu fail to boot.
System:
Lenovo ThinkPad T14 Gen 2 (AMD Ryzen 5 PRO 5650U)
UEFI mode
GPT partition table
Partitions:
nvme0n1p1 EFI System Partition (FAT32)
nvme0n1p2 Ubuntu 26.04
nvme0n1p3 Arch Linux
What happened:
My EFI partition became corrupted, so I reformatted the ESP.
Reinstalled Arch's bootloader.
Regenerated initramfs.
Fixed Arch's UUIDs.
Arch successfully booted into Hyprland.
Then I reinstalled Ubuntu's GRUB:
grub-install
update-grub
Ubuntu was missing its kernel files, so I reinstalled:
linux-image-7.0.0-27-generic
linux-image-generic
This recreated:
vmlinuz-7.0.0-27-generic
initrd.img-7.0.0-27-generic
What I have already verified:
UUIDs from blkid match /etc/fstab.
GRUB uses the correct root UUID for Ubuntu.
update-grub successfully detects both Ubuntu and Arch.
efibootmgr -v shows valid entries for both Ubuntu and Arch.
Ubuntu kernel and initrd now exist.
Current symptoms:
From GRUB:
Ubuntu -> Kernel panic
VFS: Unable to mount root fs on unknown-block(0,0)
Arch -> Kernel panic
From UEFI Boot Menu:
Ubuntu -> Same kernel panic
Arch -> Immediately returns to firmware Boot Menu.
One thing that looks strange is that my shared ESP now contains both kernels:
vmlinuz-linux
vmlinuz-7.0.0-27-generic
EFI/
loader/
During Arch installation I mounted the ESP as:
/boot
Ubuntu uses the same ESP.
At this point I'm unsure whether this is:
a GRUB configuration problem,
an initramfs issue,
an ESP layout problem,
or something else.
Has anyone seen a situation where both operating systems panic after rebuilding bootloaders on a shared EFI partition?
 


No, I haven't seen what you have going on.

Maybe try fsck with a Live version of Arch via a usb on both systems.
Then reboot.

Reinstalling the kernel for Ubuntu most likely created issues and didn't sync up with what the fstab file contains. IF you didn't include the headers that will make it hard for Grub also. Have a look at the fstab file and compare it to the uuid's.

Any idea on how your EFI partition became corrupted?
Did you have a unexpected inconsistancy?
And do you have all of the grub config files for Arch and Ubuntu?

Missing kernel files will cause the bootloader to not function because if Grub doesn't know about the kernel and config it won't boot the distribution.

There is a script called 'bootinfoscript'. It's really helpful with getting the info. that you need when there are booting issues.

If I were you, I'd run it and read through it to get clues.


Post it (Results.txt) if your not sure and I'll read it when I can.

Last thoughts:
Pacman deletes the old kernel files from your root partition. It then writes the new vmlinuz and initramfs images into the bare /boot directory on your root drive instead of your actual boot partition. I'm thinking that why you have both vmlinuz images.

Our members @Condobloke, @wizardfromoz and @CaffeineAddict are talented when working with Grub.
 


Follow Linux.org

Staff online

Members online


Top