{"id":2995,"date":"2020-08-13T12:26:33","date_gmt":"2020-08-13T09:26:33","guid":{"rendered":"http:\/\/surgery.moscow\/smos\/?p=2995"},"modified":"2021-05-20T16:16:36","modified_gmt":"2021-05-20T13:16:36","slug":"entering-emergency-mode-exit-the-shell-to-continue","status":"publish","type":"post","link":"https:\/\/surgery.moscow\/smos\/2020\/08\/13\/entering-emergency-mode-exit-the-shell-to-continue\/","title":{"rendered":"Entering emergency mode. Exit the shell to continue"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u0418\u043d\u043e\u0433\u0434\u0430 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b <strong>VirtualBox<\/strong> \u0441 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 <strong>Centos<\/strong> :<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#171;Entering emergency mode. Exit the shell to continue.&#187;<br>Type &#171;journalctl&#187; to view system logs.<br>You might want to save &#171;\/run\/initramfs\/rdsosreport.txt&#187; to a usb stick or \/boot after mounting them and attach it to a bug report.<\/strong><br><br>\u0427\u0442\u043e \u0441 \u043d\u0435\u0439 \u0434\u0435\u043b\u0430\u0442\u044c :<br>\u041d\u0443\u0436\u043d\u043e \u0432\u044b\u044f\u0441\u043d\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <strong>systemctl<\/strong><br>\u043f\u0438\u0448\u0435\u043c \u0432 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0435\u043c\u0441\u044f \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u043d\u0430\u0431\u0438\u0440\u0430\u0435\u043c: <strong>xfs_repair -v -L \/dev\/dm-0<\/strong> \u0417\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043f\u0440\u0435\u0436\u0434\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c <strong>umount \/dev\/dm-0 <\/strong> , \u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c <strong>xfs_repair -v -L \/dev\/dm-0<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0418\u043d\u043e\u0433\u0434\u0430 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430:<br><strong>fsck   \/dev\/disk\/by-uuid\/a2ac5db7-cb06-4fc6-8ea8-6e994ea081bf <\/strong><br>\u0438\u043b\u0438 <br><strong>xfs_repair -v -L  \/dev\/disk\/by-uuid\/a2ac5db7-cb06-4fc6-8ea8-6e994ea081bf<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>mount -o remount,rw \/sysroot\/<br>cd \/sysroot\/<br>cd \/etc<br>cp os-release.origin os-release<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0418\u043d\u043e\u0433\u0434\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>emergency<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b VirtualBox \u0441 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 Centos : &#171;Entering emergency mode. Exit the shell to<\/p>\n","protected":false},"author":1,"featured_media":2996,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,12,22],"tags":[],"class_list":["post-2995","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer","category-internet","category-technology"],"_links":{"self":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts\/2995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/comments?post=2995"}],"version-history":[{"count":9,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts\/2995\/revisions"}],"predecessor-version":[{"id":4219,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts\/2995\/revisions\/4219"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/media\/2996"}],"wp:attachment":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/media?parent=2995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/categories?post=2995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/tags?post=2995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}