LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Remove Windows partition from Devices in Linux Mint on dual boot system (https://www.linuxquestions.org/questions/linux-newbie-8/remove-windows-partition-from-devices-in-linux-mint-on-dual-boot-system-4175598936/)

rjo98 02-03-2017 09:40 PM

Remove Windows partition from Devices in Linux Mint on dual boot system
 
Trying a dual boot of Windows and Linux Mint out, but can't seem to figure this out. When I open the Files explorer window, under Devices is my Windows partition and if I click on it it mounts it with full access.
is there a way to get it to not show up at all, or kill the access to it entirely? I'd like to make it so the Linux side can't access the Windows side, but not sure how.

frankbell 02-03-2017 10:22 PM

Please provide more information and clarification. Off the top of my head:

What's the make/model of the computer?

Is Mint installed and what you want to do is remove the Windows partition(s) completely? (Your post subject line seems to imply that.)

Have you actually attempted to install/installed Mint or are you still preparing to do so?

Have you re-sized the Windows partition to make room for Linux? (If not, be sure to back up crucial data first. Resizing normally goes smoothly, but, when you muck with partitions, stuff can always go awry.

What "files explorer" window? Is it in the Mint installer or somewhere else?

Which version of Windows? This matters because whether or not you have UEFI (Win8 and later) matters.

Remember, the more information you provide, the easier it is for others to help you.

rjo98 02-03-2017 11:23 PM

Essentially I'm trying to figure out how to disable the NTFS support inside linux mint or kill it if it can't be disabled. It's already dual booted with both and working fine but I don't want the person who is using the LM side to have full access to the windows side.
Files is the title of the window when you browse a folder, basically the same as a Windows' Explorer window when you open a hard drive.
The subject line meant was how when you are viewing a folder for example in the GUI how the windows partition shows up unmounted under the Devices heading.

Brains 02-04-2017 04:18 AM

I have been using Bootitng as my boot manager for around ten years. In the boot selection menu I include only the partitions I want accessible to the OS. All other OSs and or partitions are not included in the MBR of the drive/drives used when the OS is booted, it's as if they don't exist and they simply appear as free space.

Other than that, perhaps converting Windows file system to encrypted file system may be the best option.

Anybody in the sudo group can circumvent root settings, including changing /etc/fstab entry that specifies read only for a partition you don't want to risk modifications too.

hydrurga 02-04-2017 04:38 AM

Run gnome-disks, select the partition in question, click on the cogs icon and select Edit Mount Options.

That should give you a list of options that you can try out.

ondoho 02-04-2017 05:14 AM

i'm curious, op, did one of the last 2 posts provide a solution?

rjo98 02-04-2017 10:07 AM

Looks like hydrurga may have it, in the mount options i turned auto mount, mount at startup, and show in UI off, and it disappeared. So I guess this would qualify as close enough, out of sight out of mind right? the users i was trying to avoid having total access to the Windows side aren't Linux power users so they won't be messing with the settings or would even know to look in a fstab or anything like that.

hydrurga 02-04-2017 10:11 AM

Quote:

Originally Posted by rjo98 (Post 5664999)
Looks like hydrurga may have it, in the mount options i turned auto mount, mount at startup, and show in UI off, and it disappeared. So I guess this would qualify as close enough, out of sight out of mind right? the users i was trying to avoid having total access to the Windows side aren't Linux power users so they won't be messing with the settings or would even know to look in a fstab or anything like that.

As you say, and as Brains mentioned, anyone who is determined enough could get at the other partition, but this keeps it hidden away.

I agree with something else that Brains said and that's the use of encryption - if you really want to block the information on that partition from prying eyes, you should think of encrypting it. You could perhaps create an encrypted partition using VeraCrypt for all your important data, and mount that partition whenever you need it, from both the Linux and Windows ends (which is what I do, it works a treat).

BW-userx 02-04-2017 11:01 AM

Quote:

Originally Posted by rjo98 (Post 5664798)
Trying a dual boot of Windows and Linux Mint out, but can't seem to figure this out. When I open the Files explorer window, under Devices is my Windows partition and if I click on it it mounts it with full access.
is there a way to get it to not show up at all, or kill the access to it entirely? I'd like to make it so the Linux side can't access the Windows side, but not sure how.

when you say devices are you talking about?

Devices typically mean a phone or item plugged into the pc/lt

these devices plugged in at the time you did this? if yes, then have you tried unplugging them?

syg00 02-04-2017 05:00 PM

Quote:

Originally Posted by hydrurga (Post 5665000)
As you say, and as Brains mentioned, anyone who is determined enough could get at the other partition, but this keeps it hidden away.

sudo can be setup to stop (most) people from using mount.
Then there is also polkit, or a MAC like SELinux/AppArmor.


All times are GMT -5. The time now is 09:47 PM.