You are not logged in.

#1 2023-08-25 16:56:43

Pixelhalide
Member
Registered: 2023-08-25
Posts: 1

Reinstalling grub with grub-install yields no results

Hello, I was doing some partitioning and adding space to my root partition, Unfortunately something broke and my grub died.
Currently, the grub startup screen only shows the single option of UEFI Firmware settings and nothing else.

I did what the wiki recommended and chrooted into my partition to rebuild grub:

1. Boot arch iso
2. mount /dev/sda6 /mnt (my root partition)
3. mount /dev/sda4 /mnt/boot/efi (boot partition)
4. arch-chroot /mnt
5. pacman -S grub efibootmgr os-prober
6. grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
7. grub-mkconfig -o /boot/grub/grub.cfg
8. Exit, and restart

No errors were reported and everything went fine during the process. However, after restarting, Nothing changes and only the UEFI Firmware settings shows up yet again.

I have my windows partition on sda1, sda3
Another distro on sda2, sda7(which also broke along with this and no longer shows up in the bios boot menu)
My arch root is sda6 and boot is sda4
IMG_20230825_212227.jpg?width=960&height=149

Offline

#2 2023-08-25 16:58:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Reinstalling grub with grub-install yields no results

Does the kernel exist at /boot/vmlinuz-linux?

Offline

#3 2023-08-25 18:02:47

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,455

Re: Reinstalling grub with grub-install yields no results

step 6. is a mistake, your efi is at /mnt/boot/efi not /boot/efi

EDIT: oops, missed arch-chroot

Last edited by Docbroke (2023-08-25 19:27:47)

Offline

#4 2023-08-25 19:19:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,104

Re: Reinstalling grub with grub-install yields no results

4. arch-chroot /mnt

Offline

#5 2023-08-25 19:29:31

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,455

Re: Reinstalling grub with grub-install yields no results

I can't see the image clearly but are there two efi partitions ?

Offline

#6 2023-08-25 19:32:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,104

Re: Reinstalling grub with grub-install yields no results

I got you glasses:
https://media.discordapp.net/attachment … 212227.jpg

And yes, sda2 and sda4, so apparently you can still drive without wink

Offline

Board footer

Powered by FluxBB