{"id":21695,"date":"2023-09-30T16:29:27","date_gmt":"2023-09-30T16:29:27","guid":{"rendered":"https:\/\/linuxways.net\/?p=21695"},"modified":"2023-09-30T16:29:27","modified_gmt":"2023-09-30T16:29:27","slug":"unmount-my-external-hard-drive-in-ubuntu-terminal","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/unmount-my-external-hard-drive-in-ubuntu-terminal\/","title":{"rendered":"Unmount My External Hard Drive in Ubuntu Terminal"},"content":{"rendered":"<p>Ubuntu Terminal has more dominance in managing disks and partitions over the standard GUI. With Ubuntu Terminal, managing the External Hard Drive as well as mounting and unmounting can be carried out easily and more reliably. Mounting a Device means connecting it to the system through any of the USB Controller Ports for file transfer. Similarly, unmounting means disconnecting the Hard Drive from the Ubuntu System.<\/p>\n<p>This article explains the process of Unmounting External Hard Drives using Ubuntu Terminal.<\/p>\n<h2><strong>Unmount My External Hard Drive in the Ubuntu Terminal<\/strong><\/h2>\n<p>Unmounting the External Hard Drive from the Ubuntu System can be carried out easily through the Terminal using the \u201cumount\u201d Command. Follow the steps below to Unmount your External Hard Drive in Ubuntu.<\/p>\n<h3><strong>Step 1: Open Unity Terminal<\/strong><\/h3>\n<p>To start the terminal using the GUI, click on the \u201cShow Applications\u201d icon to open the \u201cShow Applications\u201d menu directly:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" class=\"wp-image-21696\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-1.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-1-300x169.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-1-1024x576.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-1-768x432.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-1-1536x864.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>On the Top of Applications Menu, the \u201cSearch\u201d box will be available. Search for \u201cTerminal\u201d in the search bar. The Terminal Icon will appear:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1221\" height=\"281\" class=\"wp-image-21698\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-2.png 1221w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-2-300x69.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-2-1024x236.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-2-768x177.png 768w\" sizes=\"auto, (max-width: 1221px) 100vw, 1221px\" \/><\/p>\n<p>Click on the terminal to Start it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"221\" class=\"wp-image-21699\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-3.png 733w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-3-300x90.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/p>\n<p>To Open the Terminal using the Shortcut Key, press the default \u201cctrl+alt+T\u201d keys to open it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1514\" height=\"460\" class=\"wp-image-21700\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-4.png 1514w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-4-300x91.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-4-1024x311.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-4-768x233.png 768w\" sizes=\"auto, (max-width: 1514px) 100vw, 1514px\" \/><\/p>\n<h3><strong>Step 2: Identify Drive Mount Point<\/strong><\/h3>\n<p>Insert your External Drive into the system through the USB Port and in the Terminal, use the \u201clsblk\u201d command to list all the Drives on your Ubuntu System:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"514\" class=\"wp-image-21701\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-5.png 736w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-5-300x210.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/p>\n<p>Here you will find your External Hard Driver, in our case the external hard drive name is \u201csdb1\u201d. Your External Drive name will be \u201csd-\u201d, where \u201c-\u201d may either be \u201ca\u201d or \u201cb.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"515\" class=\"wp-image-21702\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-6.png 728w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-6-300x212.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/p>\n<p>Our External Hard Drive has the Mount Point \u201csdb1\u201d.<\/p>\n<h3><strong>Optional Step<\/strong><\/h3>\n<p>If you are using Ubuntu as your Primary OS on your computer system, your External Hard Drive will be mounted and you can see the External Hard Disk in the list. If your External Hard Disk is not recognized when running your Ubuntu System on a Virtual Machine like VMWare, you need to configure the USB Controller Settings. To configure the USB Controller Settings, in the VMWare, click on the \u201cVM\u201d tab:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"963\" height=\"56\" class=\"wp-image-21703\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-7.png 963w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-7-300x17.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-7-768x45.png 768w\" sizes=\"auto, (max-width: 963px) 100vw, 963px\" \/><\/p>\n<p>Click on the \u201cSettings\u201d option from the drop-down:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"597\" height=\"473\" class=\"wp-image-21704\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-8.png 597w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-8-300x238.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-8-150x120.png 150w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/p>\n<p>The Settings Menu appears. In the Settings Menu, Click on the \u201cUSB Controller\u201d option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1125\" height=\"1067\" class=\"wp-image-21705\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-9.png 1125w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-9-300x285.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-9-1024x971.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-9-768x728.png 768w\" sizes=\"auto, (max-width: 1125px) 100vw, 1125px\" \/><\/p>\n<p>In the USB Controller Settings Menu, the Compatibility is set as \u201cUSB 2.0\u201d by default. The reason why your External Hard Disk is not recognized is because your system or the External Hard Drive has a USB 3.1 Controller.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1125\" height=\"1067\" class=\"wp-image-21706\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-10.png 1125w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-10-300x285.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-10-1024x971.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-10-768x728.png 768w\" sizes=\"auto, (max-width: 1125px) 100vw, 1125px\" \/><\/p>\n<p>Click on the drop-down icon and select \u201cUSB 3.1\u201d from the drop-down menu:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"592\" height=\"134\" class=\"wp-image-21707\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-11.png 592w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-11-300x68.png 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><\/p>\n<p>Once selected, click on \u201cOK\u201d to change the settings:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1125\" height=\"1067\" class=\"wp-image-21708\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-12.png 1125w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-12-300x285.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-12-1024x971.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-12-768x728.png 768w\" sizes=\"auto, (max-width: 1125px) 100vw, 1125px\" \/><\/p>\n<p>Now go back to the terminal and list the Drives using the \u201cfsdlk\u201d command. You will now see your External Hard Drive listed.<\/p>\n<h3><strong>Step 3: Unmount Drive<\/strong><\/h3>\n<p>The \u201cumount\u201d Command is used to unmount a Drive, having the syntax:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">umount<\/span> <span class=\"sy0\">&lt;<\/span>drive <span class=\"kw2\">mount<\/span> point<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>In our case, Mount Point is \u201csdb1\u201d. Ensure you use the \u201c\/dev\/\u201d with your Mount Device Name:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">umount<\/span> <span class=\"sy0\">\/<\/span>dev<span class=\"sy0\">\/<\/span>sdb1<\/div><\/div>\n<p>The External Hard Drive will be unmounted once you enter the command:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"65\" class=\"wp-image-21709\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-13.png 727w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-13-300x27.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><\/p>\n<h3><strong>Step 4: Verifying Unmounted External Hard Drive<\/strong><\/h3>\n<p>Use the \u201cumount\u201d command again to verify whether the External Hard Drive was unmounted or is still mounted:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">umount<\/span> <span class=\"sy0\">\/<\/span>dev<span class=\"sy0\">\/<\/span>sdb1<\/div><\/div>\n<p>The Command Line shows the mount point with a \u201cnot mounted\u201d message confirming the drive was unmounted:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"57\" class=\"wp-image-21710\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-14.png 731w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21695-14-300x23.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/p>\n<p>This is how you can unmount an External Hard Drive in the Ubuntu Terminal.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>External Hard Drive can be unmounted in the Ubuntu Terminal using the \u201cumount\u201d command. Once unmounted, the \u201cumount\u201d command can also be used again to verify if the drive Mount Point is still Unmounted or Mounted. This article explained the steps required to unmount an External Hard Drive in the Ubuntu Terminal.<\/p>","protected":false},"excerpt":{"rendered":"<p>The \u201cumount\u201d command is used to Unmount an External Hard Drive in the Ubuntu Terminal and can also be used to check if Drives are Mounted or Unmounted.<\/p>","protected":false},"author":110,"featured_media":21697,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-21695","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/21695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=21695"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/21695\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/21697"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=21695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=21695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=21695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}