{"id":24765,"date":"2025-04-19T10:42:22","date_gmt":"2025-04-19T02:42:22","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/24765.html"},"modified":"2025-04-19T10:42:22","modified_gmt":"2025-04-19T02:42:22","slug":"%e4%b8%80%e9%94%ae%e4%bc%98%e9%9b%85%e4%b8%baubuntu20-04%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%8c%82%e8%bd%bd%e6%96%b0%e7%a3%81%e7%9b%98","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/24765.html","title":{"rendered":"\u4e00\u952e\u4f18\u96c5\u4e3aUbuntu20.04\u670d\u52a1\u5668\u6302\u8f7d\u65b0\u78c1\u76d8"},"content":{"rendered":"<p><span class=\"md_link_url\">itopen\u7ec4\u7ec7<\/span>1\u3001\u63d0\u4f9bOpenHarmony\u4f18\u96c5\u5b9e\u7528\u7684\u5c0f\u5de5\u51772\u3001\u624b\u628a\u624b\u9002\u914driscv &#043; qemu &#043; linux\u7684\u4e09\u65b9\u5e93\u79fb\u690d3\u3001\u672a\u6765\u8ba1\u5212riscv &#043; qemu &#043; ohos\u7684\u4e09\u65b9\u5e93\u79fb\u690d &#043; \u5c0f\u7a0b\u5e8f\u5f00\u53d14\u3001\u4e00\u5207\u62e5\u62b1\u5f00\u6e90&#xff0c;\u62e5\u62b1\u56fd\u4ea7\u5316<\/p>\n<h2 id=\"h1_\u4e00\u3001\u5c0f\u4e8e2t\u78c1\u76d8\u6302\u8f7d\u65b9\u5f0f_1720679147297\">\u4e00\u3001\u5c0f\u4e8e2T\u78c1\u76d8\u6302\u8f7d\u65b9\u5f0f<\/h2>\n<h3 id=\"h2_11-\u5b89\u88c5\u78c1\u76d8\u5230\u7535\u8111\u540e\u542f\u52a8\u7cfb\u7edf_1720679147297\">1.1 \u5b89\u88c5\u78c1\u76d8\u5230\u7535\u8111\u540e\u542f\u52a8\u7cfb\u7edf<\/h3>\n<h3 id=\"h2_12-\u67e5\u627e\u672a\u5206\u533a\u7684\u78c1\u76d8_1720679147297\">1.2 \u67e5\u627e\u672a\u5206\u533a\u7684\u78c1\u76d8<\/h3>\n<ul>\n<li>\u6253\u5f00\u7ec8\u7aef\u8f93\u5165sudo fdisk -l\u67e5\u627e\u5230\u6ca1\u6709\u5206\u533a\u7684\u78c1\u76d8<\/li>\n<li>\u5df2\u7ecf\u5206\u533a\u7684\u78c1\u76d8\u4f1a\u6709\u5bf9\u5e94\u7684Device Start End Sectors Size Type\u4fe1\u606f&#xff0c;\u800c\u672a\u5206\u533a\u7684\u78c1\u76d8\u6ca1\u6709\u5bf9\u5e94\u7684\u4fe1\u606f&#xff0c;\u901a\u8fc7\u67e5\u770b\u5f53\u524d\/dev\/nvme0n1\u662f\u65b0\u589e\u52a0\u7684\u672a\u5206\u533a\u78c1\u76d8<\/li>\n<\/ul>\n<p>$ sudo fdisk -l<br \/>\n[sudo] password for wen_fei:<br \/>\nDisk \/dev\/nvme0n1: 1.84 TiB,<span class=\"hljs-number\"> 2000398934016 <\/span>bytes,<span class=\"hljs-number\"> 3907029168 <\/span>sectors <span class=\"hljs-comment\"># \u672a\u5206\u533a\u7684\u78c1\u76d8<\/span><br \/>\nDisk model: Samsung SSD<span class=\"hljs-number\"> 980 <\/span>PRO 2TB<br \/>\nUnits: sectors of<span class=\"hljs-number\"> 1 <\/span>*<span class=\"hljs-number\"> 512 <\/span>&#061;<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nSector size (logical\/physical):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nI\/O size (minimum\/optimal):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<\/p>\n<p>Disk \/dev\/nvme1n1: 1.84 TiB,<span class=\"hljs-number\"> 2000398934016 <\/span>bytes,<span class=\"hljs-number\"> 3907029168 <\/span>sectors <span class=\"hljs-comment\"># \u5df2\u5206\u533a\u7684\u78c1\u76d8<\/span><br \/>\nDisk model: Samsung SSD<span class=\"hljs-number\"> 980 <\/span>PRO 2TB<br \/>\nUnits: sectors of<span class=\"hljs-number\"> 1 <\/span>*<span class=\"hljs-number\"> 512 <\/span>&#061;<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nSector size (logical\/physical):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nI\/O size (minimum\/optimal):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nDisklabel type: gpt<br \/>\nDisk identifier: 6F0C9477-25AA-45D6-A027-C7186A2C5918<\/p>\n<p>Device             Start        End    Sectors  Size Type<br \/>\n\/dev\/nvme1n1p1     <span class=\"hljs-number\"> 2048 <\/span>  <span class=\"hljs-number\"> 5859327 <\/span>  <span class=\"hljs-number\"> 5857280 <\/span> 2.8G EFI System<br \/>\n\/dev\/nvme1n1p2  <span class=\"hljs-number\"> 5859328 <\/span><span class=\"hljs-number\"> 162109439 <\/span><span class=\"hljs-number\"> 156250112 <\/span>74.5G Linux filesystem<br \/>\n\/dev\/nvme1n1p3<span class=\"hljs-number\"> 162109440 <\/span><span class=\"hljs-number\"> 220702719 <\/span> <span class=\"hljs-number\"> 58593280 <\/span>  28G Linux filesystem<br \/>\n\/dev\/nvme1n1p4<span class=\"hljs-number\"> 220702720 <\/span><span class=\"hljs-number\"> 298827775 <\/span> <span class=\"hljs-number\"> 78125056 <\/span>37.3G Linux filesystem<br \/>\n\/dev\/nvme1n1p5<span class=\"hljs-number\"> 298827776 <\/span><span class=\"hljs-number\"> 376952831 <\/span> <span class=\"hljs-number\"> 78125056 <\/span>37.3G Linux filesystem<br \/>\n\/dev\/nvme1n1p6<span class=\"hljs-number\"> 376952832 <\/span><span class=\"hljs-number\"> 416014335 <\/span> <span class=\"hljs-number\"> 39061504 <\/span>18.6G Linux filesystem<br \/>\n\/dev\/nvme1n1p7<span class=\"hljs-number\"> 416014336 <\/span>3907028991<span class=\"hljs-number\"> 3491014656 <\/span> 1.6T Linux filesystem<\/p>\n<p>Disk \/dev\/nvme2n1: 1.84 TiB,<span class=\"hljs-number\"> 2000398934016 <\/span>bytes,<span class=\"hljs-number\"> 3907029168 <\/span>sectors <span class=\"hljs-comment\"># \u5df2\u5206\u533a\u7684\u78c1\u76d8<\/span><br \/>\nDisk model: Samsung SSD<span class=\"hljs-number\"> 980 <\/span>PRO 2TB<br \/>\nUnits: sectors of<span class=\"hljs-number\"> 1 <\/span>*<span class=\"hljs-number\"> 512 <\/span>&#061;<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nSector size (logical\/physical):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nI\/O size (minimum\/optimal):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nDisklabel type: gpt<br \/>\nDisk identifier: B6155B74-845D-4234-B637-4308B3F0C56D<\/p>\n<p>Device         Start        End    Sectors  Size Type<br \/>\n\/dev\/nvme2n1p1 <span class=\"hljs-number\"> 2048 <\/span>3907028991<span class=\"hljs-number\"> 3907026944 <\/span> 1.8T Linux filesystem<\/p>\n<h3 id=\"h2_13-\u78c1\u76d8\u5206\u533a_1720679147370\">1.3 \u78c1\u76d8\u5206\u533a<\/h3>\n<ul>\n<li>\u5bf9\u672a\u5206\u533a\u7684\u78c1\u76d8\u6267\u884c\u547d\u4ee4sudo fdisk \/dev\/xxx<\/li>\n<li>\u6839\u636e\u63d0\u793a\u8f93\u5165m\u67e5\u770b\u6307\u4ee4\u4fe1\u606f<\/li>\n<li>\u6839\u636e\u63d0\u793a\u8f93\u5165n\u5f00\u59cb\u521b\u5efa\u5206\u533a<\/li>\n<li>\u6839\u636e\u63d0\u793a\u8f93\u5165p\u8868\u793a\u521b\u5efa\u4e3b\u5206\u533a&#xff0c;\u6216\u8005\u8f93\u5165\u533ae\u8868\u793a\u521b\u5efa\u903b\u8f91\u5206\u533a&#xff1a;\u4e00\u5757\u786c\u76d8\u6700\u591a\u53ea\u80fd\u521b\u5efa4\u4e2a\u4e3b\u5206\u533a&#xff0c;\u903b\u8f91\u5206\u533a\u53ef\u4ee5\u521b\u5efa\u82e5\u5e72\u4e2a<\/li>\n<li>\u6839\u636e\u63d0\u793a\u8f93\u5165x\u8868\u793a\u521b\u5efax\u4e2a\u5206\u533a\u8bf4\u660e&#xff1a; \u6211\u4eec\u6302\u8f7d\u78c1\u76d8\u4e00\u822c\u53ea\u521b\u5efa\u4e00\u4e2a\u5206\u533a\u5373\u53ef&#xff0c;\u76f4\u63a5\u8f93\u51651\u5373\u53ef<\/li>\n<li>\u6839\u636e\u63d0\u793a\u76f4\u63a5\u56de\u8f66\u8bbe\u7f6e\u5206\u533a\u5f00\u59cb\u4f4d\u7f6e\u662f\u4ece\u7b2c2048\u4e2a\u6247\u533a\u5f00\u59cb&#xff1a; \u7531\u4e8eEFI\u7684\u5174\u8d77&#xff0c;\u8981\u7ed9EFI\u4ee3\u7801\u7559\u78c1\u76d8\u6700\u5f00\u59cb\u76841M\u7a7a\u95f4&#xff0c;\u53732048521\/(10241024)&#061;1M&#xff0c;\u56e0\u6b64\u5206\u533a\u9ed8\u8ba4\u7b2c2048\u4e2a\u6247\u533a\u5f00\u59cb<\/li>\n<li>\u6839\u636e\u63d0\u793a\u76f4\u63a5\u56de\u8f66\u8bbe\u7f6e\u5206\u533a\u7ed3\u675f\u4f4d\u7f6e\u4e3a\u78c1\u76d8\u672b\u5c3e<\/li>\n<li>\u6839\u636e\u63d0\u793a\u8f93\u5165w\u4fdd\u5b58\u5206\u533a\u8bbe\u7f6e<\/li>\n<\/ul>\n<p>$ sudo fdisk \/dev\/nvme0n1<\/p>\n<p>Welcome <span class=\"hljs-keyword\">to<\/span> fdisk (util-linux <span class=\"hljs-number\">2.34<\/span>).<br \/>\nChanges will remain in memory <span class=\"hljs-keyword\">only<\/span>, until you decide <span class=\"hljs-keyword\">to<\/span> <span class=\"hljs-keyword\">write<\/span> them.<br \/>\nBe careful before using the <span class=\"hljs-keyword\">write<\/span> <span class=\"hljs-keyword\">command<\/span>.<\/p>\n<p>Device does not contain <span class=\"hljs-keyword\">a<\/span> recognized partition table.<br \/>\nCreated <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> DOS disklabel with disk identifier <span class=\"hljs-number\">0<\/span>x20e2fdf1.<\/p>\n<p>Command (<span class=\"hljs-keyword\">m<\/span> <span class=\"hljs-keyword\">for<\/span> <span class=\"hljs-keyword\">help<\/span>): <span class=\"hljs-keyword\">m<\/span><\/p>\n<p>Help:<\/p>\n<p>  DOS (MBR)<br \/>\n   <span class=\"hljs-keyword\">a<\/span>   toggle <span class=\"hljs-keyword\">a<\/span> bootable flag<br \/>\n   <span class=\"hljs-keyword\">b<\/span>   <span class=\"hljs-keyword\">edit<\/span> nested BSD disklabel<br \/>\n   <span class=\"hljs-keyword\">c<\/span>   toggle the dos compatibility flag<\/p>\n<p>  Generic<br \/>\n   d   <span class=\"hljs-keyword\">delete<\/span> <span class=\"hljs-keyword\">a<\/span> partition<br \/>\n   F   <span class=\"hljs-keyword\">list<\/span> free unpartitioned space<br \/>\n   <span class=\"hljs-keyword\">l<\/span>   <span class=\"hljs-keyword\">list<\/span> known partition types<br \/>\n   n   <span class=\"hljs-built_in\">add<\/span> <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> partition<br \/>\n   <span class=\"hljs-keyword\">p<\/span>   <span class=\"hljs-keyword\">print<\/span> the partition table<br \/>\n   t   <span class=\"hljs-keyword\">change<\/span> <span class=\"hljs-keyword\">a<\/span> partition <span class=\"hljs-built_in\">type<\/span><br \/>\n   v   verify the partition table<br \/>\n   i   <span class=\"hljs-keyword\">print<\/span> information about <span class=\"hljs-keyword\">a<\/span> partition<\/p>\n<p>  Misc<br \/>\n   <span class=\"hljs-keyword\">m<\/span>   <span class=\"hljs-keyword\">print<\/span> this <span class=\"hljs-keyword\">menu<\/span><br \/>\n   <span class=\"hljs-keyword\">u<\/span>   <span class=\"hljs-keyword\">change<\/span> <span class=\"hljs-keyword\">display<\/span>\/entry units<br \/>\n   <span class=\"hljs-keyword\">x<\/span>   extra functionality (experts <span class=\"hljs-keyword\">only<\/span>)<\/p>\n<p>  Script<br \/>\n   I   load disk layout from sfdisk script <span class=\"hljs-keyword\">file<\/span><br \/>\n   O   dump disk layout <span class=\"hljs-keyword\">to<\/span> sfdisk script <span class=\"hljs-keyword\">file<\/span><\/p>\n<p>  Save &amp; Exit<br \/>\n   <span class=\"hljs-keyword\">w<\/span>   <span class=\"hljs-keyword\">write<\/span> table <span class=\"hljs-keyword\">to<\/span> disk <span class=\"hljs-built_in\">and<\/span> <span class=\"hljs-keyword\">exit<\/span><br \/>\n   q   <span class=\"hljs-keyword\">quit<\/span> without saving <span class=\"hljs-keyword\">changes<\/span><\/p>\n<p>  Create <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> label<br \/>\n   g   create <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">empty<\/span> GPT partition table<br \/>\n   G   create <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">empty<\/span> SGI (IRIX) partition table<br \/>\n   <span class=\"hljs-keyword\">o<\/span>   create <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">empty<\/span> DOS partition table<br \/>\n   s   create <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">empty<\/span> Sun partition table<\/p>\n<p>Command (<span class=\"hljs-keyword\">m<\/span> <span class=\"hljs-keyword\">for<\/span> <span class=\"hljs-keyword\">help<\/span>): n<br \/>\nPartition <span class=\"hljs-built_in\">type<\/span><br \/>\n   <span class=\"hljs-keyword\">p<\/span>   primary (<span class=\"hljs-number\">0<\/span> primary, <span class=\"hljs-number\">0<\/span> extended, <span class=\"hljs-number\">4<\/span> free)<br \/>\n   <span class=\"hljs-keyword\">e<\/span>   extended (container <span class=\"hljs-keyword\">for<\/span> logical partitions)<br \/>\nSelect (default <span class=\"hljs-keyword\">p<\/span>): <span class=\"hljs-keyword\">p<\/span><br \/>\nPartition <span class=\"hljs-keyword\">number<\/span> (<span class=\"hljs-number\">1<\/span>&#8211;<span class=\"hljs-number\">4<\/span>, default <span class=\"hljs-number\">1<\/span>): <span class=\"hljs-number\">1<\/span><br \/>\nFirst sector (<span class=\"hljs-number\">2048<\/span>&#8211;<span class=\"hljs-number\">3907029167<\/span>, default <span class=\"hljs-number\">2048<\/span>):<br \/>\nLast sector, &#043;\/-sectors <span class=\"hljs-built_in\">or<\/span> &#043;\/-size{K,M,G,T,<span class=\"hljs-keyword\">P<\/span>} (<span class=\"hljs-number\">2048<\/span>&#8211;<span class=\"hljs-number\">3907029167<\/span>, default <span class=\"hljs-number\">3907029167<\/span>):<\/p>\n<p>Created <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> partition <span class=\"hljs-number\">1<\/span> of <span class=\"hljs-built_in\">type<\/span> <span class=\"hljs-string\">&#039;Linux&#039;<\/span> <span class=\"hljs-built_in\">and<\/span> of size <span class=\"hljs-number\">1.8<\/span> TiB.<\/p>\n<p>Command (<span class=\"hljs-keyword\">m<\/span> <span class=\"hljs-keyword\">for<\/span> <span class=\"hljs-keyword\">help<\/span>): <span class=\"hljs-keyword\">w<\/span><br \/>\nThe partition table <span class=\"hljs-built_in\">has<\/span> been altered.<br \/>\nCalling ioctl() <span class=\"hljs-keyword\">to<\/span> re-<span class=\"hljs-keyword\">read<\/span> partition table.<br \/>\nSyncing disks.<\/p>\n<h3 id=\"h2_14-\u683c\u5f0f\u5316\u5206\u533a_1720679147414\">1.4 \u683c\u5f0f\u5316\u5206\u533a<\/h3>\n<ul>\n<li>\u8f93\u5165\u547d\u4ee4sudo mkfs -t ext4 \/dev\/xxx\u8fdb\u884c\u683c\u5f0f\u5316\u78c1\u76d8<\/li>\n<li>\u8bb0\u4f4f\u751f\u6210\u78c1\u76d8\u7684UUID\u4e3a\u6302\u8f7d\u78c1\u76d8\u4f7f\u7528<\/li>\n<\/ul>\n<p>$ sudo mkfs -t ext4 \/dev\/nvme0n1<br \/>\nmke2fs <span class=\"hljs-number\">1<\/span>.<span class=\"hljs-number\">45<\/span>.<span class=\"hljs-number\">5<\/span> (<span class=\"hljs-number\">07<\/span>-Jan-<span class=\"hljs-number\">2020<\/span>)<br \/>\nFound a dos partition table in \/dev\/nvme0n1<br \/>\nProceed anyway? (y,N) y<br \/>\nDiscarding device blocks: done<br \/>\nCreating filesystem with <span class=\"hljs-number\">488378646<\/span> <span class=\"hljs-number\">4<\/span>k blocks and <span class=\"hljs-number\">122101760<\/span> inodes<br \/>\nFilesystem UUID: <span class=\"hljs-number\">330<\/span>fdef4-df72-<span class=\"hljs-number\">47<\/span>ab-afa0-<span class=\"hljs-number\">0<\/span>ff08ae4999f<br \/>\nSuperblock backups stored on blocks:<br \/>\n        <span class=\"hljs-number\">32768<\/span>, <span class=\"hljs-number\">98304<\/span>, <span class=\"hljs-number\">163840<\/span>, <span class=\"hljs-number\">229376<\/span>, <span class=\"hljs-number\">294912<\/span>, <span class=\"hljs-number\">819200<\/span>, <span class=\"hljs-number\">884736<\/span>, <span class=\"hljs-number\">1605632<\/span>, <span class=\"hljs-number\">2654208<\/span>,<br \/>\n        <span class=\"hljs-number\">4096000<\/span>, <span class=\"hljs-number\">7962624<\/span>, <span class=\"hljs-number\">11239424<\/span>, <span class=\"hljs-number\">20480000<\/span>, <span class=\"hljs-number\">23887872<\/span>, <span class=\"hljs-number\">71663616<\/span>, <span class=\"hljs-number\">78675968<\/span>,<br \/>\n        <span class=\"hljs-number\">102400000<\/span>, <span class=\"hljs-number\">214990848<\/span><\/p>\n<p>Allocating group tables: done<br \/>\nWriting inode tables: done<br \/>\nCreating journal (<span class=\"hljs-number\">262144<\/span> blocks): done<br \/>\nWriting superblocks and filesystem accounting information: done<\/p>\n<h3 id=\"h2_15-\u8bbe\u7f6e\u5f00\u673a\u81ea\u52a8\u6302\u8f7d_1720679147441\">1.5 \u8bbe\u7f6e\u5f00\u673a\u81ea\u52a8\u6302\u8f7d<\/h3>\n<ul>\n<li>\u6253\u5f00\u6587\u4ef6\/etc\/fstab\u6dfb\u52a0\u65b0\u5206\u533a\u6302\u8f7d\u5230\/data\u76ee\u5f55<\/li>\n<\/ul>\n<p>$ sudo vim <span class=\"hljs-regexp\">\/etc\/<\/span>fstab<br \/>\n# <span class=\"hljs-regexp\">\/datb was on \/<\/span>dev\/nvme3n1p1 during installation<br \/>\nUUID&#061;<span class=\"hljs-number\">330<\/span>fdef4-df72-<span class=\"hljs-number\">47<\/span>ab-afa0-<span class=\"hljs-number\">0<\/span>ff08ae4999f \/data           ext4    defaults        <span class=\"hljs-number\">0<\/span>       <span class=\"hljs-number\">2<\/span><\/p>\n<h3 id=\"h2_16-\u91cd\u542f\u7cfb\u7edf_1720679147457\">1.6 \u91cd\u542f\u7cfb\u7edf<\/h3>\n<ul>\n<li>\n<p>\u7cfb\u7edf\u91cd\u542f\u540e\u67e5\u770b\u5df2\u7ecf\u6709\u76ee\u5f55\/data\u8868\u793a\u6302\u8f7d\u65b0\u78c1\u76d8\u6210\u529f<\/p>\n<h3 id=\"h2_17-\u5220\u9664\u5206\u533a_1720679147457\">1.7 \u5220\u9664\u5206\u533a<\/h3>\n<\/li>\n<li>\n<p>\u5378\u8f7d\u5206\u533a&#xff1a;\u4f7f\u7528sudo umount xxx<\/p>\n<\/li>\n<li>\n<p>\u5bf9\u5df2\u5206\u533a\u7684\u78c1\u76d8\u6267\u884c\u547d\u4ee4sudo fdisk \/dev\/xxx<\/p>\n<\/li>\n<li>\n<p>\u6839\u636e\u63d0\u793a\u8f93\u5165m\u67e5\u770b\u6307\u4ee4\u4fe1\u606f<\/p>\n<\/li>\n<li>\n<p>\u6839\u636e\u63d0\u793a\u8f93\u5165d\u5f00\u59cb\u5220\u9664\u6700\u540e\u4e00\u4e2a\u5206\u533a&#xff0c;\u5982\u679c\u60f3\u5220\u9664\u66f4\u591a\u7684\u5206\u533a&#xff0c;\u5219\u4e0d\u505c\u7684\u8f93\u5165d\u5373\u53ef<\/p>\n<\/li>\n<li>\n<p>\u6839\u636e\u63d0\u793a\u8f93\u5165p\u8868\u793a\u6253\u5370\u5206\u533a\u8868<\/p>\n<\/li>\n<li>\n<p>\u6839\u636e\u63d0\u793a\u8f93\u5165w\u8868\u793a\u4fdd\u5b58\u5206\u533a\u8bbe\u7f6e<\/p>\n<\/li>\n<li>\n<p>\u5220\u9664\/etc\/fstab\u4e2d\u539fUUID\u6302\u8f7d\u7684\u78c1\u76d8<\/p>\n<\/li>\n<\/ul>\n<p>$ sudo fdisk \/dev\/nvme0n1<\/p>\n<p>Welcome <span class=\"hljs-keyword\">to<\/span> fdisk (util-linux <span class=\"hljs-number\">2.34<\/span>).<br \/>\nChanges will remain in memory <span class=\"hljs-keyword\">only<\/span>, until you decide <span class=\"hljs-keyword\">to<\/span> <span class=\"hljs-keyword\">write<\/span> them.<br \/>\nBe careful before using the <span class=\"hljs-keyword\">write<\/span> <span class=\"hljs-keyword\">command<\/span>.<\/p>\n<p>Command (<span class=\"hljs-keyword\">m<\/span> <span class=\"hljs-keyword\">for<\/span> <span class=\"hljs-keyword\">help<\/span>): <span class=\"hljs-keyword\">m<\/span><\/p>\n<p>Help:<\/p>\n<p>  DOS (MBR)<br \/>\n   <span class=\"hljs-keyword\">a<\/span>   toggle <span class=\"hljs-keyword\">a<\/span> bootable flag<br \/>\n   <span class=\"hljs-keyword\">b<\/span>   <span class=\"hljs-keyword\">edit<\/span> nested BSD disklabel<br \/>\n   <span class=\"hljs-keyword\">c<\/span>   toggle the dos compatibility flag<\/p>\n<p>  Generic<br \/>\n   d   <span class=\"hljs-keyword\">delete<\/span> <span class=\"hljs-keyword\">a<\/span> partition<br \/>\n   F   <span class=\"hljs-keyword\">list<\/span> free unpartitioned space<br \/>\n   <span class=\"hljs-keyword\">l<\/span>   <span class=\"hljs-keyword\">list<\/span> known partition types<br \/>\n   n   <span class=\"hljs-built_in\">add<\/span> <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> partition<br \/>\n   <span class=\"hljs-keyword\">p<\/span>   <span class=\"hljs-keyword\">print<\/span> the partition table<br \/>\n   t   <span class=\"hljs-keyword\">change<\/span> <span class=\"hljs-keyword\">a<\/span> partition <span class=\"hljs-built_in\">type<\/span><br \/>\n   v   verify the partition table<br \/>\n   i   <span class=\"hljs-keyword\">print<\/span> information about <span class=\"hljs-keyword\">a<\/span> partition<\/p>\n<p>  Misc<br \/>\n   <span class=\"hljs-keyword\">m<\/span>   <span class=\"hljs-keyword\">print<\/span> this <span class=\"hljs-keyword\">menu<\/span><br \/>\n   <span class=\"hljs-keyword\">u<\/span>   <span class=\"hljs-keyword\">change<\/span> <span class=\"hljs-keyword\">display<\/span>\/entry units<br \/>\n   <span class=\"hljs-keyword\">x<\/span>   extra functionality (experts <span class=\"hljs-keyword\">only<\/span>)<\/p>\n<p>  Script<br \/>\n   I   load disk layout from sfdisk script <span class=\"hljs-keyword\">file<\/span><br \/>\n   O   dump disk layout <span class=\"hljs-keyword\">to<\/span> sfdisk script <span class=\"hljs-keyword\">file<\/span><\/p>\n<p>  Save &amp; Exit<br \/>\n   <span class=\"hljs-keyword\">w<\/span>   <span class=\"hljs-keyword\">write<\/span> table <span class=\"hljs-keyword\">to<\/span> disk <span class=\"hljs-built_in\">and<\/span> <span class=\"hljs-keyword\">exit<\/span><br \/>\n   q   <span class=\"hljs-keyword\">quit<\/span> without saving <span class=\"hljs-keyword\">changes<\/span><\/p>\n<p>  Create <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> label<br \/>\n   g   create <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">empty<\/span> GPT partition table<br \/>\n   G   create <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">empty<\/span> SGI (IRIX) partition table<br \/>\n   <span class=\"hljs-keyword\">o<\/span>   create <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">empty<\/span> DOS partition table<br \/>\n   s   create <span class=\"hljs-keyword\">a<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">empty<\/span> Sun partition table<\/p>\n<p>Command (<span class=\"hljs-keyword\">m<\/span> <span class=\"hljs-keyword\">for<\/span> <span class=\"hljs-keyword\">help<\/span>): d<br \/>\nSelected partition <span class=\"hljs-number\">1<\/span><br \/>\nPartition <span class=\"hljs-number\">1<\/span> <span class=\"hljs-built_in\">has<\/span> been deleted.<\/p>\n<p>Command (<span class=\"hljs-keyword\">m<\/span> <span class=\"hljs-keyword\">for<\/span> <span class=\"hljs-keyword\">help<\/span>): <span class=\"hljs-keyword\">p<\/span><br \/>\nDisk \/dev\/nvme0n1: <span class=\"hljs-number\">1.84<\/span> TiB, <span class=\"hljs-number\">2000398934016<\/span> bytes, <span class=\"hljs-number\">3907029168<\/span> sectors<br \/>\nDisk model: Samsung SSD <span class=\"hljs-number\">980<\/span> PRO <span class=\"hljs-number\">2<\/span>TB<br \/>\nUnits: sectors of <span class=\"hljs-number\">1<\/span> * <span class=\"hljs-number\">512<\/span> &#061; <span class=\"hljs-number\">512<\/span> bytes<br \/>\nSector size (logical\/physical): <span class=\"hljs-number\">512<\/span> bytes \/ <span class=\"hljs-number\">512<\/span> bytes<br \/>\nI\/O size (minimum\/optimal): <span class=\"hljs-number\">512<\/span> bytes \/ <span class=\"hljs-number\">512<\/span> bytes<br \/>\nDisklabel <span class=\"hljs-built_in\">type<\/span>: dos<br \/>\nDisk identifier: <span class=\"hljs-number\">0<\/span>xcd706ecb<\/p>\n<p>Command (<span class=\"hljs-keyword\">m<\/span> <span class=\"hljs-keyword\">for<\/span> <span class=\"hljs-keyword\">help<\/span>): <span class=\"hljs-keyword\">w<\/span><br \/>\nThe partition table <span class=\"hljs-built_in\">has<\/span> been altered.<br \/>\nCalling ioctl() <span class=\"hljs-keyword\">to<\/span> re-<span class=\"hljs-keyword\">read<\/span> partition table.<br \/>\nSyncing disks.<\/p>\n<h2 id=\"h1_\u4e8c\u3001\u5927\u4e8e2t\u78c1\u76d8\u6302\u8f7d\u65b9\u5f0f_1720679147520\">\u4e8c\u3001\u5927\u4e8e2T\u78c1\u76d8\u6302\u8f7d\u65b9\u5f0f<\/h2>\n<h3 id=\"h2_21-\u5b89\u88c5\u78c1\u76d8\u5230\u7535\u8111\u540e\u542f\u52a8\u7cfb\u7edf_1720679147521\">2.1 \u5b89\u88c5\u78c1\u76d8\u5230\u7535\u8111\u540e\u542f\u52a8\u7cfb\u7edf<\/h3>\n<h3 id=\"h2_22-\u67e5\u627e\u672a\u5206\u533a\u7684\u78c1\u76d8_1720679147521\">2.2 \u67e5\u627e\u672a\u5206\u533a\u7684\u78c1\u76d8<\/h3>\n<ul>\n<li>\u6253\u5f00\u7ec8\u7aef\u8f93\u5165sudo fdisk -l\u67e5\u627e\u5230\u6ca1\u6709\u5206\u533a\u7684\u78c1\u76d8<\/li>\n<li>\u5df2\u7ecf\u5206\u533a\u7684\u78c1\u76d8\u4f1a\u6709\u5bf9\u5e94\u7684Device Start End Sectors Size Type\u4fe1\u606f&#xff0c;\u800c\u672a\u5206\u533a\u7684\u78c1\u76d8\u6ca1\u6709\u5bf9\u5e94\u7684\u4fe1\u606f&#xff0c;\u901a\u8fc7\u67e5\u770b\u5f53\u524d\/dev\/nvme0n1\u662f\u65b0\u589e\u52a0\u7684\u672a\u5206\u533a\u78c1\u76d8<\/li>\n<\/ul>\n<p>$ sudo fdisk -l<br \/>\n[sudo] password for wen_fei:<br \/>\nDisk \/dev\/nvme0n1: 3.74 TiB,<span class=\"hljs-number\"> 4096805658624 <\/span>bytes,<span class=\"hljs-number\"> 8001573552 <\/span>sectors<br \/>\nDisk model: Lexar SSD ARES 4TB<br \/>\nUnits: sectors of<span class=\"hljs-number\"> 1 <\/span>*<span class=\"hljs-number\"> 512 <\/span>&#061;<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nSector size (logical\/physical):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nI\/O size (minimum\/optimal):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<\/p>\n<p>Disk \/dev\/nvme1n1: 1.84 TiB,<span class=\"hljs-number\"> 2000398934016 <\/span>bytes,<span class=\"hljs-number\"> 3907029168 <\/span>sectors <span class=\"hljs-comment\"># \u5df2\u5206\u533a\u7684\u78c1\u76d8<\/span><br \/>\nDisk model: Samsung SSD<span class=\"hljs-number\"> 980 <\/span>PRO 2TB<br \/>\nUnits: sectors of<span class=\"hljs-number\"> 1 <\/span>*<span class=\"hljs-number\"> 512 <\/span>&#061;<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nSector size (logical\/physical):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nI\/O size (minimum\/optimal):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nDisklabel type: gpt<br \/>\nDisk identifier: 6F0C9477-25AA-45D6-A027-C7186A2C5918<\/p>\n<p>Device             Start        End    Sectors  Size Type<br \/>\n\/dev\/nvme1n1p1     <span class=\"hljs-number\"> 2048 <\/span>  <span class=\"hljs-number\"> 5859327 <\/span>  <span class=\"hljs-number\"> 5857280 <\/span> 2.8G EFI System<br \/>\n\/dev\/nvme1n1p2  <span class=\"hljs-number\"> 5859328 <\/span><span class=\"hljs-number\"> 162109439 <\/span><span class=\"hljs-number\"> 156250112 <\/span>74.5G Linux filesystem<br \/>\n\/dev\/nvme1n1p3<span class=\"hljs-number\"> 162109440 <\/span><span class=\"hljs-number\"> 220702719 <\/span> <span class=\"hljs-number\"> 58593280 <\/span>  28G Linux filesystem<br \/>\n\/dev\/nvme1n1p4<span class=\"hljs-number\"> 220702720 <\/span><span class=\"hljs-number\"> 298827775 <\/span> <span class=\"hljs-number\"> 78125056 <\/span>37.3G Linux filesystem<br \/>\n\/dev\/nvme1n1p5<span class=\"hljs-number\"> 298827776 <\/span><span class=\"hljs-number\"> 376952831 <\/span> <span class=\"hljs-number\"> 78125056 <\/span>37.3G Linux filesystem<br \/>\n\/dev\/nvme1n1p6<span class=\"hljs-number\"> 376952832 <\/span><span class=\"hljs-number\"> 416014335 <\/span> <span class=\"hljs-number\"> 39061504 <\/span>18.6G Linux filesystem<br \/>\n\/dev\/nvme1n1p7<span class=\"hljs-number\"> 416014336 <\/span>3907028991<span class=\"hljs-number\"> 3491014656 <\/span> 1.6T Linux filesystem<\/p>\n<p>Disk \/dev\/nvme2n1: 1.84 TiB,<span class=\"hljs-number\"> 2000398934016 <\/span>bytes,<span class=\"hljs-number\"> 3907029168 <\/span>sectors <span class=\"hljs-comment\"># \u5df2\u5206\u533a\u7684\u78c1\u76d8<\/span><br \/>\nDisk model: Samsung SSD<span class=\"hljs-number\"> 980 <\/span>PRO 2TB<br \/>\nUnits: sectors of<span class=\"hljs-number\"> 1 <\/span>*<span class=\"hljs-number\"> 512 <\/span>&#061;<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nSector size (logical\/physical):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nI\/O size (minimum\/optimal):<span class=\"hljs-number\"> 512 <\/span>bytes \/<span class=\"hljs-number\"> 512 <\/span>bytes<br \/>\nDisklabel type: gpt<br \/>\nDisk identifier: B6155B74-845D-4234-B637-4308B3F0C56D<\/p>\n<p>Device         Start        End    Sectors  Size Type<br \/>\n\/dev\/nvme2n1p1 <span class=\"hljs-number\"> 2048 <\/span>3907028991<span class=\"hljs-number\"> 3907026944 <\/span> 1.8T Linux filesystem<\/p>\n<h3 id=\"h2_23-\u78c1\u76d8\u5206\u533a_1720679147577\">2.3 \u78c1\u76d8\u5206\u533a<\/h3>\n<ul>\n<li>\u5bf9\u672a\u5206\u533a\u7684\u78c1\u76d8\u6267\u884c\u547d\u4ee4sudo parted \/dev\/xxx<\/li>\n<li>\u6839\u636e\u63d0\u793a\u8f93\u5165mklabel gpt\u5efa\u7acbGPT\u5206\u533a<\/li>\n<li>\u6839\u636e\u63d0\u793a\u8f93\u5165Yes\u5f00\u59cb\u521b\u5efa\u5206\u533a<\/li>\n<li>\u6839\u636e\u63d0\u793a\u8f93\u5165mkpart primary ext4 0% 100%\u521b\u5efa\u4e3b\u5206\u533a<\/li>\n<li>\u6839\u636e\u63d0\u793a\u8f93\u5165print\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f<\/li>\n<li>\u6839\u636e\u63d0\u793a\u8f93\u5165quit\u9000\u51fa<\/li>\n<\/ul>\n<p>$ sudo parted <span class=\"hljs-regexp\">\/dev\/<\/span>nvme0n1<br \/>\nGNU Parted <span class=\"hljs-number\">3.3<\/span><br \/>\nUsing <span class=\"hljs-regexp\">\/dev\/<\/span>nvme0n1<br \/>\nWelcome to GNU Parted! Type <span class=\"hljs-string\">&#039;help&#039;<\/span> to view a list of commands.<br \/>\n(parted) mklabel gpt<br \/>\nWarning: The existing disk label on <span class=\"hljs-regexp\">\/dev\/<\/span>nvme0n1 will be destroyed and all data on <span class=\"hljs-keyword\">this<\/span> disk will be lost. <span class=\"hljs-keyword\">Do<\/span> you want to<br \/>\n<span class=\"hljs-keyword\">continue<\/span>?<br \/>\nYes\/No? Yes<br \/>\n(parted) mkpart primary ext4 <span class=\"hljs-number\">0<\/span>% <span class=\"hljs-number\">100<\/span>%<br \/>\n(parted) <span class=\"hljs-keyword\">print<\/span><br \/>\nModel: Lexar SSD ARES <span class=\"hljs-number\">4<\/span>TB (nvme)<br \/>\nDisk <span class=\"hljs-regexp\">\/dev\/<\/span>nvme0n1: <span class=\"hljs-number\">4097<\/span>GB<br \/>\nSector <span class=\"hljs-keyword\">size<\/span> (logical<span class=\"hljs-regexp\">\/physical): 512B\/<\/span><span class=\"hljs-number\">512<\/span>B<br \/>\nPartition Table: gpt<br \/>\nDisk Flags:<\/p>\n<p>Number  Start   End     <span class=\"hljs-keyword\">Size<\/span>    <span class=\"hljs-keyword\">File<\/span> system  Name     Flags<br \/>\n <span class=\"hljs-number\">1<\/span>      <span class=\"hljs-number\">1049<\/span>kB  <span class=\"hljs-number\">4097<\/span>GB  <span class=\"hljs-number\">4097<\/span>GB  ext4         primary<\/p>\n<p>(parted) quit<br \/>\nInformation: You may need to update <span class=\"hljs-regexp\">\/etc\/<\/span>fstab.<\/p>\n<h3 id=\"h2_24-\u683c\u5f0f\u5316\u5206\u533a_1720679147600\">2.4 \u683c\u5f0f\u5316\u5206\u533a<\/h3>\n<ul>\n<li>\u8f93\u5165\u547d\u4ee4sudo mkfs -t ext4 \/dev\/xxx\u8fdb\u884c\u683c\u5f0f\u5316\u78c1\u76d8<\/li>\n<li>\u8bb0\u4f4f\u751f\u6210\u78c1\u76d8\u7684UUID\u4e3a\u6302\u8f7d\u78c1\u76d8\u4f7f\u7528<\/li>\n<\/ul>\n<p>$ sudo mkfs -t ext4 \/dev\/nvme0n1<br \/>\nmke2fs <span class=\"hljs-number\">1<\/span>.<span class=\"hljs-number\">45<\/span>.<span class=\"hljs-number\">5<\/span> (<span class=\"hljs-number\">07<\/span>-Jan-<span class=\"hljs-number\">2020<\/span>)<br \/>\n\/dev\/nvme0n1 contains a ext4 file system<br \/>\n        created on Wed Jul  <span class=\"hljs-number\">3 17:44:09<\/span> <span class=\"hljs-number\">2024<\/span><br \/>\nProceed anyway? (y,N) y<br \/>\nDiscarding device blocks: done<br \/>\nCreating filesystem with <span class=\"hljs-number\">1000196694<\/span> <span class=\"hljs-number\">4<\/span>k blocks and <span class=\"hljs-number\">250052608<\/span> inodes<br \/>\nFilesystem UUID: <span class=\"hljs-number\">7918<\/span>bc9f-<span class=\"hljs-number\">458<\/span>c-<span class=\"hljs-number\">442<\/span>f-b586-<span class=\"hljs-number\">53<\/span>fa657b4ad2<br \/>\nSuperblock backups stored on blocks:<br \/>\n        <span class=\"hljs-number\">32768<\/span>, <span class=\"hljs-number\">98304<\/span>, <span class=\"hljs-number\">163840<\/span>, <span class=\"hljs-number\">229376<\/span>, <span class=\"hljs-number\">294912<\/span>, <span class=\"hljs-number\">819200<\/span>, <span class=\"hljs-number\">884736<\/span>, <span class=\"hljs-number\">1605632<\/span>, <span class=\"hljs-number\">2654208<\/span>,<br \/>\n        <span class=\"hljs-number\">4096000<\/span>, <span class=\"hljs-number\">7962624<\/span>, <span class=\"hljs-number\">11239424<\/span>, <span class=\"hljs-number\">20480000<\/span>, <span class=\"hljs-number\">23887872<\/span>, <span class=\"hljs-number\">71663616<\/span>, <span class=\"hljs-number\">78675968<\/span>,<br \/>\n        <span class=\"hljs-number\">102400000<\/span>, <span class=\"hljs-number\">214990848<\/span>, <span class=\"hljs-number\">512000000<\/span>, <span class=\"hljs-number\">550731776<\/span>, <span class=\"hljs-number\">644972544<\/span><\/p>\n<p>Allocating group tables: done<br \/>\nWriting inode tables: done<br \/>\nCreating journal (<span class=\"hljs-number\">262144<\/span> blocks): done<br \/>\nWriting superblocks and filesystem accounting information: done<\/p>\n<h3 id=\"h2_25-\u8bbe\u7f6e\u5f00\u673a\u81ea\u52a8\u6302\u8f7d_1720679147634\">2.5 \u8bbe\u7f6e\u5f00\u673a\u81ea\u52a8\u6302\u8f7d<\/h3>\n<ul>\n<li>\u6253\u5f00\u6587\u4ef6\/etc\/fstab\u6dfb\u52a0\u65b0\u5206\u533a\u6302\u8f7d\u5230\/data\u76ee\u5f55<\/li>\n<\/ul>\n<p>$ sudo vim <span class=\"hljs-regexp\">\/etc\/<\/span>fstab<br \/>\n# <span class=\"hljs-regexp\">\/datb was on \/<\/span>dev\/nvme3n1p1 during installation<br \/>\nUUID&#061;<span class=\"hljs-number\">7918<\/span>bc9f-<span class=\"hljs-number\">458<\/span>c-<span class=\"hljs-number\">442<\/span>f-b586-<span class=\"hljs-number\">53<\/span>fa657b4ad2 \/data           ext4    defaults        <span class=\"hljs-number\">0<\/span>       <span class=\"hljs-number\">2<\/span><\/p>\n<h3 id=\"h2_26-\u91cd\u542f\u7cfb\u7edf_1720679147642\">2.6 \u91cd\u542f\u7cfb\u7edf<\/h3>\n<ul>\n<li>\u7cfb\u7edf\u91cd\u542f\u540e\u67e5\u770b\u5df2\u7ecf\u6709\u76ee\u5f55\/data\u8868\u793a\u6302\u8f7d\u65b0\u78c1\u76d8\u6210\u529f<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf32\u6b21\u3002_ubuntu \u65b0\u786c\u76d8<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-24765","post","type-post","status-publish","format-standard","hentry","category-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e00\u952e\u4f18\u96c5\u4e3aUbuntu20.04\u670d\u52a1\u5668\u6302\u8f7d\u65b0\u78c1\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/24765.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e00\u952e\u4f18\u96c5\u4e3aUbuntu20.04\u670d\u52a1\u5668\u6302\u8f7d\u65b0\u78c1\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf32\u6b21\u3002_ubuntu \u65b0\u786c\u76d8\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/24765.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T02:42:22+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/24765.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/24765.html\",\"name\":\"\u4e00\u952e\u4f18\u96c5\u4e3aUbuntu20.04\u670d\u52a1\u5668\u6302\u8f7d\u65b0\u78c1\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T02:42:22+00:00\",\"dateModified\":\"2025-04-19T02:42:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/24765.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/24765.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/24765.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e00\u952e\u4f18\u96c5\u4e3aUbuntu20.04\u670d\u52a1\u5668\u6302\u8f7d\u65b0\u78c1\u76d8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4e00\u952e\u4f18\u96c5\u4e3aUbuntu20.04\u670d\u52a1\u5668\u6302\u8f7d\u65b0\u78c1\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/24765.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e00\u952e\u4f18\u96c5\u4e3aUbuntu20.04\u670d\u52a1\u5668\u6302\u8f7d\u65b0\u78c1\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf32\u6b21\u3002_ubuntu \u65b0\u786c\u76d8","og_url":"https:\/\/www.wsisp.com\/helps\/24765.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T02:42:22+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/24765.html","url":"https:\/\/www.wsisp.com\/helps\/24765.html","name":"\u4e00\u952e\u4f18\u96c5\u4e3aUbuntu20.04\u670d\u52a1\u5668\u6302\u8f7d\u65b0\u78c1\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T02:42:22+00:00","dateModified":"2025-04-19T02:42:22+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/24765.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/24765.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/24765.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e00\u952e\u4f18\u96c5\u4e3aUbuntu20.04\u670d\u52a1\u5668\u6302\u8f7d\u65b0\u78c1\u76d8"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/24765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=24765"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/24765\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=24765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=24765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=24765"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=24765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}