You are not logged in.
Pages: 1
So I messed up my boot folder, as there is nothing in it after running the command “sudo grub-mkconfig-o /boot/grub/grub.cfg”. Every time I reboot it sends me into the grub command line, from there I boot into an ubuntu live usb. I unencrypt my root partition nvme0n1p2 (that mounts it to /media/ubuntu/2c829835...). I chroot into it (chroot /media/ubuntu/2c829835...), created the grub directory in boot, and attempted to input the command "grub-mkconfig -o /boot/grub/grub.cfg", but get the error "/usr/bin/grub-probe: error: cannot find a device for / (is /dev mounted?)"
After that I'm guessing its just "cd /boot/grub/" and "grub-install /media/ubuntu/2c829835..."
Following this tutorial: https://www.youtube.com/watch?v=r7meKJsjqfY
Offline
You would need to follow this guide https://wiki.archlinux.org/title/GRUB
Rlu: 222126
Offline
Pages: 1