LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-18-2020, 12:26 PM   #1
Meow1234
Member
 
Registered: Jul 2020
Distribution: Kubuntu 21.04
Posts: 56

Rep: Reputation: Disabled
Question Is it possible to unmount /?


Is it possible? I’d like to know.
 
Old 07-18-2020, 01:16 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,146
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
Yes.
Code:
man systemd-shutdown
https://linux.die.net/sag/shutdown.html
 
Old 07-18-2020, 01:23 PM   #3
Meow1234
Member
 
Registered: Jul 2020
Distribution: Kubuntu 21.04
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Yes.
Code:
man systemd-shutdown
https://linux.die.net/sag/shutdown.html
I know that shutting down the system unmounts root, but is there a way without shutting down?
 
Old 07-18-2020, 01:31 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,759

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
No, what are you trying to accomplish?
 
Old 07-18-2020, 02:51 PM   #5
Meow1234
Member
 
Registered: Jul 2020
Distribution: Kubuntu 21.04
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
No, what are you trying to accomplish?
I dunno, was just curious if it was possible.
 
Old 07-18-2020, 03:11 PM   #6
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
Easy way to find out: try it. The umount command will tell you the directory is busy.
 
Old 07-18-2020, 03:54 PM   #7
Meow1234
Member
 
Registered: Jul 2020
Distribution: Kubuntu 21.04
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by agillator View Post
The umount command will tell you the directory is busy.
Is there a way to force unmount the drive?
 
Old 07-18-2020, 05:02 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,705

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Meow1234 View Post
Is there a way to force unmount the drive?
Yes; read the man page on the mount command.
 
1 members found this post helpful.
Old 07-18-2020, 05:57 PM   #9
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by Meow1234 View Post
Is there a way to force unmount the drive?
A good way to corrupt your partition and freeze your system. It's very likely you'll need to run fsck the next time you reboot. So please, use a VM install for experimenting with this.
 
2 members found this post helpful.
Old 07-18-2020, 06:38 PM   #10
Meow1234
Member
 
Registered: Jul 2020
Distribution: Kubuntu 21.04
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Mill J View Post
A good way to corrupt your partition and freeze your system. It's very likely you'll need to run fsck the next time you reboot. So please, use a VM install for experimenting with this.
I didn’t plan on using a real computer for this.
 
Old 07-18-2020, 06:57 PM   #11
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Of course anything is possible.

There's your answer, and others have already said this.

If you have no use case for it except that you wish to know if it is possible, then that's all we can advise you about.

There's also a concept of rotating it, which is not necessarily unmounting it.

It's not worth discussing because you've been asked your goal a few times and all you've said is that you wish to know if it is possible.
 
Old 07-18-2020, 07:41 PM   #12
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by Meow1234 View Post
I didn’t plan on using a real computer for this.
Just a tip. You should have added this to the original question. Most members here aren't willing to help a fellow user destroy their OS. This is of course the reason for the vague answers you received.
 
  


Reply

Tags
root folder, umount, unmount



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 On
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
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
How do I unmount my windows deive from Linux ady Linux - General 1 07-20-2001 09:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:31 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