{"id":342,"date":"2012-07-17T17:43:08","date_gmt":"2012-07-17T15:43:08","guid":{"rendered":"http:\/\/rexxer.kharkov.ru\/?p=342"},"modified":"2012-07-17T17:43:08","modified_gmt":"2012-07-17T15:43:08","slug":"centos-restoring-from-a-dump","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=342","title":{"rendered":"CentOS + restoring from a dump"},"content":{"rendered":"<p>\u0420\u0430\u043d\u0435\u0435 \u044f \u043f\u0438\u0441\u0430\u043b \u043e \u0442\u043e\u043c \u043a\u0430\u043a \u0441\u0434\u0430\u043c\u043f\u0438\u0442\u044c \u0434\u043b\u044f \u0431\u044d\u043a\u0430\u043f\u0430 \u0440\u0430\u0437\u0434\u0435\u043b \u0441 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u043c.<\/p>\n<p>\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0434\u0430\u043c\u043f\u0430.<\/p>\n<p>\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u043d\u0435 \u0433\u0440\u0443\u0437\u0438\u043b\u0430\u0441\u044c \u0438 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b\u0430\u0441\u044c \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 kernel panic \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<p>\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 Rescue \u0441 \u0421\u0414, \u043f\u0440\u043e\u0433\u043d\u0430\u043b \u0441\u0438\u0441\u0442\u0435\u043c\u0443 fsck &#8211; \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e, \u043c\u0443\u0434\u0440\u0438\u043b \u0441 GRUB &#8211; \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e, \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 &#8211; \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e :).<\/p>\n<p>\u0420\u0435\u0448\u0438\u043b \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0437 \u0434\u0430\u043c\u043f\u0430. \u041a \u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u0443 \u044f \u0443\u0436\u0435 \u0437\u0430\u043f\u0438\u0441\u0430\u043b CentOS 6.3 \u043d\u0430 \u0431\u043e\u043b\u0432\u0430\u043d\u043a\u0443 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f \u0432 Rescue \u0440\u0435\u0436\u0438\u043c\u0435 \u0432 \u0442\u0435\u043a\u0441\u0442\u0435.<\/p>\n<p>\u0414\u043b\u044f \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0437\u0430\u043f\u0438\u0441\u0430\u043b \u0434\u0430\u043c\u043f \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u044e\u0441\u0431-\u0432\u0438\u043d\u0442.<\/p>\n<p>\u041f\u043e\u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438 \u0442\u0443\u0442 \u043c\u0435\u043d\u044f \u0436\u0434\u0430\u043b \u043e\u0431\u043b\u043e\u043c &#8211; \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 (NTFS). \u042f \u0431\u044b\u043b \u0432 \u0448\u043e\u043a\u0435 &#8211; \u043e\u0434\u043d\u0430 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430.<\/p>\n<p>\u0414\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438:<\/p>\n<blockquote>\n<p class=\"line874\">The default RPMforge <strong>repo<\/strong>sitory does not replace any CentOS base packages. In the past it used to, but those packages are now in a separate <strong>repo<\/strong>sitory (rpmforge-extras) which is disabled by default.<\/p>\n<p class=\"line862\">You can find a complete listing of the RPMforge package packages at <a class=\"http\" href=\"http:\/\/packages.sw.be\/\">http:\/\/packages.sw.be\/<\/a><\/p>\n<p class=\"line862\">Download the <tt>rpmforge-release<\/tt> package.  Choose one of the two links below, selecting to match your  host&#8217;s architecture.  If you are unsure of which one to use you can  check your architecture with the command <strong>uname -i<\/strong><\/p>\n<ul>\n<li>\n<p class=\"line862\">i686 <a class=\"http\" href=\"http:\/\/packages.sw.be\/rpmforge-release\/rpmforge-release-0.5.2-2.el6.rf.i686.rpm\">http:\/\/packages.sw.be\/rpmforge-release\/rpmforge-release-0.5.2-2.el6.rf.i686.rpm<\/a><\/p>\n<\/li>\n<li>\n<p class=\"line862\">x86_64 <a class=\"http\" href=\"http:\/\/packages.sw.be\/rpmforge-release\/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm\">http:\/\/packages.sw.be\/rpmforge-release\/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm<\/a><\/p>\n<\/li>\n<\/ul>\n<p class=\"line862\">The preferred <tt>rpmforge-release<\/tt> package to retrieve and to install in order to enable that <strong>repo<\/strong>sitory is one of the two listed above.<\/p>\n<p class=\"line874\">Install DAG&#8217;s GPG key<\/p>\n<pre>rpm --import http:\/\/apt.sw.be\/RPM-GPG-KEY.dag.txt<\/pre>\n<p class=\"line874\">If you get an error message like the following the key has already been imported:<\/p>\n<pre>error: http:\/\/apt.sw.be\/RPM-GPG-KEY.dag.txt: key 1 import failed.<\/pre>\n<p class=\"line874\">Verify the package you have downloaded<\/p>\n<pre>rpm -K rpmforge-release-0.5.2-2.el6.rf.*.rpm<\/pre>\n<p class=\"line867\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/wiki.centos.org\/wiki\/modern-CentOS\/img\/attention.png\" alt=\"&lt;!&gt;\" width=\"15\" height=\"15\" \/> <em>Security warning:<\/em> The <tt>rpmforge-release<\/tt> package imports GPG keys into your RPM database.  As long as you have verified the <tt>md5sum<\/tt> of the key injection package, and trust Dag, et al., then it should be as safe as your trust of them extends.<\/p>\n<p class=\"line874\">Install the package<\/p>\n<pre>rpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpm<\/pre>\n<p class=\"line874\">This will add a yum <strong>repo<\/strong>sitory config file and import the appropriate GPG keys.<\/p>\n<p class=\"line874\">Then try to install something like this<\/p>\n<pre>yum install ntfs-3g<\/pre>\n<\/blockquote>\n<p>\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0434\u0438\u0441\u043a.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435:<\/p>\n<blockquote><p>cd \/mnt\/sysimage (\u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b \u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0430\u043c\u043f)<\/p>\n<p>restore -rf \/mnt\/usb\/linux.dump<\/p><\/blockquote>\n<p>\u041f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f &#8211; \u0432\u0441\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0420\u0430\u043d\u0435\u0435 \u044f \u043f\u0438\u0441\u0430\u043b \u043e \u0442\u043e\u043c \u043a\u0430\u043a \u0441\u0434\u0430\u043c\u043f\u0438\u0442\u044c \u0434\u043b\u044f \u0431\u044d\u043a\u0430\u043f\u0430 \u0440\u0430\u0437\u0434\u0435\u043b \u0441 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u043c. \u041d\u0435\u0434\u0430\u0432\u043d\u043e \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0434\u0430\u043c\u043f\u0430. \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u043d\u0435 \u0433\u0440\u0443\u0437\u0438\u043b\u0430\u0441\u044c \u0438 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b\u0430\u0441\u044c \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 kernel panic \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 Rescue \u0441 \u0421\u0414, \u043f\u0440\u043e\u0433\u043d\u0430\u043b \u0441\u0438\u0441\u0442\u0435\u043c\u0443 fsck &#8211; \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e, \u043c\u0443\u0434\u0440\u0438\u043b \u0441 GRUB &#8211; \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e, \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,13],"tags":[],"class_list":["post-342","post","type-post","status-publish","format-standard","hentry","category-linux","category-novosti"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=342"}],"version-history":[{"count":0,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/342\/revisions"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}