LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2017, 09:40 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,784

Rep: Reputation: 49
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.
 
Old 02-03-2017, 10:22 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,780
Blog Entries: 27

Rep: Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632
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.
 
Old 02-03-2017, 11:23 PM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,784

Original Poster
Rep: Reputation: 49
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.
 
Old 02-04-2017, 04:18 AM   #4
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 987

Rep: Reputation: 260Reputation: 260Reputation: 260
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.

Last edited by Brains; 02-04-2017 at 04:23 AM.
 
Old 02-04-2017, 04:38 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
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.
 
1 members found this post helpful.
Old 02-04-2017, 05:14 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,171
Blog Entries: 9

Rep: Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608
i'm curious, op, did one of the last 2 posts provide a solution?
 
1 members found this post helpful.
Old 02-04-2017, 10:07 AM   #7
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,784

Original Poster
Rep: Reputation: 49
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.
 
1 members found this post helpful.
Old 02-04-2017, 10:11 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
Quote:
Originally Posted by rjo98 View Post
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).
 
Old 02-04-2017, 11:01 AM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ Win10
Posts: 9,495

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
Quote:
Originally Posted by rjo98 View Post
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?
 
Old 02-04-2017, 05:00 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,390

Rep: Reputation: 3046Reputation: 3046Reputation: 3046Reputation: 3046Reputation: 3046Reputation: 3046Reputation: 3046Reputation: 3046Reputation: 3046Reputation: 3046Reputation: 3046
Quote:
Originally Posted by hydrurga View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to safely remove linux partition from a dual boot system? parv Linux - Newbie 7 05-01-2012 10:59 AM
How to remove a fedora - linux partition from a dual boot system "windows 7 + Fedora" deb1bhu Linux - Software 6 06-13-2011 02:06 PM
Removing Windows partition from dual-boot system sjkirkpatrick Linux - Newbie 1 07-12-2002 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration