{"id":3555,"date":"2013-06-27T17:29:57","date_gmt":"2013-06-27T14:29:57","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=3555"},"modified":"2013-06-27T17:29:57","modified_gmt":"2013-06-27T14:29:57","slug":"%d0%bf%d0%b5%d1%80%d0%b5%d0%bd%d0%be%d1%81-freebsd-%d1%81-%d0%be%d0%b4%d0%bd%d0%be%d0%b3%d0%be-%d0%b6%d1%91%d1%81%d1%82%d0%ba%d0%be%d0%b3%d0%be-%d0%b4%d0%b8%d1%81%d0%ba%d0%b0-%d0%bd%d0%b0-%d0%b4%d1%80","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=3555","title":{"rendered":"\u041f\u0435\u0440\u0435\u043d\u043e\u0441 FreeBSD \u0441 \u043e\u0434\u043d\u043e\u0433\u043e \u0436\u0451\u0441\u0442\u043a\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439"},"content":{"rendered":"<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c <a rel=\"nofollow\" href=\"http:\/\/www.lissyara.su\/articles\/freebsd\/trivia\/move_system_between_hard_drives\/\" target=\"_blank\">\u044d\u0442\u043e\u0439<\/a>, \u043d\u043e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043f\u043e\u043f\u0440\u0430\u0432\u043a\u0430\u043c\u0438.<\/p>\n<p>\u0414\u0438\u0441\u043a \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 <strong>sysintall<\/strong> (\u0430 \u043c\u043e\u0436\u043d\u043e \u0438 \u0447\u0435\u0440\u0435\u0437 <strong>fdisk<\/strong>). \u041d\u0438\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u043f\u0438\u0441\u0430\u043d \u0441\u043f\u043e\u0441\u043e\u0431 \u0447\u0435\u0440\u0435\u0437 <strong>sysinstall<\/strong>.<\/p>\n<p><!--more--><\/p>\n<p>\u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 <strong>\/mnt<\/strong> \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043f\u0430\u043f\u043e\u043a, \u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u043c \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b\u044b.<\/p>\n<p><code># mkdir -p \/mnt\/{root, var, tmp, usr}<\/code><\/p>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c (\u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u043c)! \u041f\u0440\u0438\u043a\u043e\u043b \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c, \u0435\u0441\u043b\u0438 \u0434\u043b\u044f \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430, \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u043e\u0447\u043a\u0443 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0442\u043b\u0438\u0447\u043d\u0443\u044e \u043e\u0442 <strong>&#8220;\/&#8221;<\/strong> \u0442\u043e \u043e\u043d \u043d\u0435 \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043b\u0443 \u0431\u0443\u043a\u0432\u0443 <strong>&#8220;a&#8221;<\/strong>, \u0430 \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0442 \u0431\u0443\u043a\u0432\u0443 <strong>&#8220;d&#8221;<\/strong>. \u041d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 &#8211; \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0442\u043e\u0447\u043a\u0443 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f <strong>&#8220;\/&#8221;<\/strong>, \u0437\u0430\u0442\u0435\u043c \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0435\u0451 \u043a\u043b\u0430\u0432\u0438\u0448\u0435\u0439 <strong>&#8220;M&#8221;<\/strong>.<\/p>\n<pre>Disk: ad2       Partition name: ad2s1   Free: 389668226 blocks (190267MB)\r\n\r\nPart      Mount          Size Newfs   Part      Mount          Size Newfs\r\n----      -----          ---- -----   ----      -----          ---- -----\r\nad2s1a    \/             512MB UFS   Y<\/pre>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0442\u0430\u043a:<\/p>\n<pre>Disk: ad2       Partition name: ad2s1   Free: 389668226 blocks (190267MB)\r\n\r\nPart      Mount          Size Newfs   Part      Mount          Size Newfs\r\n----      -----          ---- -----   ----      -----          ---- -----\r\nad2s1a    \/mnt\/root     512MB UFS   Y<\/pre>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u0435\u043b\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044b, \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0443\u0442\u044c <strong>\/mnt\/&#8230;<\/strong>, \u0438\u043d\u0430\u0447\u0435 \u043e\u043d\u043e \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u0432 \u0432\u0430\u0448\u0438 \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \/usr, \/var,.. \u0438 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0435\u0437 Reset. \u041a\u043e\u0433\u0434\u0430 \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u044b \u0432\u0441\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044b, \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c &#8220;W&#8221; \u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u044f W \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0438, \u0442\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u0430 \u0438\u0437 \u044d\u0442\u0438\u0445 \u043f\u0440\u0438\u0447\u0438\u043d:<\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u044b \u0440\u0430\u0437\u0434\u0435\u043b\u044b. \u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u0432\u044b\u0439\u0442\u0438 \u0438\u0437 sysinstall&#8217;a \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u044b<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0447\u0430\u0441\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0443\u0436\u0435 \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0433\u0434\u0435-\u0442\u043e<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u0442\u043e\u0447\u043a\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u044f<\/span><\/em><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u043d\u0430\u0436\u0430\u043b\u0438<strong> W<\/strong> \u0438 \u0432\u044b\u0445\u043e\u0434\u0438\u043c, \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c <strong>Standart Boot Manager<\/strong> (\u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0443\u043d\u043a\u0442) \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043d\u0430\u0448 \u043d\u043e\u0432\u044b\u0439 \u0434\u0438\u0441\u043a. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448 \u0434\u0438\u0441\u043a \u0438\u043c\u0435\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a \u0438 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u041e\u0421.<\/p>\n<p>\u041f\u0435\u0440\u0435\u043d\u043e\u0441 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a (\u043d\u0430\u043b\u0435\u0442\u0443, \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432 single mode &#8211; \u044d\u0442\u043e \u043d\u0430\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043b\u044e\u0447 <strong>&#8216;-L&#8217;<\/strong>):<\/p>\n<p><code>#( dump -0 -L -f - \/ ) | ( cd \/mnt\/root ; restore -rf - )<br \/>\n#( dump -0 -L -f - \/usr ) | ( cd \/mnt\/usr ; restore -rf - )<br \/>\n#( dump -0 -L -f - \/var ) | ( cd \/mnt\/var ; restore -rf - )<br \/>\n#( dump -0 -L -f - \/tmp ) | ( cd \/mnt\/tmp ; restore -rf - )<\/code><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e, \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0432\u0430\u0448 \u043d\u043e\u0432\u044b\u0439 fstab: \u043e\u043d \u043b\u0435\u0436\u0438\u0442 \u0432 <strong>\/mnt\/root\/etc\/fstab <span style=\"color: #ff0000;\">\u041f\u0420\u0410\u0412\u0418\u041b\u042c\u041d\u041e<\/span><\/strong>, \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043d\u043e\u0432\u044b\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0430\u043c.<br \/>\n\u0412 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0435\u0449\u0451 \u043f\u0440\u043e\u0439\u0442\u0438\u0441\u044c rsync&#8217;\u043e\u043c, \u0447\u0442\u043e \u0431\u044b \u0442\u043e\u0447\u043d\u043e \u0432\u0441\u0451 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u043b\u043e\u0441\u044c \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u044d\u0442\u043e\u0439, \u043d\u043e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043f\u043e\u043f\u0440\u0430\u0432\u043a\u0430\u043c\u0438. \u0414\u0438\u0441\u043a \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 sysintall (\u0430 \u043c\u043e\u0436\u043d\u043e \u0438 \u0447\u0435\u0440\u0435\u0437 fdisk). \u041d\u0438\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u043f\u0438\u0441\u0430\u043d \u0441\u043f\u043e\u0441\u043e\u0431 \u0447\u0435\u0440\u0435\u0437 sysinstall.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3555","post","type-post","status-publish","format-standard","hentry","category-freebsd"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3555"}],"version-history":[{"count":1,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3555\/revisions"}],"predecessor-version":[{"id":3556,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3555\/revisions\/3556"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}