{"id":18818,"date":"2022-10-04T15:53:48","date_gmt":"2022-10-04T15:53:48","guid":{"rendered":"https:\/\/linuxways.net\/?p=18818"},"modified":"2022-11-04T02:51:45","modified_gmt":"2022-11-04T02:51:45","slug":"mount-usb-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/mount-usb-ubuntu-22-04\/","title":{"rendered":"How to Mount the USB in Ubuntu 22.04"},"content":{"rendered":"<p>The USB device is mounted automatically by the system operating system when attached to the USB port. We can access the USB from the file manager of that particular machine. But sometimes, this doesn\u2019t happen due to complications like missing configurations for USB storage devices and the system causing failure to mount the USB devices. Then, in these types of cases, we have to manually mount the USB devices in our systems to access them. Here, we will configure the manual way to mount the USB device on our system. All the commands and instructions are utilized for Ubuntu 22.04 LTS.<\/p>\n<h2><strong>Detect USB in Ubuntu 22.04<\/strong><\/h2>\n<p>Before mounting the USB in Ubuntu 22.04, we have to figure out whether the USB is plugged into the USB port. When we plugged the USB into the USB port, the new USB icon is automatically displayed in the Ubuntu 22.04 dock as shown in the following screenshot. Moreover, we can find the attached USB inside the file manager of Ubuntu 22.04. Our USB name is \u201cMyUSB\u201d which is found in the file manager as the folder.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"1016\" height=\"589\" class=\"wp-image-18823\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-1.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-1.jpeg 1016w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-1-300x174.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-1-768x445.jpeg 768w\" sizes=\"auto, (max-width: 1016px) 100vw, 1016px\" \/><\/strong><\/p>\n<p>If in case the plugged USB is not found in the dock or file manager, we have a \u201cDisks\u201d application in Ubuntu 22.04. From the activities, we search for this application and launch it. The following image shows the appearance of the \u201cDisks\u201d application.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"934\" height=\"251\" class=\"wp-image-18824\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-2.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-2.jpeg 934w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-2-300x81.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-2-768x206.jpeg 768w\" sizes=\"auto, (max-width: 934px) 100vw, 934px\" \/><\/strong><\/p>\n<p>Here, we have our plugged drive of 16GB size. We format the USB to remove any issue or troubleshoot that it creates in the system. After formatting, the USB drive will be displayed in Ubuntu 22.04 dock and file manager.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"892\" height=\"574\" class=\"wp-image-18828\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-3.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-3.jpeg 892w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-3-300x193.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-3-768x494.jpeg 768w\" sizes=\"auto, (max-width: 892px) 100vw, 892px\" \/><\/strong><\/p>\n<h2><strong>Mount the USB in Ubuntu 22.04 from the Terminal<\/strong><\/h2>\n<p>Now, in this section, we mount the USB with Ubuntu 22.04 shell command line. This enables us to mount a USB device to a mount point in our system with any existing file system. We first execute the command to identify the USB device in our system. The highlighted line in the following output shows our USB device location in Ubuntu 22.04. If this type of line is not found, it means that the USB file is not found in our system and we cannot access the files and folders of the drive.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"431\" class=\"wp-image-18834\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-4.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-4.jpeg 724w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-4-300x179.jpeg 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/strong><\/p>\n<p>We now establishe a new directory to get the data of the USB drive. Here, we create the \u201c\/media\u201d directory with the mkdir command under the sudo authorization for a USB drive to be mounted. The USB name is also given to the \u201c\/media\u201d directory.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"716\" height=\"58\" class=\"wp-image-18838\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-5.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-5.jpeg 716w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-5-300x24.jpeg 300w\" sizes=\"auto, (max-width: 716px) 100vw, 716px\" \/><\/strong><\/p>\n<p>The USB device is connected to the Ubuntu 22.04 file system so we can easily access the data that is present in it. We can also deploy the utility program of the mount to do the same. Now, we run the \u201cmount\u201d command to read the manual for further usage.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"40\" class=\"wp-image-18840\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-6.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-6.jpeg 724w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-6-300x17.jpeg 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/p>\n<p>Next, we run the command to mount the USB drive that has the FAT16 and FAT32 file systems.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"41\" class=\"wp-image-18842\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-7.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-7.jpeg 697w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-7-300x18.jpeg 300w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/p>\n<p>If the previous steps are followed accurately for the USB drive to mount in Ubuntu 22.04, only we can access the USB drive content. Now, we run the \u201clsblk\u201d command again to check the status of the USB drive that we mounted. Hence, the USB is mounted in the new \u201cmedia\u201d directory successfully.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"330\" class=\"wp-image-18847\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-8.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-8.jpeg 722w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-8-300x137.jpeg 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/p>\n<p>All the previous commands are for mounting the USB drive in Ubuntu 22.04. We can also unmount the mounted USB using the following command. We use the mount point directory with the unmount command. This command removes the mount USB drive.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"623\" height=\"37\" class=\"wp-image-18849\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-9.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-9.jpeg 623w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-9-300x18.jpeg 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/p>\n<p>To see whether the USB is unmounted or not, we utilize the \u201clsblk\u201d command again which displays that no USB is currently mounted in Ubuntu 22.04.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"713\" height=\"309\" class=\"wp-image-18850\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-10.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-10.jpeg 713w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-10-300x130.jpeg 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/p>\n<h2><strong>Mount the USB in Ubuntu 22.04 from the Disks Application<\/strong><\/h2>\n<p>We accomplished in mounting the USB drive with the Ubuntu 22.04 shell command line. It is also fairly simple to mount the drive with the desktop environment of Ubuntu 22.04. We have many Linux operating systems that currently have GUI programs for the same. But here, we will follow the instructions to mount the USB flash drive with Ubuntu 22.04 GUI. As we discussed earlier, the disk application locates the USB drive in Ubuntu 22.04. When we click our USB drive option, the details of our USB drive are opened. In the \u201cvolumes\u201d section in the following illustration, we have the \u201ccontents\u201d option. The \u201ccontents\u201d display that the USB drive is not mounted.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"895\" height=\"436\" class=\"wp-image-18853\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-11.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-11.jpeg 895w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-11-300x146.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-11-768x374.jpeg 768w\" sizes=\"auto, (max-width: 895px) 100vw, 895px\" \/><\/p>\n<p>Now, to enable the \u201cMount\u201d status for the USB drive, we press the play button as shown in the previous image. By doing this, the USB drive is automatically created at the mount point and is attached to the device. Now, the status of our USB drive is mounted in the directory as displayed in the following screenshot:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"690\" height=\"430\" class=\"wp-image-18854\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-12.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-12.jpeg 690w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-12-300x187.jpeg 300w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/p>\n<p>Next, we open the USB drive by right-clicking the previously-mounted directory. There, we have an option to open the link. The link directs us to the USB drive location. The figure shows the location of our USB drive in Ubuntu 22.04.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"876\" height=\"514\" class=\"wp-image-18855\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-13.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-13.jpeg 876w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-13-300x176.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-13-768x451.jpeg 768w\" sizes=\"auto, (max-width: 876px) 100vw, 876px\" \/><\/p>\n<p>The mounting step for the USB drive is very simple to the Ubuntu 22.04 GUI. Likewise, the unmount method is also very simple. We just have to click the square button which is displayed when we mount our USB. The status of the USB drive is now unmounted as the following snapshot displays it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"891\" height=\"483\" class=\"wp-image-18858\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-14.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-14.jpeg 891w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-14-300x163.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18818-14-768x416.jpeg 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Here, we learned to mount the USB in the latest version of Ubuntu 22.4 so that we can easily access the USB stored data to read and add the new content to the USB. The Linux operating system enables us to either set up a temporary mount for a USB drive that we plug in or a persistent mount for a flash drive that we don&#8217;t intend to erase. Here, we used two ways to mount the USB drive: using the shell command line of Ubuntu 22.04 where we mount the USB drive with the mount command. Moreover, we used the unmount command to unmount the mounted USB. Then, we mounted and unmounted the USB drive with the GUI application Disks of Ubuntu 22.04.<\/p>","protected":false},"excerpt":{"rendered":"<p>Practical tutorial on how to mount the USB from the terminal and disks application in the latest version of Ubuntu 22.4 to easily access the USB stored data.<\/p>","protected":false},"author":105,"featured_media":18872,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-18818","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\/18818","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\/105"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=18818"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/18818\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/18872"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=18818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=18818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=18818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}