{"id":1706,"date":"2017-11-06T16:58:44","date_gmt":"2017-11-06T16:58:44","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=1706"},"modified":"2017-11-06T16:58:44","modified_gmt":"2017-11-06T16:58:44","slug":"linux-add-mount-point-to-fstab","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/linux-add-mount-point-to-fstab\/","title":{"rendered":"Linux add mount point to fstab"},"content":{"rendered":"<p>You can use the Linux \/etc\/fstab to automatically mount hard drives on system boot up.\u00a0 In the file you should see all your default system mount points, to add another hard drive or mount point, just create a new line at the bottom of the file and put in the following info<\/p>\n<pre>\/dev\/drive\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/mount\/point\u00a0\u00a0\u00a0 filesystem\u00a0\u00a0 options\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0 0<\/pre>\n<p>Example:<\/p>\n<pre>\/dev\/sdb1 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/mnt\/\u00a0\u00a0\u00a0 ext4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 rw,defaults\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0 0<\/pre>\n<p>You can also use the UUID of the drive. You can find the UUID by running the following command<\/p>\n<pre>sudo blkid<\/pre>\n<p>In the fstab file just replace the \/dev\/drivename with the UUID<\/p>\n<pre>UUID=ba84c923-4413-090a-441d-6e12f32991b3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/mnt\u00a0\u00a0\u00a0 ext4  rw   0\u00a0\u00a0\u00a0\u00a0\u00a0 0<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>You can use the Linux \/etc\/fstab to automatically mount hard drives on system boot up.\u00a0 In the file you should see all your default system mount points, to add another hard drive or mount point, just create a new line &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/linux-add-mount-point-to-fstab\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[367,7,366,365],"class_list":["post-1706","post","type-post","status-publish","format-standard","hentry","category-command-line","category-linux","tag-fstab","tag-linux-2","tag-mount-point","tag-uuid"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=1706"}],"version-history":[{"count":7,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1706\/revisions"}],"predecessor-version":[{"id":1713,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1706\/revisions\/1713"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=1706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=1706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=1706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}