{"id":2685,"date":"2019-05-29T23:50:42","date_gmt":"2019-05-29T15:50:42","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=2685"},"modified":"2019-05-30T21:47:01","modified_gmt":"2019-05-30T13:47:01","slug":"sfdisk","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/sfdisk","title":{"rendered":"sfdisk\u547d\u4ee4 – \u786c\u76d8\u5206\u533a\u5de5\u5177"},"content":{"rendered":"\n
sfdisk\u4e3a\u786c\u76d8\u5206\u533a\u5de5\u5177\u7a0b\u5e8f\uff0c\u53ef\u663e\u793a\u5206\u533a\u7684\u8bbe\u7f6e\u4fe1\u606f\uff0c\u5e76\u68c0\u67e5\u5206\u533a\u662f\u5426\u6b63\u5e38\u3002sfdisk\u4e5f\u53ef\u7528\u6765\u5efa\u7acb\u5206\u533a\u3002\u7531\u4e8e\u5efa\u7acb\u786c\u76d8\u5206\u533a\u5179\u4e8b\u4f53\u5927\uff0c\u5efa\u8bae\u8fd8\u662f\u4f7f\u7528\u4e3a\u4e2a\u522b\u64cd\u4f5c\u7cfb\u7edf\u8bbe\u8ba1\u7684\u786c\u76d8\u5206\u533a\u5de5\u5177\u7a0b\u5e8f\u6bd4\u8f83\u59a5\u5f53\uff0c\u5982\u7528fdisk\u5efa\u7acbDOS\u5206\u533a\uff0c\u7528Disk Druid\u6216sfdisk\u5efa\u7acblinux\u7684\u5206\u533a\u3002 <\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> sfdisk [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u663e\u793a\u5206\u533a\u4fe1\u606f\uff1a <\/p>\n\n\n\n \u663e\u793a\u786c\u76d8\u5206\u533a\u7684\u8bbe\u7f6e\uff1a <\/p>\n\n\n\n sfdisk\u4e3a\u786c\u76d8\u5206\u533a\u5de5\u5177\u7a0b\u5e8f\uff0c\u53ef\u663e\u793a\u5206\u533a\u7684\u8bbe\u7f6e\u4fe1\u606f\uff0c\u5e76\u68c0\u67e5\u5206\u533a\u662f\u5426\u6b63\u5e38\u3002sfdisk\u4e5f\u53ef\u7528\u6765\u5efa\u7acb\u5206\u533a\u3002\u7531\u4e8e\u5efa […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2685"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=2685"}],"version-history":[{"count":9,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2685\/revisions"}],"predecessor-version":[{"id":2971,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2685\/revisions\/2971"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=2685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=2685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=2685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-d<\/td> \u663e\u793a\u786c\u76d8\u5206\u533a\u7684\u8bbe\u7f6e <\/td><\/tr> -g <\/td> \u8f93\u51fa\u6a21\u5757\u7684\u8f7d\u5165\u4fe1\u606f<\/td><\/tr> -l <\/td> \u663e\u793a\u540e\u786c\u76d8\u5206\u533a\u7684\u76f8\u5173\u8bbe\u7f6e <\/td><\/tr> -s <\/td> \u663e\u793a\u5206\u533a\u7684\u5927\u5c0f\uff0c\u5355\u4f4d\u4e3a\u533a\u5757 <\/td><\/tr> -T <\/td> \u663e\u793a\u6240\u6709sfdisk\u80fd\u8fa8\u8bc6\u7684\u6587\u4ef6\u7cfb\u7edfID <\/td><\/tr> -v <\/td> \u663e\u793a\u7248\u672c\u4fe1\u606f <\/td><\/tr> -V <\/td> \u68c0\u67e5\u786c\u76d8\u5206\u533a\u662f\u5426\u6b63\u5e38 <\/td><\/tr> -x <\/td> \u663e\u793a\u6269\u5c55\u5206\u533a\u4e2d\u7684\u903b\u8f91\u5206\u533a <\/td><\/tr> -N<\/td> \u6309\u7167\u4ece\u6807\u51c6\u8f93\u5165\u8bfb\u53d6\u7684\u5206\u533a\u8868\uff0c\u5728\u6307\u5b9a\u7684\u5757\u8bbe\u5907\u4e0a\u521b\u5efa\u5206\u533a\u8868 <\/td><\/tr> -A <\/td> \u6253\u5f00\u6307\u5b9a\u5206\u533a\u7684\u542f\u52a8\u6807\u8bb0(\u4ec5\u53ef\u7528\u4e8eMBR\u5206\u533a\u8868) <\/td><\/tr> --delete <\/td> \u5220\u9664\u6307\u5b9a\/\u5168\u90e8\u7684\u5206\u533a <\/td><\/tr> -J <\/td> \u6309\u7167 JSON \u683c\u5f0f\u5bfc\u51fa\u6307\u5b9a\u5757\u8bbe\u5907\u7684\u73b0\u6709\u5206\u533a\u8868 <\/td><\/tr> -F<\/td> \u5217\u51fa\u6307\u5b9a\/\u5168\u90e8\u5757\u8bbe\u5907\u4e0a\u5c1a\u672a\u88ab\u5206\u533a\u7684\u5269\u4f59\u7a7a\u95f4 <\/td><\/tr> -r<\/td> \u6309\u7167\u5404\u5206\u533a\u7684\u8d77\u59cb\u6247\u533a\uff0c\u5bf9\u73b0\u6709\u5206\u533a\u8fdb\u884c\u91cd\u65b0\u7f16\u53f7 <\/td><\/tr> -a<\/td> \u4ec5\u5728\u73b0\u6709\u7684\u5206\u533a\u8868\u4e0a\u6dfb\u52a0\u65b0\u5206\u533a\uff0c\u800c\u4e0d\u662f\u521b\u5efa\u4e00\u4e2a\u5168\u65b0\u7684\u5206\u533a\u8868 <\/td><\/tr> -f <\/td> \u7981\u7528\u6240\u6709\u4e00\u81f4\u6027\u68c0\u67e5\uff0c\u5f3a\u5236\u6267\u884c\u770b\u4e0a\u53bb\u660e\u663e\u7684\u9519\u8bef\u52a8\u4f5c <\/td><\/tr> -n<\/td> \u6a21\u62df\u64cd\u4f5c(\u5e76\u4e0d\u771f\u6b63\u5199\u5165\u5757\u8bbe\u5907) <\/td><\/tr> -o <\/td> \u4ec5\u8f93\u51fa\u6307\u5b9a\u7684\u5b57\u6bb5 <\/td><\/tr> -q<\/td> \u4e0d\u663e\u793a\u6240\u6709\u591a\u4f59\u7684\u4fe1\u606f <\/td><\/tr> -X<\/td> \u6307\u5b9a\u5206\u533a\u8868\u7684\u7c7b\u578b\u3002\u5982\u679c\u672a\u660e\u786e\u6307\u5b9a\u6b64\u9009\u9879\uff0c\u90a3\u4e48\u8868\u793a\u4f7f\u7528\u5757\u8bbe\u5907\u4e0a\u7684\u73b0\u6709\u7c7b\u578b\u3002 \u5982\u679c\u73b0\u6709\u5757\u8bbe\u5907\u4e0a\u4e0d\u5b58\u5728\u5206\u533a\u8868\uff0c\u90a3\u4e48\u9ed8\u8ba4\u4e3a dos \u7c7b\u578b(MBR) <\/td><\/tr> -h\u6216--help <\/td> \u6253\u5370\u5e2e\u52a9\u4fe1\u606f\u5e76\u7acb\u5373\u9000\u51fa <\/td><\/tr><\/tbody><\/table>\n\n\n\n [root@linuxcool ~]# sfdisk -l <\/pre>\n\n\n\n
[root@linuxcool ~]# sfdisk -d <\/pre>\n","protected":false},"excerpt":{"rendered":"