{"id":1315,"date":"2016-05-04T21:29:23","date_gmt":"2016-05-05T01:29:23","guid":{"rendered":"http:\/\/shirishranjit.com\/blog1\/?page_id=1315"},"modified":"2016-05-04T21:34:21","modified_gmt":"2016-05-05T01:34:21","slug":"mac-os-x-single-user-mode-and-mounting-usb-drive","status":"publish","type":"page","link":"https:\/\/shirishranjit.com\/blog1\/technical-posts\/mac-os-x-tidbits\/os-x-update-crashes-word-power-point\/mac-os-x-single-user-mode-and-mounting-usb-drive","title":{"rendered":"Mac OS X Single user mode and Mounting USB drive"},"content":{"rendered":"<p>Single User mode<\/p>\n<pre>\r\ncommand + s\r\n<\/pre>\n<p>You can now go ahead and enter the two commands listed on the screen.<\/p>\n<pre>\r\nfsck \u2013fy\r\nmount \u2013uw \/\r\n<\/pre>\n<p>We need to know what the computer has called our drives and partitions. <\/p>\n<pre>\r\nls \u2013l \/dev\/disk*\r\n<\/pre>\n<p>We get some output which contains something like this:<\/p>\n<pre>\r\n\/dev\/disk0\r\n\/dev\/disk0s1 <-- we know we are on this partition\r\n\/dev\/disk0s2\r\n\/dev\/disk1\r\n\/dev\/disk1s1\r\n\/dev\/disk1s2 <-- the file we want is here (we think)\r\n<\/pre>\n<p>Check the file system used by the drive we want to mount. In my example it is a Windows NTFS partition.<\/p>\n<pre>\r\nfstyp \/dev\/disk1s2\r\n    hfs\r\n<\/pre>\n<p>If the device was a HFS\/HFS+ volume (Mac OS) then we would use this command:<\/p>\n<pre>\r\nmount \u2013t hfs \/dev\/disk1s2 \/drive2\r\n<\/pre>\n<p>We can unmount the device using this command (note spelling of \u201cumount\u201d):<\/p>\n<pre>\r\numount \/dev\/disk1s2\r\n<\/pre>\n<div class=\"twttr_buttons\"><div class=\"twttr_twitter\">\n\t\t\t\t\t<a href=\"http:\/\/twitter.com\/share?text=Mac+OS+X+Single+user+mode+and+Mounting+USB+drive\" class=\"twitter-share-button\" data-via=\"\" data-hashtags=\"\"  data-size=\"default\" data-url=\"https:\/\/shirishranjit.com\/blog1\/technical-posts\/mac-os-x-tidbits\/os-x-update-crashes-word-power-point\/mac-os-x-single-user-mode-and-mounting-usb-drive\"  data-related=\"\" target=\"_blank\">Tweet<\/a>\n\t\t\t\t<\/div><div class=\"twttr_followme\">\n\t\t\t\t\t\t<a href=\"https:\/\/twitter.com\/shiranjit\" class=\"twitter-follow-button\" data-size=\"default\"  data-show-screen-name=\"false\"  target=\"_blank\">Follow me<\/a>\n\t\t\t\t\t<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Single User mode command + s You can now go ahead and enter the two commands listed on the screen. fsck \u2013fy mount \u2013uw \/ We need to know what the computer has called our drives and partitions. ls \u2013l &hellip; <a href=\"https:\/\/shirishranjit.com\/blog1\/technical-posts\/mac-os-x-tidbits\/os-x-update-crashes-word-power-point\/mac-os-x-single-user-mode-and-mounting-usb-drive\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"parent":620,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1315","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/1315"}],"collection":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/comments?post=1315"}],"version-history":[{"count":4,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/1315\/revisions"}],"predecessor-version":[{"id":1319,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/1315\/revisions\/1319"}],"up":[{"embeddable":true,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/620"}],"wp:attachment":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/media?parent=1315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}