Hide Windows Partitions on DualBoot Create a new file /etc/udev/rules.d/99-hide-partitions.rules and add one line per partition you want to hide like so: KERNEL=="sda1",ENV{UDISKS_IGNORE}="1" KERNEL=="sda2",ENV{UDISKS_IGNORE}="1" After that you need to run “udevadm trigger” as root, the disks should then immediately disappear from file manager DETAIL Now the hiding begins! But before that, make sure you know which partitions you want to hide (like how I identified them above). You can also list all of your partitions using the command sudo fdisk -l to identify them faster. I'm going to be hiding sda1 and sdb2 in the next steps, but you should substitute your partition names instead. Create a file named 99-hide-disks.rules using your favorite editor. This file is where we put the rule to tell the Linux kernel to hide the device. I won’t explain why the file name sounds funny. That will be the subject for another po...
Comentários
Postar um comentário