{"id":1561,"date":"2023-10-31T13:16:38","date_gmt":"2023-10-31T13:16:38","guid":{"rendered":"https:\/\/matob.web.id\/random\/?p=1561"},"modified":"2023-10-31T13:16:38","modified_gmt":"2023-10-31T13:16:38","slug":"format-flashdisk-on-ubuntu-via-terminal","status":"publish","type":"post","link":"https:\/\/matob.web.id\/random\/format-flashdisk-on-ubuntu-via-terminal\/","title":{"rendered":"How to Format Flashdisk on Ubuntu via terminal"},"content":{"rendered":"<p>Actually, this is just for my notes, but maybe it&#8217;s useful for someone else.\u00a0here&#8217;s how to format a flash drive in Ubuntu via the terminal.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1562\" src=\"https:\/\/matob.web.id\/random\/wp-content\/uploads\/sites\/2\/2021\/12\/powered_by_ubuntu.png\" alt=\"\" width=\"133\" height=\"200\" title=\"\"><\/p>\n<p>1. Open a terminal and log in as\u00a0\u00a0<b>sudo user<\/b><\/p>\n<p>2. after that type \u00a0\u00a0<b>$sudo fdisk -l<\/b>\u00a0\u00a0to see where the flash drive is on which boot device,<br \/>\nwhether in <strong><em>\/dev\/sdb1<\/em><\/strong> or <strong><em>\/dev\/sdc1<\/em><\/strong> or in <strong><em>\/dev\/sdd1<\/em><\/strong> or something else.<\/p>\n<p>3. Before formatting, you must first unmount it with the following command<\/p>\n<p><b>$sudo umount &#8220;locate flsdisk&#8221;<\/b><\/p>\n<p>example: <b>$sudo umount \/dev\/sdb1<\/b><\/p>\n<p>4. lastly type the command format<\/p>\n<p><b>$sudo mkfs.vfat \/dev\/sdb1<\/b><\/p>\n<p>Congratulations, your flash drive has been formatted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Actually, this is just for my notes, but maybe it&#8217;s useful for someone else.\u00a0here&#8217;s how to format a flash drive in Ubuntu via the terminal. 1. Open a terminal and log in as\u00a0\u00a0sudo user 2. after that type \u00a0\u00a0$sudo fdisk -l\u00a0\u00a0to see where the flash drive is on which boot device, whether in \/dev\/sdb1 or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1641,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[178,86],"class_list":["post-1561","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-2","tag-linux-command","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/posts\/1561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/comments?post=1561"}],"version-history":[{"count":0,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/posts\/1561\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/media\/1641"}],"wp:attachment":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/media?parent=1561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/categories?post=1561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/tags?post=1561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}