{"id":1156,"date":"2017-01-16T01:21:27","date_gmt":"2017-01-16T01:21:27","guid":{"rendered":"http:\/\/rdircio.ddns.net\/blog\/?p=1156"},"modified":"2017-01-16T01:21:27","modified_gmt":"2017-01-16T01:21:27","slug":"preparing-for-an-alternate-disk-chroot","status":"publish","type":"post","link":"\/blog\/index.php\/preparing-for-an-alternate-disk-chroot\/","title":{"rendered":"preparing for an alternate disk chroot"},"content":{"rendered":"<p>These are the directories to mount:<br \/>\n# mount -o bind \/proc \/a\/proc<br \/>\n# mount -o bind \/dev \/a\/dev<br \/>\n# mount -o bind \/sys \/a\/sys<br \/>\n# mount -o bind \/run \/a\/run<br \/>\n# chroot \/a \/bin\/bash<\/p>\n<p>Once in, you may update your grub, but please check \/etc\/fstab before&#8230;<br \/>\n# grub2-install \/dev\/sda;grub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These are the directories to mount: # mount -o bind \/proc \/a\/proc # mount -o bind \/dev \/a\/dev # mount -o bind \/sys \/a\/sys # mount -o bind \/run \/a\/run # chroot \/a \/bin\/bash Once in, you may update your grub, but please check \/etc\/fstab before&#8230; # grub2-install \/dev\/sda;grub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1156","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1156"}],"version-history":[{"count":1,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1156\/revisions"}],"predecessor-version":[{"id":1157,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1156\/revisions\/1157"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1156"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}