Linux Lite Forums

Software - Support => Other => Topic started by: paul1149 on August 01, 2015, 07:40:38 AM

Title: [SOLVED] Internal drives show on desktop as removable
Post by: paul1149 on August 01, 2015, 07:40:38 AM
I've now got my two internal drives (three partitions) automatically mounted and accessible without supplying credentials each time, thanks to the advice in a nearby thread. One detail persists, that the drives are shown on the desktop as Removable devices. That desktop feature is great for devices that are actually removable, such as USB sticks and cameras, but it's undesirable for persistent drives, as they are already in Thunar's tree pane. The drives are NTFS, if that makes a difference. Is there any way to get them recognized as internal devices and off the desktop? I did do a search on this but didn't find anything clear.


Thanks,
Paul
Title: Re: [SOLVED] Internal drives show on desktop as removable
Post by: N4RPS on August 01, 2015, 11:28:21 PM
Hello!

Editing fstab to mount drives at boot is fine and dandy. However, one must remember that if it's an external drive, or is not there at startup for some other reason, your system will become unbootable until you fix fstab.

Recently, I had a partition unavailable for some reason, and wasn't able to access that partition to fix fstab on it from a LiveCD. The only thing that saved me was having another Linux OS on the same drive I could boot into, so I could fix LL's fstab. At that point, I decided I'd rather type my password...

73 DE N4RPS
Rob
Title: Re: [SOLVED] Internal drives show on desktop as removable
Post by: paul1149 on August 01, 2015, 11:39:06 PM
That's a good point. I just switched one of my internal drives in order to restore an image out to a different hard drive, because the backup doesn't deal with external drives, and found that LL would not boot under that circumstance. I found a different way to recover the data I needed. One other time I did go in and edit fstab with a LL live boot. Fstab is very exacting, and it pays to have a clean backup nearby.

But actually that isn't my question here. The drives are successfully mounted at boot. I'm simply trying to get them off the desktop.

BW,
Paul
Title: Re: [SOLVED] Internal drives show on desktop as removable
Post by: N4RPS on August 02, 2015, 03:47:22 AM
Hello!

Now that we know exactly what you want to do, here goes:

Right-click on desktop > Desktop Settings > Icons > Uncheck 'Removable Devices' works for me.

Apparently, as far as the desktop is concerned, other internal drives and a drive's other partitions are consider 'removable'...

73 DE N4RPS
Rob
Title: Re: [SOLVED] Internal drives show on desktop as removable
Post by: paul1149 on August 02, 2015, 05:59:11 AM
The problem with that is it takes usb sticks and cameras off the desktop too.
Title: Re: [SOLVED] Internal drives show on desktop as removable
Post by: Jerry on August 02, 2015, 06:27:20 AM
Perhaps that's because they are mounted in home. Try a system mount like /ntfsdrive1

Sent from my Nexus 6 using Tapatalk

Title: Re: [SOLVED] Internal drives show on desktop as removable
Post by: paul1149 on August 02, 2015, 08:19:42 AM
I like that scheme better, Jerry, because I think it will make my data backups simpler. But making the switch did not help the problem. I also made the same switch in my samba shares, which they also are, as well.
Title: Re: [SOLVED] Internal drives show on desktop as removable
Post by: paul1149 on August 03, 2015, 03:25:33 PM
Well, I finally got the hard drives off the desktop. I hate to admit it, but it was most probably human error in my editing of fstab. I thought I had all the tabs right in the mounting specs, but after I went over them the drives disappeared off the desktop.

They also disappeared from Thunar's Devices section of the Tree Pane. That's a little unfortunate, but not a big deal as I have dragged them as shortcuts to the Places section.

And USB devices are still showing up on the desktop, so all in all this is resolved. Thanks everyone for your input!
Title: Re: [SOLVED] Internal drives show on desktop as removable
Post by: Jerry on August 03, 2015, 04:26:20 PM
Good to hear. Please edit your first post and choose the prefix [SOLVED].