this post was submitted on 24 Jan 2024
10 points (70.8% liked)

Linux

47368 readers
1038 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I recently reinstalled arch but I have a problem with efi partition, user can acces it and the fstab is fucked up

Static information about the filesystems.

See fstab(5) for details.

>

/dev/nvme0n1p2

UUID=e085a3ed-42c6-4329-ae32-9fe68d6ea02f >/ ext4 rw,relatime 0 1

/dev/nvme0n1p1

UUID=81F6-B0FD /boot vfat >rw,relatime,fmask=0022,dmask=0022,codepage=>437,iocharset=ascii,shortname=mixed,utf8,errors>=remount-ro 0 2

/dev/nvme0n1p2

UUID=e085a3ed-42c6-4329-ae32-9fe68d6ea02f >/ ext4 rw,relatime 0 1

/dev/nvme0n1p1

UUID=81F6-B0FD /boot/grub vfat >rw,relatime,fmask=0022,dmask=0022,codepage>=437,iocharset=ascii,shortname=mixed,utf8,erro>rs>=remount-ro 0 2

/dev/nvme0n1p2

UUID=e085a3ed-42c6-4329-ae32-9fe68d6ea02f / ext4 rw,relatime 0 1

/dev/nvme0n1p1

UUID=81F6-B0FD /boot/grub vfat >rw,relatime,fmask=0022,dmask=0022,codepage=>437,iocharset=ascii,shortname=mixed,utf8,error>s=remount-ro 0 2

I have tried modifying and regenerating fstab but it dosen't work. Also grub can't be accessed when I'm booted, nor does grub theme. How to I fix this?

you are viewing a single comment's thread
view the rest of the comments
[–] yianiris@kafeneio.social 0 points 7 months ago (2 children)

root must always be mounted if you have a system, either by booting or chroot. If you mount just efi from another system .
On my setup /efi/EFI/grub only has the grub efi binary no config, /boot and therefore /boot/grub is on /root partition

Now if you have the entire /boot in the /efi partition then it would be /efi/boot/grub/grub.cfg?

@Hiro8811

[–] Hiro8811@lemmy.world 1 points 7 months ago

Managed to get grub theme work so the grub is set up right. I guess I should stop being a help vampire. Anyway thanks for the help

[–] Hiro8811@lemmy.world 1 points 7 months ago

What I meant is that during boot efi partition gets mounted before root so it wouldn't be able to get config files from root partition. But that's not the problem, I tried regenerating grub. Most likely it's something wrong with the theme I applied. It keeps saying that it dosent found grub and that it should be mounted either in /efi or /boot but it is mounted. I'll try with grub-customizer.