Hide HDD in Computer
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Hide HDD in Computer
In Files manager how can I hide a drive in Computer? For Cinnamon 19.3
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Hide HDD in Computer
Though there may be other ways, probably add a line to /etc/fstab with
noauto
in it, e.g.
Code: Select all
LABEL=BU_EXT4 /mnt/BU_EXT4 ext4 defaults,noauto,user,noatime 0 2
LABEL=BU_NTFS /mnt/BU_NTFS ntfs defaults,noauto,noatime 0 2
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: Hide HDD in Computer
That hides the drive in the side bar however when I click on Go menu Computer it is displayed there still. That is also the address computer:///
- JOPETA
- Level 17
- Posts: 7762
- Joined: Thu Nov 20, 2014 6:10 am
- Location: En un lugar de cuyo nombre no quiero acordarme
Re: Hide HDD in Computer
I think mount options as Flemur said would be nosuid,nodev,nofail,noauto. You can do it easily with gnome-disks (Menu>Accessories>Disks> Select the disk on the left and the partition on the right> Click on the wheels icon downside>Edit mount options>Switch off Automatic mount option and uncheck the following two options (or three if you don't wish to require additional authorization to mount) >OK).
(Edited)
Last edited by JOPETA on Sun Mar 08, 2020 12:35 pm, edited 5 times in total.
Ni cola de león ni cabeza de ratón, prefiero ser diente de ajo.(Javier Krahe)
Re: Hide HDD in Computer
Yes that hides the drive in the side bar. It is still not hidden in Computer.JOPETA wrote: ⤴Sun Mar 08, 2020 7:49 am I think mountoptions as Flemur said would be nosuid,nodev,nofail,noauto. You can do it esayly with gnome-disks (menu>accesosries>Disks> Select the disk on the left and the partition on the right> Click on the wheel icon downside>Edit mount options>Switch on and uncheck all options.)
Re: Hide HDD in Computer
This does not work. Unless I did it wrong?Cap wrote: ⤴Sun Mar 08, 2020 7:26 am Will this work? https://wiki.archlinux.org/index.php/ud ... partitions
- JOPETA
- Level 17
- Posts: 7762
- Joined: Thu Nov 20, 2014 6:10 am
- Location: En un lugar de cuyo nombre no quiero acordarme
Re: Hide HDD in Computer
It works in my case. Please post back following code result.
Code: Select all
cat /etc/fstab
Ni cola de león ni cabeza de ratón, prefiero ser diente de ajo.(Javier Krahe)
Re: Hide HDD in Computer
It works to hide in Computer? I hope to learn how you did it.
The significant line in fstab. I changed uuid for posting if it has privacy issue perhaps.JOPETA wrote: ⤴Sun Mar 08, 2020 11:01 amPlease post back following code result.Code: Select all
cat /etc/fstab
Code: Select all
/dev/disk/by-uuid/11111111111111 /mnt/11111111111111 auto nosuid,nodev,nofail,noauto,x-udisks-auth 0 0
What I tried is change settings in Disks which modifies the fstab file. That did hide the drive in the left side bar in Files manager and did not hide the drive in Computer.
In detail, I launch Files manager, I click the menu Go, I click the menu item Computer. There I see the hard drive. I want to hide the hard drive so that it does not appear there.
Re: Hide HDD in Computer
Yes I have reasons to believe it is perhaps possible.
Yes in Microsoft Windows you can hide drives in My Computer.
Re: Hide HDD in Computer
Okay, now I understand why you think it's possible. You're comparing apples and oranges. Do you understand that what Windows calls "drives" are actually partitions (except for the optical drive)? By contrast, the Computer pane in File Manager shows devices. The comparable thing in Windows would be Disk Management. I'm quite sure you can't hide a device from Disk Management.
ETA: If you're not familiar, you can open Disk Management in Windows by right-clicking Start. Also available by search in Control Panel.
ETA: If you're not familiar, you can open Disk Management in Windows by right-clicking Start. Also available by search in Control Panel.
Last edited by pbear on Mon Mar 09, 2020 11:42 am, edited 1 time in total.
Re: Hide HDD in Computer
Of course you can hide a drive. Open the case, unplug it, undo the screws and then, hide it where you like.
Fully mint Household
Out of my mind - please leave a message
Out of my mind - please leave a message
Re: Hide HDD in Computer
Thank you for the help. I suppose it can not be done.
I have a MS Windows hard drive on my computer. Are there more steps to prevent Linux Mint processes from reading or writing to the Windows hard drive?
I have a MS Windows hard drive on my computer. Are there more steps to prevent Linux Mint processes from reading or writing to the Windows hard drive?
Re: Hide HDD in Computer
Writing, Linux should not do it unless you tell it to.
I would be much more worried about windows writing to your Linux partitions, without asking. There are many examples that appeared on the forum.
To prevent read, you could encrypt your windows partition.
I would be much more worried about windows writing to your Linux partitions, without asking. There are many examples that appeared on the forum.
To prevent read, you could encrypt your windows partition.
Re: Hide HDD in Computer
That question has come up before. As I recall, there was a thread with an answer, but didn't save a link as not something I want or need. Faint echo in what remains of my memory says the solution was something along the lines of mounting the partition with root privileges, which would prevent any ordinary process from writing to the drive. What is the scenario you're trying to protect against?
Re: Hide HDD in Computer
here is a counter-example: viewtopic.php?f=46&t=270547