{"id":434,"date":"2012-04-02T17:05:38","date_gmt":"2012-04-02T17:05:38","guid":{"rendered":"http:\/\/www.omniweb.com\/wordpress\/?p=434"},"modified":"2012-04-02T17:09:34","modified_gmt":"2012-04-02T17:09:34","slug":"ubuntu-server-format-usb","status":"publish","type":"post","link":"https:\/\/www.omniweb.com\/wordpress\/?p=434","title":{"rendered":"Format USB on Ubuntu Server"},"content":{"rendered":"<p>I have a brand new USB drive and I want to backup some contents on my server.  I hooked up the drive and type &#8220;mount -t ext3 \/mnt\/usb \/dev\/sdc1&#8221; but the drive is not formatted so this gave me an error.<\/p>\n<p>The steps to format the new USB from Ubuntu server command line are as follows:<br \/>\ntype &#8220;dmesg&#8221; to find \/ make sure  you have the correct drive letter (in my case, sdc)<br \/>\ntype &#8220;fdisk \/dev\/sdc&#8221; (this returns a menu listing)<br \/>\ntype &#8220;n&#8221; for new<br \/>\ntype &#8220;1&#8221; for partition number and use the defaults for start and end points.<br \/>\nThen type &#8220;w&#8221; to save the changes.<br \/>\nnow to format the new partition, type &#8220;mkfs -t ext3 \/dev\/sdc1&#8221;<br \/>\nthen the mount command works.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a brand new USB drive and I want to backup some contents on my server. I hooked up the drive and type &#8220;mount -t ext3 \/mnt\/usb \/dev\/sdc1&#8221; but the drive is not formatted so this gave me an &hellip; <a href=\"https:\/\/www.omniweb.com\/wordpress\/?p=434\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/434"}],"collection":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=434"}],"version-history":[{"count":3,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/434\/revisions"}],"predecessor-version":[{"id":438,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/434\/revisions\/438"}],"wp:attachment":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}