You are not logged in.

#1 2017-06-15 14:53:38

BlackVodka
Member
Registered: 2017-06-15
Posts: 1

[SOLVED] Prevent /boot/efi - partitition to be shown

Hi guys,
I've been a linux user for some years (Ubuntu, Mint, Debian) and and changed recently my distro to Arch (quite awesome btw.!).
Unfortunately, I'm facing a problem I can't solve even with googling over one hour around:
Strange thing is, neither on my Debian, nor on my Mint installation the EFI-partition itself was shown on desktop / in file managers as a removable drive (like it was mounted in /media ) but on my current Arch installation it is.
I've read https://wiki.archlinux.org/index.php/ud … partitions and created first a new udev - rule by hand:

cat /etc/udev/rules.d/10-hidePartitions.rules

ENV{ID_FS_UUID}="2CF9-C226", ENV{UDISKS_IGNORE}="1"

And reloaded the rules by

sudo udevadm control --reload-rules
sudo udevadm trigger

, followed by a reboot to be sure, as well.

This didn't change anything.
So I removed that manually created udev-rule and copied over /usr/lib/udev/rules.d/80-udisks2.rules into /etc/udev/rules.d/ as suggested in the archwiki article mentioned above, but this didn't change anything, too.

Do you have any idea why the udev rules don't work or what can I do to prevent the efi-partion being shown in my desktop environment?
Thanks in advance for your help! smile

Additional info:
Freshly installed Arch and up-to-date with XFCE
Output of blkid:

/dev/sda1: LABEL="Wiederherstellung" UUID="9A0AF98E0AF96821" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="064ddc51-9fa2-40e9-9dbd-cac5db56ca20"
/dev/sda2: UUID="2CF9-C226" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="b34050b4-32c9-499c-bd4f-3fabcc4a8475"
/dev/sda4: UUID="E48E01858E01520A" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="bddba710-d2fc-4e8b-b704-891a980fded3"
/dev/sda5: LABEL="Linux Swap" UUID="f6a594ef-f7c2-4d47-9344-5180a1af5ffc" TYPE="swap" PARTLABEL="Linux swap" PARTUUID="9b3293e7-02b6-4422-ab28-1aa5869ca9e5"
/dev/sda6: LABEL="Arch Linux" UUID="2ff82806-0989-4fa3-b7f6-9ebf3c31f90c" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="02c36604-e75e-40a5-80d2-4c00589192a2"
/dev/sdb1: UUID="719BCF1867516488" TYPE="ntfs" PTTYPE="dos" PARTLABEL="DataHDD" PARTUUID="35084667-7cc1-4275-a575-e06a60cad8f5"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="42cb279f-df13-4007-910c-df0b98d8291b"

/etc/fstab:

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# UUID=2ff82806-0989-4fa3-b7f6-9ebf3c31f90c LABEL=Arch\134x20Linux
/dev/sda6           	/         	ext4      	rw,relatime,data=ordered0 1

# UUID=2CF9-C226
/dev/sda2           	/boot/efi 	vfat      	defaults	0 1

# UUID=f6a594ef-f7c2-4d47-9344-5180a1af5ffc LABEL=Linux\134x20Swap
/dev/sda5           	none      	swap      	defaults  	0 0

# UUID=719BCF1867516488
/dev/sdb1		/home/markus/HDD	ntfs	defaults	0 0

*edit*
Oh, ok, found it:
The error was in

ENV{ID_FS_UUID}="2CF9-C226", ENV{UDISKS_IGNORE}="1"

instead of

[ENV{ID_FS_UUID}=="2CF9-C226", ENV{UDISKS_IGNORE}="1"

Last edited by BlackVodka (2017-06-15 16:12:30)

Offline

Board footer

Powered by FluxBB