LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-2024, 11:28 AM   #1
LinuxIng10
LQ Newbie
 
Registered: Feb 2024
Posts: 1

Rep: Reputation: 0
How can I unmount my windows partitions from linux in a dualboot?


I want to make it so that linux doesn't have any access to my windows partitions.
 
Old 02-03-2024, 11:59 AM   #2
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Remove from /etc/fstab
 
Old 02-03-2024, 12:35 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,708

Rep: Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898
Welcome to LinuxQuestions.

What distribution and version are you running?
Are the Windows partitions automatically mounted?
 
Old 02-03-2024, 01:31 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,516

Rep: Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492
Does your unknown Linux OS have access now? And as asked above, check the /etc/fstab file for entries if they exist and comment them out or remove them. When you installed Linux, were you informed that windows partitions had been found and asked if you wanted them available on your Linux? If so, your answer should have been no then there would be no entry in the fstab file. Some Linux systems might not do this so?

Not sure what problem you foresee but the Linux OS isn't going to access your windows without user intervention.

Last edited by yancek; 02-03-2024 at 01:32 PM.
 
Old 02-03-2024, 08:36 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
In case it may help, here's a pretty good tutorial on the /etc/fstab file.
 
Old 02-04-2024, 06:45 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Welcome to LQ!

Quote:
Originally Posted by LinuxIng10 View Post
I want to make it so that linux doesn't have any access to my windows partitions.
I agree with other mentions of removing from '/etc/fstab' the entry relative to your windows partition(s). Please remember that any time you want to make changes to the system you will need root privileges as root or to use sudo.

But to answer your subject line query the means to unmount a partition is to use a 'umount /MountpointForWinPartion'.

To look at your mounted partitions you can use the 'df -h' to show them. 'df' will show the mount points and the free space on each. Again be sure to look at 'man df' to understand the command.

Look at 'man umount' from the Command Line (cli) within a virtual terminal. To umount a system mount point you will need to be root or use sudo. Remember to learn from 'man command' so you can perform the commands as desired.

Please look at my sig for some useful informational links to help you with the command line work.

Hope this helps!
 
  


Reply



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
[SOLVED] Can't unmount -- oops, can't fsck after unmount upnort Slackware 4 05-18-2019 11:41 AM
shutdown tumbleweed: failed to unmount /home; failed to unmount /var JZL240I-U Linux - Software 3 04-03-2017 07:23 AM
[SOLVED] Is it necessary to unmount other partitions (like Windows ntfs ones) before shutdown? Vexe Linux - Hardware 4 02-22-2013 11:07 PM
Missing unmount and unmount.cifs johnmccarthy Linux - Newbie 3 11-19-2011 07:01 AM
command 'unmount' not found - how can i unmount??? GloVe Linux - General 1 10-04-2003 06:33 AM

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

All times are GMT -5. The time now is 05:18 PM.

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
Open Source Consulting | Domain Registration