Hello,
I’m a newbie when it comes to GNU/Linux and Manjaro, so I apologize in advance as this issue is probably trivial, although I wasn’t able to find any solution.
For some reason GRUB shows up on my desktop and also the list of devices inside the file manager.
I know it’s GRUB since after checking it with lsblk it appeared as sda4, which was the partition I assigned to GRUB (Manjaro installer told me to format a specific partition meant for GRUB).
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931,5G 0 disk ├─sda1 8:1 0 30G 0 part / ├─sda2 8:2 0 10G 0 part ├─sda3 8:3 0 891,5G 0 part /run/timeshift/backup └─sda4 8:4 0 8,2M 0 part /run/media/sherry/26e888e5-5ec3-4447-8342-51aff sr0 11:0 1 1024M 0 rom
Here is how it looks like:
So my question is, how can I hide/dispose of this device without hiding all the removable devices?
Your solution didn’t seem to work, even though the way of implementing it through the kernel made sense, so I did some research and switched the name of the file from 10-local.rules to 90-local.rules, and changed the content to: ENV{ID_FS_UUID}=="26e888e5-5ec3-4447-8342-51affcf1a612",ENV{UDISKS_IGNORE}="1"
This solved the issue.
tl;dr for people potentially experiencing the same problem, you need to:
Go to /etc/udev/rules.d and modify/create a file called 90-local.rules.
Put the following content in the file: ENV{ID_FS_UUID}=="youruuid",ENV{UDISKS_IGNORE}="1"
Type lsblk -f in your terminal and copy the UUID of the device/partition you wish to hide.
Replace youruuid with the UUID you copied from the terminal.