Download Article
Remove drives and disks in Windows, macOS, and Linux
Download Article
- Using Windows |
- Using Mac |
- Using Linux |
- Q&A |
- Tips |
- Warnings
Do you need to unmount a disk or flash drive from your computer? Unmounting a drive is the same as ejecting a drive. With most devices, you cannot unmount your computer's main hard drive (the hard drive where your operating system is installed). This wikiHow will show you how to unmount a drive on your Windows, Mac, or Linux computer.
Unmounting a Disk or USB Drive
If you're using Windows, right-click the drive in File Explorer and click Eject on the Manage tab. On a Mac, open the Finder and click the eject button next to the drive. To unmount in Linux, use sudo umount followed by the mount point.
Steps
-
Open the File Explorer . Right-click the Start menu and select File Explorer .
- On Windows 7 and Vista, click Computer in the right column.
- Alternatively, press the Win key.
- If you need to remove or replace a physical hard drive built into your computer, see this article instead.
-
Click This PC . This may also look like Computer or My Computer .Advertisement
-
Click the drive you want to unmount. A list of all currently active drives will be available under the "Devices and drives" header.
- This drive must be either a removable drive (e.g., a flash drive or SD card) or a secondary internal drive.
-
Click ⏏ Eject . This will be in the Drive Tools tab. If you aren't already on this tab, click it to navigate there now.
- Once you click Eject , you'll see the drive's icon disappear from the File Explorer window, and a notification letting you know that it's safe to remove the drive will appear.
-
Physically remove the drive from your computer. This will complete the unmounting process.
-
Unmount and unassign the drive (optional). If you want to change or remove the drive letter, you can use the Disk Management app. This is helpful if you have a lot of partitions or volumes, or if you'd rather manually mount the drive yourself. Do the following:
- Press the Windows key + R to open the Run menu.
- Type diskmgmt.msc and press Enter .
- Right-click the drive.
- Click Change Drive Letter and Paths .
- Click Remove .
- Click Yes .
- Close Disk Management.
Advertisement
-
Open the Finder. This can be found in the Dock.
-
Click ⏏ Eject next to the drive. You can find this in the left panel. This will safely disconnect the drive from your device. [1] X Research source
- Alternatively, you can drag the drive to the Trash to quickly eject it.
-
Physically remove the drive from your computer. This will complete the unmounting process.
-
Unmount a disk without ejecting it (optional). If you want to unmount an internal disk drive, do the following:
- Open the Disk Utility app. [2] X Research source
- Select the disk or disk set you want to unmount.
- Click Unmount .
Advertisement
-
Type df -h and press ↵ Enter . This will list all human readable drives on your system.
- Take note of the drive's path.
-
Type sudo umount followed by the drive's path. You must have superuser privileges to do this.
- Note : The command is umount , not unmount .
-
Press ↵ Enter . The drive will be unmounted.
-
Physically remove the drive from your computer. This will complete the unmounting process.
Advertisement
Community Q&A
Search
-
QuestionHow do I fix an unmounted hard drive disk utility on my MacBook Pro when it doesn't show up anymore?Community AnswerLook for errors in the hardware (look for problems in the physical drive or drive connector). It usually does that when there is a physical error so try connecting the drive to a different computer to see if there are any problems.
-
QuestionHow do I dismount a drive that doesn't have an "eject" button? On This PC, nothing happens if I click on the popup in the taskbar.Community AnswerYou can right click on the partition and press eject. Or rght click on 'My Computer', and select manage>Storage>Disk Management>.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Tips
- On Windows, you can unmount a drive by clicking the USB icon in the bottom-right side of the screen and then clicking Eject .Thanks
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement
Warnings
- Failing to unmount a drive before disconnecting it may result in data loss or corruption.Thanks
Advertisement
References
About This Article
Thanks to all authors for creating a page that has been read 24,165,665 times.
Advertisement