Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repair proxmox7 grub after apt upgrade #3578

Open
teriblus opened this issue Oct 14, 2022 · 0 comments
Open

Repair proxmox7 grub after apt upgrade #3578

teriblus opened this issue Oct 14, 2022 · 0 comments

Comments

@teriblus
Copy link

I'm using the proxmox7 template on my dedicated server.
The first thing I did after install is apt update && apt upgrade, this resulted in an error with grub-pc unable to write on /dev/md

The support directed me to this guide, and it was helpful, but not quite enough. What worked for me was :

--- boot en mode rescue64-pro ----

root@rescue:~# mount /dev/md126 /mnt
root@rescue:~# mount /dev/md125 /mnt/boot
root@rescue:~# mount -o bind /proc /mnt/proc
root@rescue:~# mount -o bind /sys /mnt/sys
root@rescue:~# mount -o bind /dev /mnt/dev
root@rescue:~# chroot /mnt /bin/bash
root@rescue:/# mount /dev/sda1 /boot/efi
root@rescue:/# grub-install --efi-directory=/boot/efi/
root@rescue:/# umount /boot/efi     
root@rescue:/# mount /dev/sdb1 /boot/efi
root@rescue:/# grub-install --efi-directory=/boot/efi/
root@rescue:/# reboot

---- boot sur hd -----

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant