#Grub has ended itself (again)
69 messages · Page 1 of 1 (latest)
I think chrooting into your install and installing grub will fix your issue
As long as it's just grub that's nuked
I've tried that to no success
What commands did you run?
So I mounted the NVMe directories with
mount /dev/nvme0n1p2 /mnt
mount /dev/nvme0n1p1 /mnt/boot
arch-chroot /mnt
Then I tried to install grub but failed miserably
The issue is that I'm not too sure what I'm doing with the grub-install command
You run grub-install...
and then grub-mkconfig -o /boot/grub/grub.cfg
In the install command you need to plug the arguements you used when you were installing
Cannot find efi directory
Okay if you run grep grub /root/.bash_history what is the output?
Hopefully we can find there the arguments you used the first time you were installing
Oh yeah I was using
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
Have you tried running that?
Ye
Was there an error?
I'll try again ig because sometimes I have a curse where it doesn't work until I get help then it magically works
Let me know how that goes
Installation finished no error reported
That looks hopeful
But the other issue is that it doesn't show the kernels in grub when it actually does install correctly
Does the install show up?
?
Let's see
That's weird
It should detect other kernels automatically
Also check this page as well
I run only rolling so I can't really help you there, sorry
I've noticed the /etc/default/grub file is missing
Maybe try grabbing it from the iso
Or reinstalling the grub package
You're chrooted right?
What's the error?
Yeah that's what I was gonna say
Wait no wtf
Wait no
No it's still there lol
Its not red you're chrooted
Yeah that's good then
I wonder wtf is going on with this
I wanted a custom kernel and I've done it multiple times before when I was on EndeavourOS and once on mint
But of course the time I go full arch it decides 'nah'
Which is annoying because the tkg kernel is literally working on my laptop downstairs on EndeavourOS rn
But I can't play games at a full 1080p60 unlike my desktop pc
Idk never tried it
That's as far as I can help, sorry
Is grub at least still installed?
Yeah it is
Just very inconvenient
I might just backup my files and give it another go
And is the file still missing?
Yeah sadly
Meh I've got a hard drive I can backup a few things to and reinstall
It's only like 3 days of install
Well at least it's not 3+ months of tinkering
what file is missing?
if it's related to the kernel just reinstall the kernel, and then redo mkconfig
If you find yourself done with GRUB may I suggest using rEFInd instead