You are not logged in.
Hello,
I changed my grub config in order to play a sound when entering the grub menu.
I only changed the the line
GRUB_INIT_TUNE="600 988 1 1319 8"
and run
grub-mkconfig -o /boot/grub/grub.cfg
After rebooting, my laptop goes directly to the UEFI menu.
I tried to repair it myself by chrooting into my partiion, but I'm not sure what partitions to use to reinstall/repair grub, because of the encryption.
fdisk -l gives me:
/dev/nvme0n1p1 [...] 512M EFI System
/dev/nvme0n1p2 [...] 19G Linux file system
/dev/nvme0n1p3 [...] 933G Linux file system
/dev/sda1 *Boot type empty
/dev/sda2 type EFI (FAT-12/16/32)
I openend and mounted the .dev/nvme0n1p2 and chrooted into it.
But now I'm not sure how to continue to load the boot partition, is it /dev/nvme0n1p1, /dev/sda1 or something else?
I tried to follow the tutorial from the wiki, but with the encryption I'm not sure in what partition grub lives.
Thank you for your help.
Last edited by baptiste (2023-02-13 09:30:43)
Offline
how did you install/setup this system ?
Offline
But now I'm not sure how to continue to load the boot partition, is it /dev/nvme0n1p1, /dev/sda1 or something else?
How do you expect us to know about your system?
Chances are that sda is the install iso, but
lsblk -fAlso post your grub.cfg
Offline
Sorry, my question was ill posed.
I was confused by the sda disk and the nvme0 disk. Turns out the sda drive was from the usb stick with the arch iso...
I could resolve the problem by running grub install without arguments, but I think --boot-directory /boot would have done the trick.
Thanks all for taking the time.
Offline