{"id":207441,"date":"2020-11-26T07:24:21","date_gmt":"2020-11-25T23:24:21","guid":{"rendered":"http:\/\/4563.org\/?p=207441"},"modified":"2020-11-26T07:24:21","modified_gmt":"2020-11-25T23:24:21","slug":"%e5%8f%91%e7%8e%b0%e8%87%aa%e5%b7%b1%e4%b8%8d%e4%bc%9a%e5%ae%89%e8%a3%85-ubuntu%ef%bc%8c-1ssd3hhd","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=207441","title":{"rendered":"\u53d1\u73b0\u81ea\u5df1\u4e0d\u4f1a\u5b89\u88c5 ubuntu\uff0c 1ssd+3hhd"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u53d1\u73b0\u81ea\u5df1\u4e0d\u4f1a\u5b89\u88c5 ubuntu\uff0c 1ssd+3hhd               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sjmcefc2 <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u53d1\u73b0\u81ea\u5df1\u4e0d\u4f1a\u5b89\u88c5 ubuntu\uff0c4core\uff0c64g\uff0c1ssd+3hhd \u3002 \u81ea\u5df1\u505a 1ssd \u5f53\u4f5c\u7cfb\u7edf\u76d8\uff0c3hhd \u6302 var \u53d1\u73b0\u542f\u52a8\u4e0d\u4e86\uff0c\u6709\u70b9\u4e0d\u592a\u660e\u767d\uff0c\u73b0\u5728 ubuntu \u8981\u600e\u4e48\u5b89\u88c5\u5462\uff1f \u865a\u62df\u673a\u7528\u591a\u4e86\u3002\u3002\u3002\u3002\u4ee5\u524d\u90fd\u662f\u4e00\u6574\u5757\u6765 next \u3002 \u6c42\u6559\u600e\u4e48\u5206\u533a\uff0c\u600e\u4e48\u5b89\u88c5\u624d\u80fd\u6b63\u5e38\u542f\u52a8\u5462\u3002\u770b\u5982\u679c\u4e00\u4e2a ssd \u6765 next\uff0c\u5c31\u80fd\u542f\u52a8\uff0c\u53ef\u662f\u6ca1\u6709\u529e\u6cd5\u81ea\u5df1\u6765\u8c03\u6574\u5206\u533a\u3002\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>10<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4329077\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MCVector <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u628a bootloader \u88c5\u5728 ssd \u4e0a (\u662f\u88c5\u5728 disk \u4e0a\u800c\u4e0d\u662f partition \u4e0a, e.g. \/dev\/sda \u800c\u4e0d\u662f \/dev\/sda1); <\/p>\n<p>\u518d\u5728 ssd \u4e0a\u5206\u51fa\u4e00\u4e2a 100mb \u7684 efi partition. \u8fd9\u6837\u5e94\u8be5\u5c31\u6ca1\u95ee\u9898\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329078\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mai1me <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u628a hdd \u62d4\u6389 \uff0c\u7136\u540e\u4e00\u8def next<\/p>\n<p>\u7cfb\u7edf\u88c5\u597d\u4e4b\u540e\u518d\u628a hdd \u63d2\u4e0a \u6302\u8f7d                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329079\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangkun025 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             BIOS \u91cc\u8c03\u6574\u786c\u76d8\u7684\u542f\u52a8\u987a\u5e8f\uff1f<br \/>ssd \u6392\u7b2c\u4e00\u4e2a\uff0c\u5e94\u8be5\u5c31\u53ef\u4ee5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329080\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : AmrtaShiva <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \/etc\/fstab \u770b\u4e00\u4e0b var \u548c\u5176\u4ed6\u7684 uuid \u4fee\u6b63\u540e\u66f4\u65b0 grub                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329081\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cheng6563 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u662f\u4e0d\u662f ubuntu server?server \u7248\u7684 Ubuntu \u8fd9\u6700\u8fd1\u51e0\u4e2a\u7248\u672c\u7684\u5b89\u88c5\u5668\u90fd\u6709\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329082\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sjmcefc2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             server \u5b89\u88c5\u7248\u672c 20.04 \u770b\u4e0d\u5230 bootloader\uff0c\u4e5f\u4e0d\u77e5\u9053\u600e\u4e48\u5b89\u88c5 efi patition \u3002\u73b0\u5728\u662f\u7528 ssd \u505a boot disk<br \/>\u611f\u89c9\u5f88\u5947\u602a\uff0cdesktop \u7248\u672c\u6700\u540e\u4e00\u90e8\u597d\u50cf\u662f\u6709\u5b89\u88c5 grub \u4e4b\u7c7b\u7684\u4e1c\u897f\uff0c<br \/>\u6709\u70b9\u4e0d\u61c2\u554a\uff0c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329083\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sjmcefc2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u628a hdd \u62d4\u6389 \uff0c\u7136\u540e\u4e00\u8def next<\/p>\n<p>\u7cfb\u7edf\u88c5\u597d\u4e4b\u540e\u518d\u628a hdd \u63d2\u4e0a \u6302\u8f7d<br \/>\u5982\u4f55\u5b9e\u73b0\u6302\u8f7d\uff1f 3hhd \u878d\u5408\u6210\u4e00\u4e2a lvm \uff1f<\/p>\n<p>\u4e3a\u5565 ubuntu \u8981\u8fd9\u6837\u5927\u52a8\u5e72\u6208                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329084\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jim9606 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5148\u731c\u6d4b\u4e0d\u662f\u7b14\u8bb0\u672c,\u6e05\u76d8\u5b89\u88c5\u5355\u7cfb\u7edf\u3002<br \/>\u641e\u6e05\u695a\u662f uefi \u8fd8\u662f legacy \u5f15\u5bfc\uff0c\u6211\u53ea\u8bb2\u524d\u8005\uff0c\u5efa\u8bae\u5728 BIOS \u8bbe\u7f6e\u53ea\u4f7f\u7528 UEFI \u5f15\u5bfc\uff0c\u514d\u5f97\u51fa\u5404\u79cd\u9ebb\u70e6\u3002<br \/>\u81ea\u5b9a\u4e49\u5b89\u88c5\u4f4d\u7f6e\uff0c\u5c06\u6240\u6709\u76d8\u7684\u5206\u533a\u8868\u90fd\u6539\u6210 GPT(GUID)\uff0c\u5220\u9664\u6240\u6709\u5206\u533a\u3002<br \/>\u5728 1ssd \uff08\u5047\u8bbe\u8bbe\u5907\u540d\u662f sda\uff0c\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u8c03\u6574\uff09\u521b\u5efa\u4e00\u4e2a 100MB \u7684 EFI \u7cfb\u7edf\u5206\u533a(sda1)\uff0c\u6302\u8f7d\u4e3a \/boot\/efi(\u8fd9\u90e8\u53ef\u80fd\u4e0d\u9700\u8981)\u3002\u7136\u540e 1ssd \u5269\u4f59\u7a7a\u95f4\u521b\u5efa ext4 \u5206\u533a(sda2)\uff0c\u6302\u8f7d\u4e3a \/\u3002\u5f15\u5bfc\u5668\u5b89\u88c5\u81f3 sda1<br \/>\u5982\u679c\u6253\u7b97\u591a\u5757\u76d8\u5408\u5e76\u6210\u4e00\u4e2a\u5927\u6587\u4ef6\u7cfb\u7edf\u7528(LVM\/BTRFS\/ZFS)\uff0c\u5efa\u8bae\u88c5\u5b8c\u7cfb\u7edf\u518d\u5f04\uff0c\u7136\u540e\u81ea\u884c\u7f16\u8f91 \/etc\/fstab \u6302\u8f7d\u70b9\uff0c\u6253\u7b97\u7528 lvm \u7684\u8fdb\u7cfb\u7edf\u5b89\u88c5 kvpm \u5de5\u5177\u521b\u5efa LVM PV \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329085\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sjmcefc2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @jim9606 \u4e3b\u8981\u4e0d\u77e5\u9053\u5982\u4f55\u521b\u5efa efi \u5206\u533a\uff0c\u597d\u50cf\u6ca1\u6709\u8fd9\u4e2a\u7c7b\u578b\u554a\uff0cubuntu 2004                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329086\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jim9606 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sjmcefc2 \u5982\u679c\u627e\u4e0d\u5230\u8fd9\u4e2a\u7c7b\u578b\uff0c\u70b9\u4e00\u4e0b\u201c\u65b0\u5efa\u5206\u533a\u8868\u201d\uff0c\u5982\u679c\u8fd8\u662f\u6ca1\u6709\uff0c\u8bf4\u660e\u4f60\u4e0d\u662f\u4ee5 UEFI \u5f15\u5bfc\u5b89\u88c5 u \u76d8\u3002<br \/>\u5b89\u88c5 u \u76d8\u5efa\u8bae\u683c\u5f0f\u5316\u4e3a fat32\uff0c\u7136\u540e\u628a iso \u955c\u50cf\u91cc\u7684\u6587\u4ef6\u62d6\u8fdb\u53bb\uff0c\u8fd9\u6837\u505a\u51fa\u6765\u7684\u5b89\u88c5\u76d8\u53ea\u652f\u6301 uefi \u5f15\u5bfc\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u53d1\u73b0\u81ea\u5df1\u4e0d\u4f1a\u5b89\u88c5 ubuntu\uff0c &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/207441"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=207441"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/207441\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=207441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=207441"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=207441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}