[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How do I reinstall grub-efi?



After an upgrade to Debian 13 broke one of my headless file servers, I figured the easiest way to fix it was a clean install of Debian 13. The server itself was mostly an mdadm RAID array with the OS on a USB device. I figured I could simply take the USB device and install Debian on it using a similar machine that had a monitor and keyboard.

This part worked, but when I tried to restart the machine I used for the install, it failed to find a bootable partition.

The machine UEFI boots into an mdadm RAID1 array as the root (p1) & home (p2) partitions. When I ask systemrescuecd (after starting it in UEFI mode) to find a root partition, it correctly finds the one on the RAID1 array and booting continues normally,

The two devices used in the RAID1 array each have a 256M VFAT partition type EF02 on them that is not part of the array. This had been working for 5 years until yesterday.

After multiple attempts to get the system to boot by reinstalling grub-efi, updating grub, etc., I gave up and resigned myself to a clean install of Debian 13. However that also failed to provide any relief, as grub refused to install on the boot device.

So now I am stuck booting with a USB stick and the findroot option from systemrescuecd.


The other big issue I am having is that I cannot connect to nfs shares after upgrading my main server from Debian 12 to Debian 13. This has been going on since I first rebooted my Debian 13 workstation (has been running 13 for years) after upgrading the server.

This is coincident with failure to boot issue. Neither my /etc/exports file on the server nor my /etc/fstab file on the workstation have changed. And reinstalling Debian 13 on the workstation hasn't helped.

showmount -e <server> shows the exports. And I can connect to them from my Debian 12 laptop using the same fstab lines. The error message I am getting is:

mount.nfs: failed to prepare mount: No such device

The mount point is the same as I kept the /home directory in the reinstall. And my user and group names and ids are the same on all the systems.

Virtually all my work is stored on the server so being unable to access the shares puts me in a real bind.

Any ideas on either problem?


Reply to: