You are not logged in.

#1 2020-02-02 10:21:03

jakub
Member
Registered: 2013-09-14
Posts: 151

[SOLVED] Confused about EFI partition

I'm confused about EFI partition. During arch installation I've mounted it, but somehow it's not mounted anymore.
I don't know if I should have it always mounted or not.

➜  ~ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 238,5G  0 disk 
├─sda1   8:1    0   200M  0 part 
├─sda2   8:2    0   500M  0 part 
├─sda3   8:3    0    76G  0 part /
└─sda5   8:5    0 161,8G  0 part 

➜  ~ df -h                          
Filesystem      Size  Used Avail Use% Mounted on
dev             7,8G     0  7,8G   0% /dev
run             7,8G  1,7M  7,8G   1% /run
/dev/sda3        59G   46G   11G  81% /
tmpfs           7,8G  147M  7,7G   2% /dev/shm
tmpfs           7,8G     0  7,8G   0% /sys/fs/cgroup
tmpfs           7,8G  720K  7,8G   1% /tmp
tmpfs           1,6G   12K  1,6G   1% /run/user/1000

➜  ~ cat /etc/fstab 
# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda3
UUID=44b3b445-0ccc-4c4a-a664-981ad929cfe2       /               ext4            rw,relatime     0 1
UUID=1fe06d1e-41d0-499b-91b8-a9ad5b6d6180       /mnt/storage    ext4            rw,user         0 2

MgOkuOT.png

Last edited by jakub (2020-02-02 10:51:33)

Offline

#2 2020-02-02 10:24:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,960

Re: [SOLVED] Confused about EFI partition

Well apparently you did run genfstab before mounting the ESP. Which isn't a problem, just manually add the relevant entry (or rerun genfstab after ensuring all are mounted).

Last edited by V1del (2020-02-02 10:24:42)

Offline

#3 2020-02-02 10:51:12

jakub
Member
Registered: 2013-09-14
Posts: 151

Re: [SOLVED] Confused about EFI partition

OK, I extended /etc/fstab with genfstab output for /dev/sda1. Thx for quick help. Marking solved.

Offline

#4 2020-02-02 10:59:40

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] Confused about EFI partition

jakub wrote:

I don't know if I should have it always mounted or not.

If  you're mounting the ESP under /boot then systemd will automount it on demand without any fstab entries at all and keep it unmounted otherwise.

Reference: https://www.freedesktop.org/software/sy … rator.html

Some forum members have suggested this may cause problems during kernel updates but I've never experienced that myself, the ESP has always been automounted correctly for the update in my systems.

Off-topic for this thread but I don't think you should mount your storage device under /mnt because hier(7) defines that as " a mount point for a temporarily mounted filesystem". But it's your system smile


Jin, Jîyan, Azadî

Offline

#5 2020-02-02 12:39:18

jakub
Member
Registered: 2013-09-14
Posts: 151

Re: [SOLVED] Confused about EFI partition

Head_on_a_Stick wrote:

Off-topic for this thread but I don't think you should mount your storage device under /mnt because hier(7) defines that as " a mount point for a temporarily mounted filesystem". But it's your system smile

Good catch. What would be better mount point? simply /storage?

Offline

#6 2020-02-02 13:35:06

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 710

Re: [SOLVED] Confused about EFI partition

It shouldn't matter as long as is doesn't conflict with the file-hierarchy(7).
The wiki lists /data as an option, so you can use that (that's what I do).

Offline

Board footer

Powered by FluxBB