GRUB appearing as bootable device

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?

Hi @Sherry, and welcome!

Am I correct in saying it looks like KDE and Dolphin?

If so, when you Right-Click on the drive you don’t want to show, there’s an option, “Hide” to, well, to hide it.

It not, I really don’t know.

Thank you for your answer, @Mirdarthos!
I use XFCE with thunar and I do not see such an option in the context menu.
The only options are:

  • Open
  • Mount/Unmount Volume
  • Properities (which can’t be chosen)

This is an old setting, and for Debian (Can I say that here?)

/etc/udev/rules.d/10-local.rules
KERNEL==“sda4”,ENV{UDISKS_IGNORE}=“1”

Create or edit the file with that content and reboot.

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:

  1. Go to /etc/udev/rules.d and modify/create a file called 90-local.rules.
  2. Put the following content in the file:
    ENV{ID_FS_UUID}=="youruuid",ENV{UDISKS_IGNORE}="1"
  3. Type lsblk -f in your terminal and copy the UUID of the device/partition you wish to hide.
  4. Replace youruuid with the UUID you copied from the terminal.
  5. Reboot the system.
  6. Done.

Thank you for your help, @SimonJ.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.