You are not logged in.

#1 2020-05-14 13:00:52

AutisticChopsticks
Member
Registered: 2020-05-13
Posts: 3

[SOLVED] Exact copy of root directory in /boot/efi

There are two partitions on my desktop : efi and Filesystem root, they have the same size and same documents and I don't know how to get rid of the efi partition, which I mounted at the installation at /boot/efi with only 512M of space. I have tried unmounting it and deleting the folder where it was mounted before (/efi) but it just came back when I made the new folder (/boot/efi) and mounted it there. Also the output of lsblk and the lines in fstab are different. How can I get rid of this partition?

Output of lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 119.2G  0 disk
├─sda1   8:1    0   512M  0 part
├─sda2   8:2    0   115G  0 part /boot/efi
└─sda3   8:3    0   3.8G  0 part [SWAP]
sdb      8:16   0 931.5G  0 disk
└─sdb1   8:17   0 931.5G  0 part /media/chopsticks/Data

Fstab file
# /dev/sda2
UUID=5b564f5f-d506-4f14-8f96-7fef16566ab3       /               ext4           rw,relatime     0 1

# /dev/sda1
UUID=5b564f5f-d506-4f14-8f96-7fef16566ab3       /boot/efi       ext4           rw,relatime     0 2

# /dev/sda3
UUID=3e9ce7ca-ed34-40d6-946a-ec7cb7624530       none            swap           efaults        0 0

Last edited by AutisticChopsticks (2020-05-14 14:08:17)

Offline

#2 2020-05-14 13:15:01

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,653
Website

Re: [SOLVED] Exact copy of root directory in /boot/efi

lsblk is not a useful tool for showing what is mounted where, as it will only show you the most recent mount point of a partition in it's output. You are mounting /dev/sda2 to both / and /boot/efi for some reason, so lsblk lists the latter as the mount point.

Use 'mount' or 'showmnt' to see what is mounted to where.

What is it you are actually trying to do? Why do you think getting rid of your EFI partition will help?

http://xyproblem.info/


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-05-14 13:36:52

AutisticChopsticks
Member
Registered: 2020-05-13
Posts: 3

Re: [SOLVED] Exact copy of root directory in /boot/efi

Ok then I want to unmount the /boot/efi mountpoint of /dev/sda2  , not delete the actual efi partition used for boot. The output of mount -l is :

/dev/sda2 on /boot/efi type ext4 (rw,relatime)
/dev/sda2 on / type ext4 (rw,relatime)

Offline

#4 2020-05-14 13:55:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,381

Re: [SOLVED] Exact copy of root directory in /boot/efi

You need to fix it to either use the correct UUID or if you sure you don't need it just remove the relevant fstab entry.

Offline

#5 2020-05-14 14:06:35

AutisticChopsticks
Member
Registered: 2020-05-13
Posts: 3

Re: [SOLVED] Exact copy of root directory in /boot/efi

Ok that worked,I just put the correct UUID, thanks alot and thank you for your time!

Offline

Board footer

Powered by FluxBB