this post was submitted on 23 Nov 2023
6 points (68.8% liked)
Linux
48255 readers
434 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Have you mounted
/boot
? Usually it's in a different partition so you'll need to mount it.Edit: yup, your boot is in a different partition according to your fstab
From where should I mount it? Emergency shell? Chroot?
Every time I made this mistake I booted again the live iso, mounted the boot drive and edit it.
Edit: you can also just edit the entry on refind directly to boot once on a correct config, and then fix it inside your actual system. The error is that the root filesystem will have an uuid that relates to the live iso image, not to your actual system.
I think I managed to mount it but what should I edit?
Ok, if I understood correctly your fstab what you should do is:
mount /dev/nvme0n1p1 /mnt
nano /mnt/refind_linux.conf
umount /mnt
That should work
Edit: noticed my disk was 1 while yours is 0, didn't remembered I had two ssds on that machine hahahah
Edit2: check that the file exists in /mnt, it should if you ran refind-install the first time.
I get the same error. Should I install grub?
Did you confirm that the file existed before editing? And that you were mounting the correct boot and not root partition?
I don't know what else it can be if that doesn't solve it.