{"id":325,"date":"2009-12-17T12:38:00","date_gmt":"2009-12-17T12:38:00","guid":{"rendered":"https:\/\/questy.org\/?p=325"},"modified":"2024-09-26T19:13:30","modified_gmt":"2024-09-26T19:13:30","slug":"a-neat-trick","status":"publish","type":"post","link":"https:\/\/questy.org\/index.php\/2009\/12\/17\/a-neat-trick\/","title":{"rendered":"A Neat Trick&#8230;"},"content":{"rendered":"\n<p>When you have a large environment that can and does have a number of fingers into things, there is always the possibility that something could go awry on bootup such that you cannot boot fully into the OS. &nbsp;When you do this, it\u2019s common practice to use Grub options or a CD to boot into single-user mode and then do whatever it is you need to do.<\/p>\n\n\n\n<p>Sometimes, however, you get booted into single and go to edit a file, say\u2026 \/etc\/fstab for example, and when you open it shows as \u201creadonly\u201d.<\/p>\n\n\n\n<p>Here\u2019s a simple trick to do once you\u2019re logged in as root at a single-user prompt to do the work you need to do. &nbsp;run:<\/p>\n\n\n\n<p><strong>mount \/ -o remount,rw<\/strong><\/p>\n\n\n\n<p>This will remount the root filesystem as read-wwrite during maintenance so you can edit whatever you like in the \/etc directory (or anything else residing on the root filesystem.<\/p>\n\n\n\n<p>I\u2019ve had to use this a number of times for varying reasons, and thought it might help you a bit.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you have a large environment that can and does have a number of fingers into things, there is always the possibility that something could go awry on bootup such that you cannot boot fully into the OS. &nbsp;When you do this, it\u2019s common practice to use Grub options or a CD to boot into [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[5],"tags":[],"class_list":["post-325","post","type-post","status-publish","format-standard","hentry","category-general-news"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/posts\/325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/comments?post=325"}],"version-history":[{"count":1,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/posts\/325\/revisions"}],"predecessor-version":[{"id":326,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/posts\/325\/revisions\/326"}],"wp:attachment":[{"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/media?parent=325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/categories?post=325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/tags?post=325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}