{"id":268,"date":"2018-03-05T00:00:30","date_gmt":"2018-03-04T16:00:30","guid":{"rendered":"https:\/\/cloudbool.com\/archive\/?p=268"},"modified":"2018-03-05T00:00:30","modified_gmt":"2018-03-04T16:00:30","slug":"install-debian-9-from-exist-linux-2","status":"publish","type":"post","link":"https:\/\/cloudbool.com\/archive\/install-debian-9-from-exist-linux-2.html","title":{"rendered":"\u73b0\u6709Linux\u7cfb\u7edf\u5b89\u88c5Debian 9"},"content":{"rendered":"<p>\u8bf4\u5230\uff0c\u5165\u624b\u4e86\u817e\u8baf\u4e91\u9999\u6e2f3\u5e74\u7684\u4e91\u4e3b\u673a\uff0c\u5f00\u901a\u4e4b\u540e\u53d1\u73b0\u65e0\u6cd5\u81ea\u5df1\u6302\u8f7dISO\u5b89\u88c5\u7cfb\u7edf\uff0c\u5bf9\u4e8e\u4e00\u4e2a\u6709\u7cfb\u7edf\u6d01\u7656\u7684\u4eba\u6765\u8bf4\uff0c\u4ee5\u53ca\u56fd\u5185\u4e91\u7cfb\u7edf\u5404\u79cd\u5185\u7f6e\u8fdb\u7a0b\u5b9e\u5728\u662f\u4e0d\u653e\u5fc3\uff0c\u4e8e\u662f\u51b3\u5fc3\u60f3\u529e\u6cd5\u81ea\u5df1\u91cd\u65b0\u5b89\u88c5\u4e00\u4e2a\u7cfb\u7edf\u3002<br \/>\n<!--more--><br \/>\n\u8bd5\u8fc7\u4e4b\u524d\u7684\u5b89\u88c5Windows Server\u7136\u540e\u7528EasyBCD\u5f15\u5bfcLinux\u7684ISO\u6587\u4ef6\u5b89\u88c5\uff0c\u4f46\u662f\u53d1\u73b0\u5f15\u5bfc\u4e4b\u540e\uff0cDebian9\u59cb\u7ec8\u65e0\u6cd5\u626b\u63cf\u5230\u786c\u76d8\uff0c\u6015\u53c8\u662f\u6761\u4e0d\u5f52\u8def\uff0c\u4e0d\u60f3\u7ee7\u7eed\u7814\u7a76\u4e0b\u53bb\uff0c\u9042\u653e\u5f03\u5bfb\u627e\u522b\u7684\u65b9\u5f0f\u3002<br \/>\n\u53c8\u60f3\uff0c\u5148\u5b89\u88c5Linux\u7cfb\u7edf\uff0c\u7136\u540e\u901a\u8fc7DD\u65b9\u5f0f\u5b89\u88c5\u4e00\u4e2aWindows\uff0c\u518d\u7528EasyBCD\u5f15\u5bfc\u5b89\u88c5Linux\u7cfb\u7edf\uff0c\u53d1\u73b0DD\u8fc7\u7a0b\u4e5f\u5931\u8d25\u4e86\uff0c\u4e0d\u5f97\u5df2\u53c8\u653e\u5f03\u3002<br \/>\n\u540e\u6765\u60f3\u4e86\u60f3\uff0c\u80fd\u4e0d\u80fd\u901a\u8fc7\u5b89\u88c5\u4e00\u4e2aLinux\u7cfb\u7edf\u7136\u540e\u901a\u8fc7Linux\u7cfb\u7edf\u81ea\u5e26\u7684GRUB\u5f15\u5bfc\u7a0b\u5e8f\u5f15\u5bfc\u5b89\u88c5\u4e00\u4e2a\u65b0\u7684\u7cfb\u7edf\u3002<br \/>\n\u6b63\u597d\u5728\u7f51\u4e0a\u641c\u5230Showfom\u7684<a href=\"https:\/\/sb.sb\/install-debian-alibabacloud\/\">\u4e00\u7bc7\u6587\u7ae0<\/a>\uff0c\u8bf4\u662f\u901a\u8fc7\u7f51\u7edc\u91cd\u65b0\u5b89\u88c5\u7cfb\u7edf\uff0c\u8bd5\u4e86\u4e0b\uff0c\u8fd8\u662f\u6709\u70b9\u95ee\u9898\u3002<br \/>\nShowfom\u4e0a\u9762\u90a3\u7bc7\u6587\u7ae0\u8bf4\u8981\u66f4\u6539<strong><em>\/boot\/grub\/grub.cfg<\/em><\/strong>\u8fd9\u4e2a\u6587\u4ef6\uff0c\u4f46\u662f\u6211\u5728Debian8\u548cDebian9\u4e0a\u53d1\u73b0\uff0c\u76f4\u63a5\u66f4\u6539\u8fd9\u4e2a\u6587\u4ef6\uff0c\u5f00\u673a\u5f15\u5bfc\u754c\u9762\u90fd\u6ca1\u6709\u51fa\u73b0\u65b0\u7cfb\u7edf\u5b89\u88c5\u5f15\u5bfc\u754c\u9762\u3002<br \/>\n\u4f46\u662f\u8fd9\u6b21\u4e0d\u60f3\u653e\u5f03\u4e86\u54c8\u54c8\u54c8\uff0c\u65e2\u7136\u4eba\u5bb6\u535a\u4e3b\u90fd\u6210\u529f\u4e86\uff0c\u60f3\u529e\u6cd5\u52a0\u5165\u5f15\u5bfc\u5c31\u884c\u4e86\u3002<br \/>\n\u4f46\u95ee\u9898\u662f\u4e0a\u9762\u5217\u4e3e\u7684grub.cfg\u6587\u4ef6\u4fee\u6539\u4e0d\u751f\u6548\uff0c\u53ea\u80fd\u60f3\u529e\u6cd5\u901a\u8fc7\u4fee\u6539\u522b\u7684\u6587\u4ef6\u589e\u52a0\u4e00\u4e2a\u5f15\u5bfc\u9879\u53bb\u5f15\u5bfc\u5b89\u88c5\u65b0\u7684\u7cfb\u7edf\u3002<br \/>\n\u653e\u72d7\u641c\u4e86\u4e00\u628a\u4e4b\u540e\uff0c\u5728<a href=\"https:\/\/help.ubuntu.com\/community\/Grub2\/ISOBoot\">\u8fd9\u7bc7\u6587\u7ae0<\/a>\u627e\u5230\u4e86\u89e3\u51b3\u65b9\u6848\uff0c\u89e3\u51b3\u529e\u6cd5\u662f\u4fee\u6539<strong><em>\/etc\/grub.d\/40_custom<\/em><\/strong>\u6587\u4ef6\u8fdb\u884c\u589e\u52a0\u542f\u52a8\u9879\u3002<br \/>\n\u4e8e\u662f\uff0c\u6b65\u9aa4\u5c31\u53d8\u6210\u4e86\u4fee\u6539<strong><em>\/etc\/grub.d\/40_custom<\/em><\/strong>\u6587\u4ef6\uff0c\u589e\u52a0\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre><code>menuentry 'Debian Stable New Install' {\ninsmod part_msdos\ninsmod ext2\nset root='(hd0,msdos1)'\nlinux \/boot\/newinstall\/linux\ninitrd \/boot\/newinstall\/initrd.gz\n}\n<\/code><\/pre>\n<p>\u7136\u540e\u521b\u5efa\u76f8\u5e94\u7684\u65b0\u76ee\u5f55\uff0c\u4e0b\u8f7d\u3001\u653e\u7f6e\u65b0\u7684\u7cfb\u7edf\u5f15\u5bfc\uff1a<\/p>\n<pre><code>mkdir \/boot\/newinstall &amp;&amp; cd \/boot\/newinstall\nwget http:\/\/mirrors.ustc.edu.cn\/debian\/dists\/stable\/main\/installer-amd64\/current\/images\/netboot\/debian-installer\/amd64\/initrd.gz\nwget http:\/\/mirrors.ustc.edu.cn\/debian\/dists\/stable\/main\/installer-amd64\/current\/images\/netboot\/debian-installer\/amd64\/linux\n<\/code><\/pre>\n<p>\u4fee\u6539\u914d\u7f6e\uff0c\u8ba9\u7cfb\u7edf\u5f00\u673a\u5f15\u5bfc\u83dc\u5355\u9009\u62e9\u754c\u9762\u591a\u505c\u7559\u4e00\u4f1a\uff1a<\/p>\n<blockquote><p>\n  vim \/etc\/default\/grub\n<\/p><\/blockquote>\n<p>\u4fee\u6539\u5176\u4e2dGRUB_TIMEOUT\uff0c\u9009\u62e9\u5408\u9002\u7684\u65f6\u95f4\uff0c\u4fdd\u5b58\u3002<br \/>\n\u7136\u540e\u662f\u66f4\u65b0grub\u914d\u7f6e\uff1a<\/p>\n<blockquote><p>\n  update-grub\n<\/p><\/blockquote>\n<p>\u8fd9\u6837\u5f00\u673a\u7684\u65f6\u5019\u5c31\u80fd\u51fa\u73b0\u5f15\u5bfc\u5b89\u88c5\u7684\u9009\u9879\u4e86\uff0c\u9009\u62e9Debian Stable New Install\u5c31\u80fd\u5f00\u59cb\u5b89\u88c5\uff0c\u5b89\u88c5\u6b65\u9aa4\u548c\u5e73\u65f6\u901a\u8fc7ISO\u5b89\u88c5\u5dee\u4e0d\u591a\uff0c\u53ea\u662f\u591a\u4e86\u4e00\u6b65\u7f51\u7edc\u76f8\u5173\u914d\u7f6e\u800c\u5df2\uff0cShowfom\u535a\u4e3b\u6587\u7ae0\u90fd\u6709\u63d0\u793a\uff0c\u5f88\u7b80\u5355\u5c31\u4e0d\u8bf4\u4e86\u3002<br \/>\n\u5b89\u88c5\u5b8c\u4e4b\u540e\u6709\u4e00\u70b9\u9700\u8981\u6ce8\u610f\uff0c\u65b0\u5b89\u88c5\u7684Debian9\u9ed8\u8ba4\u662f\u4e0d\u5141\u8bb8root\u767b\u5f55\u7684\uff0c\u9700\u8981\u7528\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u8bbe\u5b9a\u7684\u90a3\u4e2a\u7528\u6237\u8fdb\u884c\u767b\u5f55\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf4\u5230\uff0c\u5165\u624b\u4e86\u817e\u8baf\u4e91\u9999\u6e2f3\u5e74\u7684\u4e91\u4e3b\u673a\uff0c\u5f00\u901a\u4e4b\u540e\u53d1\u73b0\u65e0\u6cd5\u81ea\u5df1\u6302\u8f7dISO\u5b89\u88c5\u7cfb\u7edf\uff0c\u5bf9\u4e8e\u4e00\u4e2a\u6709\u7cfb\u7edf\u6d01\u7656\u7684\u4eba\u6765\u8bf4\uff0c\u4ee5\u53ca\u56fd &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/cloudbool.com\/archive\/install-debian-9-from-exist-linux-2.html\"> <span class=\"screen-reader-text\">\u73b0\u6709Linux\u7cfb\u7edf\u5b89\u88c5Debian 9<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[182],"tags":[27],"class_list":["post-268","post","type-post","status-publish","format-standard","hentry","category-linux","tag-debian"],"_links":{"self":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/comments?post=268"}],"version-history":[{"count":0,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/268\/revisions"}],"wp:attachment":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/media?parent=268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/categories?post=268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/tags?post=268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}