{"id":293571,"date":"2024-10-12T04:02:17","date_gmt":"2024-10-11T20:02:17","guid":{"rendered":"https:\/\/lrxjmw.cn\/whlxtzjvwjbc.html"},"modified":"2024-10-12T04:02:17","modified_gmt":"2024-10-11T20:02:17","slug":"whlxtzjvwjbc","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/whlxtzjvwjbc.html","title":{"rendered":"Windows \u548c Linux \u7cfb\u7edf\u88c5\u8fdb VHD \u6587\u4ef6\u5e76\u4ece\u79fb\u52a8\u786c\u76d8\u5f15\u5bfc\u542f\u52a8\u7684\u8be6\u7ec6\u6559\u7a0b"},"content":{"rendered":"

\u6458\u8981\uff1a\u672c\u6587\u4e3b\u8981\u4ecb\u7ecd\u628awindows\u7cfb\u7edf\u548cLinux<\/a>\u7cfb\u7edf\u88c5\u8fdbvhd\u6587\u4ef6\uff0c\u5e76\u4ece\u8054\u901a\u786c\u789f\u5f15\u5bfc\u542f\u52a8<\/p>\n

TableofContents<\/p>\n

\u6253\u7b97\uff1a<\/p>\n

1\u3001gpt\u5206\u533a\u65b9\u5f0f\u8054\u901a\u56fa\u6001\u786c\u789f\u4e00\u4e2a\uff0c<\/p>\n

2\u3001VMwareWorkstationPro\uff0c\u4e0b\u8f7d\u5730\u5740<\/p>\n

3\u3001bootice\uff0c\u4e0b\u8f7d\u5730\u5740<\/p>\n

4\u3001xorbootu\uff0c\u4e0b\u8f7d\u5730\u5740\u53ca\u6559\u7a0b<\/p>\n

5\u3001wtga\uff0c\u4e0b\u8f7d\u5730\u5740\u53ca\u6559\u7a0b<\/p>\n

6\u3001ubuntu\u4e0b\u8f7d\u5730\u5740<\/p>\n

7\u3001centosx86_64\u7248\u4e0b\u8f7d\u5730\u5740\uff0c\u63a8\u8350everything\u7248\u672c<\/p>\n

8\u3001windows\u4e0b\u8f7d\u5730\u5740<\/p>\n

9\u3001diskgenius\u8f6f\u4ef6\uff0c\u767e\u5ea6\u4e0b\u8f7d<\/p>\n

10\u3001vhd\u6587\u4ef6\u6269\u5bb9\u6559\u7a0b<\/p>\n

11\u3001\u6253\u5f00efi\u5206\u533a\u7684\u65b9\u5f0f<\/p>\n

\n

diskpart\nlist volume \nselect   \/\/ \u9009\u62e9\u5bf9\u5e94efi\u5206\u533a\uff08\u6839\u636e\u5927\u5c0f\u548c\u5206\u533a\u7c7b\u578b\u5206\u8fa8\uff09\nhelp set \nset ID= \/\/ \u8fd9\u91ccguid\u662f\u5217\u51fa\u7684\u666e\u901a\u7c7b\u578b\u5bf9\u5e94\u7684guid\uff0c\u5176\u5b9e\u5c31\u662f\u5b83\u793a\u4f8b\u7684\u6700\u540e\u4e00\u6761\n                \/\/ \u4e4b\u540e\u6700\u597d\u6539\u56de\u53bb\nassign\n\/\/ \u82e5\u6ca1\u5f39\u51fa\u53ef\u80fd\u8981\u91cd\u65b0\u63d2\u5165\uff0c\u518d\u53bb\u78c1\u76d8\u7ba1\u7406\u91cc\u9762\u624b\u52a8\u5206\u914d\u9a71\u52a8\u5668\u53f7<\/code><\/pre>\n<\/p>\n

\u4e00\u3001\u57fa\u7840\u77e5\u8bc61\u3001\u8ba1\u7b97\u673a\u542f\u52a8\u8fc7\u7a0b<\/p>\n

\u53c2\u8003\u6587\u7ae0<\/p>\n

windows10\u7684uefi+gpt\u5927\u81f4\u542f\u52a8\u8fc7\u7a0b\uff1a\u901a\u7535->\u8bfb\u53d6\u5e76\u5c55\u793a\u6240\u6709\u53ef\u5f15\u5bfc\u7684\u50a8\u5b58\u8bbe\u5907->\u7528\u6237\u9009\u62e9\u6216\u9ed8\u8ba4\u7b2c\u4e00\u4e2a\u786c\u789f->\u8bfb\u53d6\u7b2c\u4e00\u4e2aFAT\u683c\u5f0f\u7684\u5206\u533a->\u6267\u884cEFI\/Boot\/bootx64.efi\u6587\u4ef6->\u52a0\u8f7d\u542f\u52a8\u7ba1\u7406\u5668EFI\/Microsoft\/bootmgfw.efi\u5e76\u8bfb\u53d6bcd\u6587\u4ef6->\u6309bcd\u4e2d\u4fe1\u606f\u548c\u7528\u6237\u9009\u62e9(\u53ea\u6709\u4e00\u4e2a\u5c31\u4e0d\u7528\u9009)\u542f\u52a8\u5bf9\u5e94\u64cd\u4f5c\u7cfb\u7edf->\u901a\u5e38\u662f\u52a0\u8f7d\u6307\u5b9a\u5206\u533a\uff08\u5982\u78c1\u76d8\uff09\u7684Windows\/system\/winload.efi\u6587\u4ef6<\/p>\n

windows10\u7684BIOS+mbr\u5927\u81f4\u542f\u52a8\u8fc7\u7a0b\uff1a\u901a\u7535->\u8bfb\u53d6\u5e76\u5c55\u793a\u6240\u6709\u53ef\u5f15\u5bfc\u7684\u50a8\u5b58\u8bbe\u5907->\u7528\u6237\u9009\u62e9\u6216\u9ed8\u8ba4\u7b2c\u4e00\u4e2a\u786c\u789f->\u8bfb\u53d6\u786c\u789f\u7684mbr\uff08\u4e3b\u5f15\u5bfc\u8bb0\u5f55\uff0c\u5728\u7b2c\u4e00\u4e2a\u78c1\u9053\uff0c512\u5b57\u8282\uff09->\u636e\u6b64\u5728\u5206\u533a\u8868\u4e2d\u68c0\u6d4b\u6d3b\u52a8\u5206\u533a\u4f4d\u7f6e->\u5728\u6d3b\u52a8\u5206\u533a\u7684\u5206\u533a\u5f15\u5bfc\u8bb0\u5f55\uff08PBR\uff0c\u6d3b\u52a8\u5206\u533a\u5f15\u5bfc\u8bb0\u5f55\u5408\u79f0DBR\uff0c\u5927\u69821M\u7684\u5206\u533a\uff0c\u901a\u5e38\u6253\u4e0d\u5f00\uff0c\u987b\u8981bootice\u80fd\u591f\u7f16\u8f91\uff09\u4e2d\u67e5\u627ebootmgr\u548cBoot\/BCD->\u636e\u6b64\u52a0\u8f7d\u6307\u5b9a\u5206\u533a\u7684windows\/system\/winload.efi\u6587\u4ef6\uff0c\u542f\u52a8\u7cfb\u7edf<\/p>\n

win10\u7684efi\u542f\u52a8gptc\u76d8\uff0cBIOS\u542f\u52a8mbrc\u76d8<\/p>\n

gptc\u76d8\u548cmbrc\u76d8\u7684\u533a\u522b\u5c31\u662fgpt\u4e00\u5b9a\u4f1a\u591a\u51fa\u4e00\u4e2aefi\u5206\u533a\u4fdd\u5b58\u5206\u533a\u4fe1\u606f\uff0cmbr\u5219\u662f\u4fdd\u5b58\u5728\u7b2c\u4e00\u4e2a\u78c1\u9053\u3002<\/p>\n

\u4e8c\u3001\u5b89\u88c5windows\u5230vhd\u65b9\u5f0f\u4e00\u3001\u4f7f\u7528wtga<\/p>\n

\u4f7f\u7528wtga\u7279\u522b\u7b80\u5355\uff0c\u9009\u62e9ISO\u6587\u4ef6\uff0c\u76ee\u6807c\u76d8\uff0cvhdx\u6a21\u5f0f\uff0cuefi+gpt\uff0c600gb\uff0c\u5176\u4ed6\u9ed8\u8ba4\u5c31\u884c\u4e86\u3002<\/p>\n

1\u3001\u8981\u6ce8\u610f\u8981\u5728\u672c\u5730c\u76d8\u7cfb\u7edf\u4e0a\u8fdb\u884c\u5236\u505a\uff0c\u82e5\u662f\u8054\u901ac\u76d8\u4e0a\u7684\u7cfb\u7edf\u5219\u6709\u53ef\u80fd\u63d0\u793a\u521b\u5efavhd\u6587\u4ef6\u5931\u8d25\u800c\u5931\u8d25\u3002<\/p>\n

2\u3001\u5bf9\u591a\u79cd\u7c7b\u7cfb\u7edf\u4e0d\u53cb\u597d\u3002\u82e5\u5b89\u88c5Linux\u4f1a\u4f7f\u7528\u5176\u4ed6\u5f15\u5bfc\u7a0b\u5e8f\uff0c\u5bf9efi\u5206\u533a\u5f62\u6210\u6539\u52a8\uff0c\u90fd\u4f1a\u4f7f\u539f\u5148\u7684\u5f15\u5bfc\u6545\u969c\u3002<\/p>\n

3\u3001\u82e5\u6539\u52a8\u540e\u542f\u52a8\u6b7b\u673a\uff0c\u5e94\u5f53\u4f7f\u7528bootice\u4e2d\u7ea7\u6a21\u5f0f\u7f16\u8f91bcd\uff0c\u66f4\u6539windowsbootmanager\u7684applictiondevice\u4e3a\u8be5\u8054\u901a\u786c\u789f\uff08\u574f\u4e86\u662funknowdevice\uff09\uff0c\u5e76\u4e14\u4e00\u4e2a\u95ee\u9898\u662f\u53ea\u80fd\u5f15\u5bfc\u4e00\u4e2a\u4e86\uff0c\u591a\u4e2a\u7684\u8bdd\u4e5f\u4e0d\u4f1a\u51fa\u73b0\u9009\u62e9\u754c\u9762<\/p>\n

4\u3001\u4e5f\u4e0d\u5229\u4e8e\u5907\u4efd\u67e5\u770b\u3002\u672a\u80fd\u76f4\u63a5\u7528\u865a\u62df\u673a\u6b65\u5165\u7cfb\u7edf\u4e2d\u67e5\u770b\u7cfb\u7edf\u3002<\/p>\n

\u65b9\u5f0f\u4e8c\u3001\u4f7f\u7528vmware<\/p>\n

1\u3001\u9996\u5148\u521b\u5efavhdc\u76d8\u5230\u8054\u901a\u786c\u789f\uff1a\u8ba1\u7b97\u673a\u7ba1\u7406->c\u76d8\u7ba1\u7406->\u64cd\u4f5c->\u521b\u5efavhd\uff0c30GB\uff0c\u56fa\u5b9a\u5927\u5c0f\uff0cvhd\u540e\u7f00\u3002<\/p>\n

\u5fc5\u987b\u662f\u56fa\u5b9a\u5927\u5c0f\uff0c\u52a8\u6001\u7684\u5f15\u5bfc\u8981\u7528win10\u4e13\u7528\u7a0b\u5e8f\uff0c\u4e0d\u7136\u542f\u52a8\u65f6\u4f1a\u63d0\u793avhdhostspacenotenough\u3002\u4e4b\u540e\u518d\u521d\u59cb\u5316\u4e3ambrc\u76d8\uff0c\u5206\u914dc\u76d8\u3002\u8fd9\u513f\u4e5f\u4e0d\u80fd\u662fgpt\uff0c\u7531\u4e8e\u4e0d\u597d\u5f15\u5bfc\u3002<\/p>\n

2\u3001\u6253\u5f00vmware\uff0c\u521b\u5efa\u81ea\u5b9a\u4e49\u865a\u62df\u673a:windowsx64\u7c7b\u578b\uff0cBIOS\u542f\u52a8\u65b9\u6cd5\uff0c\u5316\u5b66\u786c\u789f\uff08\u6574\u4e2ac\u76d8\uff09\u3002\u8fd9\u513f\u5316\u5b66\u786c\u789f\u9009\u62e9\u6211\u4eec\u521a\u624d\u521b\u5efa\u5e76\u6302\u8f7d\u7684c\u76d8\uff0c\u53ef\u4ee5\u8fdbc\u76d8\u7ba1\u7406\u627e\u5230\u5bf9\u5e94\u7684\u5e8f\u53f7\u3002<\/p>\n

3\u3001\u8fdb\u5165\u8bbe\u7f6e\uff0c\u9009\u62e9CD\uff0c\u6307\u5411\u5b89\u88c5ISO\u5305\u3002<\/p>\n

4\u3001\u542f\u52a8\uff0c\u7b49\u5f85\u5b89\u88c5\uff0c\u91cd\u542f\uff0c\u6b7b\u673a\u3002\u518d\u53bbc\u76d8\u7ba1\u7406\u5206\u79bbvhd\u3002<\/p>\n

5\u3001\u6253\u5f00xorboot\uff0c\u7b2c\u4e09\u4e2a\u9009\u9879\uff08uefi\u542f\u52a8\u5e8f\u5217\uff09->\u5bfc\u5165xorboot.efi<\/p>\n

6\u3001\u65b0\u5efa\u83dc\u5355\uff0c\u7c7b\u4f3c\u4e0b\u8fb9\u8fd9\u6837<\/p>\n

\u6dfb\u52a0\u5f15\u5bfc\u4ec0\u4e48\u610f\u601d_linux\u6dfb\u52a0windows\u5f15\u5bfc_\u6dfb\u52a0\u5f15\u5bfc\u9700\u8981\u52fe\u9009\u5417<\/p>\n

\u83dc\u5355\u793a\u4f8b<\/p>\n

7\u3001OK\uff0c\u5b8c\u6210\u4e86\uff0c\u53ef\u4ee5\u91cd\u542f\uff0cf12\uff0c\u9009\u62e9c\u76d8\uff0c\u9009\u62e9\u8fd9\u4e2a\u7cfb\u7edf\u542f\u52a8\u4e86<\/p>\n

8\u3001\u4f18\u70b9\uff1a\u53ef\u4ee5\u5728\u53e6\u5916\u4e00\u4e2a\u7cfb\u7edf\uff0c\u6302\u8f7dc\u76d8\uff0c\u7528BIOS\u542f\u52a8\u7c7b\u578b\u7684\u7684\u865a\u62df\u673a\u767b\u9646\u7cfb\u7edf\u3002\u53ea\u662f\u987b\u8981\u81ea\u52a8\u6269\u5bb9\uff0c\u65e0\u5927\u788d\u3002<\/p>\n

9\u3001\u53ef\u80fd\u5f00\u673a\u603b\u662f\u5f39\u51fa\u4e00\u4e2a\u54ea\u4e9b\u4f18\u5316\u63d0\u793a\uff0c\u90a3\u662f\u7531\u4e8e\u5c4f\u853d\u4e86\u672c\u5730\u786c\u789f\uff0c\u7cfb\u7edf\u4f18\u5316\u7f13\u5b58\u6ca1\u5730\u653e\uff0c\u53ef\u4ee5\u542f\u7528\u4e00\u4e2a\u672c\u673a\u76d8\u5c31\u884c\u3002\u65e0\u5927\u788d\u3002<\/p>\n

\u9644win10\u5f00\u673a\u624b\u52a8\u6302\u8f7d\u865a\u62dfc\u76d8\u7684\u65b9\u5f0f\uff1a<\/p>\n

1\u3001\u624b\u52a8\u70b9\u51fbc\u76d8\u6587\u4ef6\uff0c\u5f39\u51fa\u9519\u8bef\uff0c\u987b\u8981\u53bbc\u76d8\u7ba1\u7406\u81ea\u52a8\u8054\u673a\u5e76\u5206\u914d\u9a71\u52a8\u5668\u53f7\u3002<\/p>\n

2\u3001\u4fdd\u5b58\u4e0b\u8fb9\u4e3abat\u6587\u4ef6<\/p>\n

\n

@echo off \necho select vdisk file=A:web.vhdx >vhdsel_GLAND     \/\/ \u6307\u5b9a\u78c1\u76d8\u4f4d\u7f6e\u5373\u53ef\necho attach vdisk >>vhdsel_GLAND \necho online DISK >>vhdsel_GLAND \necho attributes disk clear readonly >>vhdsel_GLAND  \/\/ \u91cd\u590d\u6b64\u6bb5\u6dfb\u52a0\u53e6\u4e00\u4e2a\u78c1\u76d8\necho list disk >>vhdsel_GLAND   \/\/ \u540d\u79f0\u4e0d\u80fd\u548c\u5176\u4ed6\u542f\u52a8\u811a\u672c\u4e2d\u4e00\u6837\ndiskpart \/s vhdsel_GLAND \ndel \/f \/q vhdsel_GLAND \nexit\n<\/code><\/pre>\n<\/p>\n

\u8fdbwin10\u8bbe\u7f6e\uff0c\u5173\u6389\u624b\u52a8\u64ad\u653e\uff0c\u5c31\u4e0d\u4f1a\u6bcf\u6b21\u542f\u52a8\u5f39\u51fa\u8d44\u6e90\u7ba1\u7406\u5668\u4e86<\/p>\n

3\u3001\u63a7\u5236\u9762\u677f->\u7ba1\u7406\u5de5\u5177->\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\uff08\u6253\u5f00\u542f\u52a8\u4efb\u52a1\uff09\u521b\u5efa\u4efb\u52a1\u3002<\/p>\n

\u5e38\u89c4->\u9009\u62e9\u7528\u6237\u548c\u4e0d\u7ba1\u7528\u6237\u767b\u5165\u90fd\u8981\u8fd0\u884c\uff0c\u4f7f\u7528\u6700\u9ad8\u6743\u9650\u8fd0\u884c<\/p>\n

linux\u6dfb\u52a0windows\u5f15\u5bfc_\u6dfb\u52a0\u5f15\u5bfc\u9700\u8981\u52fe\u9009\u5417_\u6dfb\u52a0\u5f15\u5bfc\u4ec0\u4e48\u610f\u601d<\/p>\n

\u64cd\u4f5c->\u6dfb\u52a0bat\u6587\u4ef6<\/p>\n

\u89e6\u53d1\u5668->\u7528\u6237\u767b\u5165\u65f6\u6216\u5219\u5f00\u673a\u65f6\uff0c\u770b\u4f60\u987b\u8981<\/p>\n

\u4e09\u3001\u5b89\u88c5Linux\u5230vhd<\/p>\n

\u5b89\u88c5Linux\u5230vhd\u662f\u6bd4\u8f83\u9ebb\u70e6\u7684\uff0cLinux\u4e0d\u597d\u7684\u770b\u6559\u7a0b\u90fd\u770b\u4e0d\u61c2\u3002\u6211\u662f\u641e\u6574\u6574\u4e09\u5929\u624d\u6210\u529f\uff0c\u770b\u4e86\u65e0\u6570\u7684\u6559\u7a0b\u3002\u4e3b\u8981\u6559\u7a0b\u5730\u5740\uff1a<\/p>\n

\u5730\u57401\uff0c\u5730\u57402<\/p>\n

\u8fd9\u662f\u65e0\u5fe7\u5cf0\u4f1a\u7684niumao\u9ad8\u624b\u5199\u7684\uff0c\u8fd9\u5e94\u5f53\u76ee\u524d\u60df\u4e00\u53ef\u7528\u7684\u539f\u521b\u542f\u52a8vhd\u4e2dLinux\u7684\u6559\u7a0b\uff0c\u6211\u627e\u904d\u5168\u7f51\uff0c\u57fa\u672c\u662f\u590d\u5236\u4ed6\u7684\u65b9\u5f0f\uff0c\u5728\u7f8e\u56fd\u5cf0\u4f1a\u662f\u4e5f\u662f\u88ab\u63a8\u8350\u4e86\u8fd9\u4e2a\u7f51\u5740\uff0c\u6709\u5174\u8da3\u7684\u5144\u5f1f\u53ef\u4ee5\u53bb\u8fd9\u4e2a\u5cf0\u4f1a\u7814\u7a76\u4e00\u4e0b\u3002<\/p>\n

\u6211\u793a\u4f8b\u7528\u7684ubuntu\uff0c\u5236\u505a\u597d\u4e86\u987b\u8981\u7684\u4e24\u4e2a\u542f\u52a8\u6587\u4ef6\u4e86\uff0c\u6709\u5174\u8da3\u7684\u53ef\u4ee5\u7528\u6765\u76f4\u63a5\u7528\u3002\u4e0b\u8f7d\u5730\u5740\uff0c\u63d0\u53d6\u7801rzih\u3002\u4e0a\u9762\u4e5f\u5305\u542b\u6559\u7a0b\u548c\u6807\u51c6\u6587\u4ef6\u3002<\/p>\n

grub2\u542f\u52a8\u83dc\u5355\u5199\u6cd5\u5982\u4e0b\uff1a<\/p>\n

\n

\/\/ \u53ea\u8981\u4fee\u6539\u5bf9\u5e94\u6587\u4ef6\u4f4d\u7f6e\u5373\u53ef\u76f4\u63a5\u5f15\u5bfc\nmenuentry 'ubuntu-18.10.vhd'  --class ubuntu  {\n\tinsmod gzio\n\tinsmod part_msdos\n\tinsmod part_gpt\n\tinsmod ext2\n\tinsmod ntfs\n\tinsmod probe\n\tinsmod search\n\tsearch --no-floppy -f --set=aabbcc \/ubt\/ubt1810.vhd\n\tset root=${aabbcc}\n\tprobe -u --set=ddeeff ${aabbcc}\n\tlinux\t\/ubt\/vmlinuz-4.13.0-36-generic root=UUID=${ddeeff} kloop=\/ubt\/ubt1810.vhd kroot=\/dev\/mapper\/loop0p1 \n\tinitrd\t\/ubt\/initrd.img-4.13.0-36-generic\n}<\/code><\/pre>\n<\/p>\n

1\u3001\u4f7f\u7528grub2\u5f15\u5bfc<\/p>\n

\u4ece\u8fd9\u513f\u4e0b\u8f7dgrub2-for-windows\uff0c<\/p>\n

\u6559\u7a0b\u53c2\u8003\u770b\u8fd9\u7bc7<\/p>\n

\u5236\u505aefi\u6587\u4ef6\u7684\u65f6\u4faf\u8981\u628a\u4e0a\u83dc\u5355\u987b\u8981\u7684\u547d\u4ee4<\/a>\u6dfb\u52a0\u8fdb\u53bb<\/p>\n

\u5236\u505a\u597d\u5f15\u5bfc\u540e\u653e\u5728\u5bf9\u5e94\u7684\u76ee\u5f55\u4e0b\uff0c\u6700\u597d\u4f7f\u7528xorbootu\u83dc\u5355\uff0c\u6307\u5411\u5b83\u7684efi\u6587\u4ef6\uff0c\u4fbf\u4e8e\u548cwindows\u5f15\u5bfc\u5171\u5b58\uff0c\u76ee\u5f55\u7ed3\u6784\u4e0d\u80fd\u53d8\uff08EFI\/Boot\/bootx64.efi\u662f\u5199\u6b7b\u7684\uff09\u3002<\/p>\n

2\u3001\u5236\u4f5cvhd\u6587\u4ef6<\/p>\n

\uff081\uff09\u65b0\u5efavhd\uff0c\u56fa\u5b9a\u5927\u5c0f20gb\uff0cvhd\u7c7b\u578b\uff0c\u6302\u8f7d\uff0c\u6253\u5f00VMware\uff0c\u65b0\u5efa\u7c7b\u578b\u4e3aubuntu64\u4f4d\uff08\u4e0d\u80fd\u6ca1\u670964\uff09\uff0cBIOS\u542f\u52a8\u7c7b\u578b\uff0cc\u76d8\u4f7f\u7528\u5316\u5b66c\u76d8\uff0c\u6307\u5411\u6b64\u6574\u4e2ac\u76d8\u3002\u66f4\u6539\u914d\u7f6e\uff0cCD\u4e3aubuntu\u7684ISO\u6587\u4ef6\u3002\u5f00\u673a<\/p>\n

\uff082\uff09\u5236\u505a\u8fc7\u7a0b\u4e2d\u987b\u8981\u975e\u5e38\u6ce8\u610f\u7684\u4e00\u70b9\u662f\uff0c\u4e00\u5b9a\u4e0d\u8981\u51fa\u73b0\u903b\u8f91\u5206\u533a\uff0c\u53ea\u6709\u4e00\u4e2a\u4e3b\u5206\u533a\u5c31\u884c\u3002ubuntu16\uff0c\u82e5\u7cfb\u7edf\u624b\u52a8\u5206\u533a\uff0c\u4f1a\u6709swap\u8fd9\u4e2a\u903b\u8f91\u5206\u533a\uff0c\u6211\u66fe\u7ecf\u5c31\u662f\u8fd9\u6837\uff0c\u8e29\u4e86\u4e2a\u5751\u6d1e\u3002\u8fd9\u513f\u81ea\u52a8\u5206\u533a\uff0c\u5206\u4e00\u4e2a\u5c31\u591f\u4e86\u3002ubuntu18\uff0c\u7cfb\u7edf\u624b\u52a8\u53ea\u6709\u4e00\u4e2a\u4e3b\u5206\u533a\uff0c\u53ef\u4ee5\u624b\u52a8\u3002\u6700\u597d\u4f7f\u7528diskgenius\u5de5\u5177\u67e5\u770b\uff0c\u82e5c\u76d8\u4e0b\u53ea\u6709\u4e00\u4e2a\u76d8\u5c31OK\u3002\u81ea\u52a8\u5206\u533a\uff0c\u4f1a\u9047\u89c1\u865a\u62df\u673a\u5c4f\u5e55\u7801\u7387\u592a\u5c0f\uff0c\u6309\u952e\u88ab\u9690\u85cf\u7684\u6587\u4ef6\uff0c\u5efa\u8bae\u53bb\u7f51\u4e0a\u627e\u6837\u56fe\uff0c\u7528tab\u952e\u5206\u3002<\/p>\n

\uff083\uff09\u6700\u597d\u4f7f\u7528\u6211\u5236\u505a\u7684\u4e24\u4e2a\u6587\u4ef6\u5f15\u5bfc\u6b64ubuntu.vhd\uff0c\uff08initrd.img-4.13.0-36-generic\u548cvmlinuz-4.13.0-36-generic\uff09\uff0c\u82e5\u6210\u529f\u5219\u53ef\u4e0b\u4e00\u6b65\u81ea\u5df1\u5236\u505a\uff0c\u8fd9\u6837\u517c\u5bb9\u6027\u597d\u597d\u591a\u3002<\/p>\n

(4)\u4e09\u4e2a\u6587\u4ef6\u6700\u597d\u653e\u540c\u4e00\u76ee\u5f55<\/p>\n

\u82e5\u542f\u52a8\u5931\u8d25linux \u4e0b\u8f7d\u5de5\u5177\uff0c\u62a5\u9519init\u95ee\u9898\uff0c\u5982notinitworkingfound\uff0c\u90a3\u5c31\u53ef\u80fd\u662f\u5206\u533a\u6ca1\u5206\u597d\uff0c\u542f\u52a8\u83dc\u5355\u5f04\u9519\u4e86\u3002<\/p>\n

3\u3001\u81ea\u5df1\u5236\u505ainitrd.img\u6587\u4ef6<\/p>\n

\u65b9\u5f0f\u5982\u4e0b\uff1a<\/p>\n

\u9996\u5148\u901a\u8fc7\u865a\u62df\u673a\u6b65\u5165\u4f60\u7684ubuntu<\/p>\n

linux\u6dfb\u52a0windows\u5f15\u5bfc_\u6dfb\u52a0\u5f15\u5bfc\u9700\u8981\u52fe\u9009\u5417_\u6dfb\u52a0\u5f15\u5bfc\u4ec0\u4e48\u610f\u601d<\/p>\n

\u2460\u5728\u7ec8\u7aef\u5b89\u88c5\u5fc5\u8981\u8f6f\u4ef6sudoapt-getinstallkpartxkpartx-bootutil-linuxdmsetuplvm2\uff0c\u82e5\u8054\u7f51\u5374\u63d0\u793a\u627e\u4e0d\u5230\u8f6f\u4ef6\uff0c\u8bf7<\/p>\n

sudoapt-getupdate\u3002\u6700\u597d\u5206\u5f00\u5b89\u88c5\uff0cdmsetup\u53ef\u80fd\u662fdm-setup<\/p>\n

\u2461sudogedit\/usr\/share\/initramfs-tools\/init<\/p>\n

\u628ainit\u4e0a\u9762\u7b2c30\u884c\u7684<\/p>\n

mount-ttmpfs-o\"noexec,nosuid,size=10%,mode=0755\"tmpfs\/run<\/p>\n

\u66f4\u6539\u4e3a<\/p>\n

mount-ttmpfs-o\"noexec,size=20%,mode=0755\"tmpfs\/run<\/p>\n

\u5c31\u662f\u5220\u6389nosuid,\u9009\u9879\u3002<\/p>\n

\u9644\uff1a\u7ecf\u6d4b\u8bd5\uff0cubuntu1910\u7248\u672c\u987b\u8981\u7528\u6807\u51c6\u6587\u4ef6\u66ff\u6362\u65b9\u53ef\u3002<\/p>\n

\u2462sudogedit\/usr\/share\/initramfs-tools\/scripts\/local\uff0c\u7528\u6807\u51c6\u6587\u4ef6\u91cclocal\u7684\u66ff\u6362<\/p>\n

\u9644\uff1a1910\u7248\u4e0d\u53ef\u66ff\u6362\uff0c\u53ea\u53ef\u5bf9\u5e94\u66f4\u6539\uff0c\u91cc\u9762\u9644\u4ef6\u6709\u8bf4\u660e\u3002\u4e3b\u8981\u627e\u51c6\u4e24\u4e2a\u51fd\u6570\u7684\u76f8\u5e94\u6ce8\u91ca\u5373\u53ef\u3002<\/p>\n

\u2463sudogedit\/usr\/sbin\/mkinitramfs\u7528\u6807\u51c6\u6587\u4ef6\u91ccmkinitramfs\u7684\u66ff\u6362<\/p>\n

\u9644\uff1a1910\u7248\u4e5f\u4e0d\u80fd\u66ff\u6362\u4e86\uff0c\u5426\u5219\u7f16\u8bd1\u4e0d\u51fa\u6587\u4ef6\u6765\u3002<\/p>\n

\u2464sudogedit\/etc\/initramfs-tools\/modules<\/p>\n

\u52a0\u5165\u4ee5\u4e0b\u4e09\u884c<\/p>\n

loop<\/p>\n

fuse<\/p>\n

dm-mod<\/p>\n

\u2465\u7f16\u8bd1\u5b89\u88c5ntfs-3g<\/p>\n

\u9644\u4ef6ntfs-3g_ntfsprogs-2016.2.22.fixed\u662f\u65e9\u5df2\u66f4\u6539\u597d\u7684ntfs-3g\u6e90\u7801.<\/p>\n

\u5bf9\u4ed6\u624b\u5de5\u7f16\u8bd1\u5b89\u88c5.\u89e3\u538b\u5230\u4f60\u7684\u4e3b\u76ee\u5f55\u4e4b\u540e,\u6253\u5f00\u4e00\u4e2a\u7ec8\u7aef.\u6b65\u5165\u8be5\u76ee\u5f55.\u4f9d\u6b21\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4:<\/p>\n

.\/configure<\/p>\n

make<\/p>\n

\u6dfb\u52a0\u5f15\u5bfc\u9700\u8981\u52fe\u9009\u5417_linux\u6dfb\u52a0windows\u5f15\u5bfc_\u6dfb\u52a0\u5f15\u5bfc\u4ec0\u4e48\u610f\u601d<\/p>\n

sudomakeinstall<\/p>\n

\u2466sudogedit\/usr\/share\/initramfs-tools\/scripts\/local-bottom\/ntfs_3g\u7528\u6807\u51c6\u6587\u4ef6\u91ccntfs_3g\u7684\u66ff\u6362<\/p>\n

\u2467\u751f\u6210\uff1asudo\/usr\/sbin\/mkinitramfs-o~\/initrd.img-XXXXXXXXX-generic\/\/\u8fd9\u513fxxxx\u8bf7\u4e0e\/boot\/\u91cc\u5bf9\u5e94\u7684\u6587\u4ef6\u7248\u672c\u53f7\u4fdd\u6301\u4e00\u81f4<\/p>\n

\u4e0d\u51fa\u610f\u5916\u7684\u8bdd\u53ef\u4ee5\u5728home\u4e2d\u627e\u5230\u751f\u6210\u7684\u6587\u4ef6<\/p>\n

\uff086\uff09vmlinuz\u6587\u4ef6\u662f\/boot\/\u4e0b\u5bf9\u5e94\u7684\u90a3\u4e00\u4e2a<\/p>\n

\uff087\uff09\u5efa\u8bae\u4f7f\u7528U\u76d8\u4f20\u8f93\u6587\u4ef6\uff0c\u636e\u8bf4\u672a\u80fd\u5728\u865a\u62df\u673a\u548c\u4e3b\u673a\u4e4b\u95f4\u590d\u5236\u7c98\u8d34\u3002\u65b9\u5f0f\uff1a\u83dc\u5355\u680f->\u865a\u62df\u673a->\u53ef\u8054\u901a\u8bbe\u5907->\u4f60\u7684\u786c\u76d8->\u8054\u63a5\u3002\u53ef\u80fd\u987b\u8981\u91cd\u65b0\u62d4\u63d2U\u76d8\uff0c\u4ee5\u8054\u63a5\u3002<\/p>\n

\uff088\uff09\u8bf4\u660e\uff0c\u6211\u7684\u6807\u51c6\u6587\u4ef6\u662f\u5728niumao\u9ad8\u624b\u5206\u4eabubt-small.vhd\u4e2d\u63d0\u53d6\u7684\uff0c\u7531\u4e8e\u4ed6\u5206\u4eab\u7684\u6587\u4ef6\u4e0d\u5bf9\uff08\u53ef\u80fd\u662f\u7248\u672c\u95ee\u9898\uff09\uff0c\u76f4\u63a5\u53bb\u542f\u52a8\u5b83\u7684vhd\uff0c\u590d\u5236\u4e0b\u6765\uff0c\u66ff\u6362\uff0c\u4e5f\u662f\u53ef\u4ee5\u7684\u3002<\/p>\n

\u56db\u3001\u5b89\u88c5centos\u7b49\u5230vhd\u65b9\u5f0f\u4e00\u3001<\/p>\n

\u5148\u5236\u505a\u597dvhd\u6587\u4ef6\uff0ccentos\u5206\u4e09\u4e2a\u533a\uff0c\u4e0d\u8981\u6709lvm\u5206\u533a\uff0cswap\u4e5f\u5206\u6210\u6807\u51c6\u5206\u533a\uff08\u4e3b\u5206\u533a\uff09\uff0c\u63d0\u53d6\u51fa\u91cc\u9762ubuntu\u7684lib\/modules\u4e0b\u7684xxxxxx.generic\u6587\u4ef6\u5939\uff08\u5148\u538b\u7f29\u518d\u89e3\u538b\uff09\uff0c\u518d\u653e\u8fdbcentos\u7684lib\/modules\/\u4e0a\u9762\u3002\u6211\u4e5f\u5206\u4eab\u4e86\u4e00\u4e2a\u53ef\u4ee5\u76f4\u63a5\u7528\u7684\u63d0\u53d6\u7801\uff1als5l<\/p>\n

\u91cc\u9762\u7684\u5f15\u5bfc\u83dc\u5355\u53ea\u9700\u6539\u5bf9\u5e94\u6587\u4ef6\u548ckroot=\/dev\/mapper\/loop0p2\uff08\u8fd9\u4e2a2\u5e94\u5f53\u6539\u4e3a\u4f60\u7684\u6839\u5206\u533a\u201c\/\u201d\u6240\u5728\u6b21\u5e8f\uff0c\u82e5\u4f60\u5206\u4e86\u4e09\u4e2a\u4e3b\u5206\u533a\uff0c\u6839\u5206\u533a\u5728\u4e2d\u95f4\u5c31\u662f2\uff0c\u4f7f\u7528diskgenius\u5373\u53ef\u67e5\u770b\u6839\u5206\u533a\u7684\u4f4d\u7f6e\uff09\uff0c\u4e0b\u8fb9\u8d34\u51fa\u6211\u7684\u83dc\u5355\uff08class\u53ef\u6362\u53ef\u4e0d\u6362\uff09<\/p>\n

\n

\nmenuentry 'centos 7'  --class centos  {\n\tinsmod gzio\n\tinsmod part_msdos\n\tinsmod part_gpt\n\tinsmod ext2\n\tinsmod ntfs\n\tinsmod probe\n\tinsmod search\n\tsearch --no-floppy -f --set=aabbcc \/centos\/centos7.vhd\n\tset root=${aabbcc}\n\tprobe -u --set=ddeeff ${aabbcc}\n\tlinux\t\/centos\/vmlinuz-4.13.0-36-generic root=UUID=${ddeeff} kloop=\/centos\/centos7.vhd kroot=\/dev\/mapper\/loop0p2 \n\tinitrd\t\/centos\/initrd.img-4.13.0-36-generic\n}<\/code><\/pre>\n<\/p>\n

ps\uff1acentos\u4e0d\u652f\u6301ntfs\uff0c\u6240\u4ee5U\u76d8\u4f4e\u683c\u4e3afat\u5373\u53ef\uff0cfat\u4e0d\u652f\u6301\u54ea\u4e2a\u6587\u4ef6\u5939\u4e2d\u7684\u6570\u636e\u7c7b\u578b\uff0c\u6240\u4ee5\u987b\u8981\u53d8\u4e3a\u538b\u7f29\u6587\u4ef6\u3002<\/p>\n

\u82e5VMware\u4e2d\u7801\u7387\u592a\u4f4e\uff0c\u4e0d\u59a8\u53f3\u952e\u7a0b\u5e8f\u56fe\u6807\uff0c\u8bbe\u7f6e\u8c03\u6574\u89c6\u56fe\u5c5e\u6027\u3002<\/p>\n

centos\u5b89\u88c5\u65f6\u628a\u8f6f\u4ef6\u5168\u94a9\u4e86\u4e5f\u53ea\u970010g\u7684\u7a7a\u95f4\uff0c\u5efa\u8bae\u5168\u94a9\u4e86\uff0c\u4e0d\u7136\u4ee5\u540e\u5b89\u88c5\u5c31\u5f88\u9ebb\u70e6\uff0c\u6bd4\u5982\u56fe\u5f62\u754c\u9762\u3002<\/p>\n

\u7531\u4e8e\u8fd8\u9700\u8bbe\u7f6e\u8fd9\u4e2a\u6587\u4ef6\u5939\u7684\u6743\u9650\u4e3a755\uff0c\u83dc\u9e1f\u5efa\u8bae\u7528root\u7528\u6237\u64cd\u4f5c\uff0c\u9ed8\u8ba4755.<\/p>\n

\u9644\uff1acentos\u5206\u533a\u82e5\u63d0\u793apartition\u3002\u3002\u7a7a\u95f4\u4e0d\u8db3\u3002\uff0c\u3002\u3002core.img\u3002\u90a3\u53ef\u80fd\u662f\u987b\u8981\u5220\u9664\u4e0b\u8fb9\u7684\u4e00\u4e2a\u672a\u77e5\u5206\u533a<\/p>\n

\u65b9\u5f0f\u4e8c<\/p>\n

\u89c1\u5206\u4eab\u6559\u7a0bfedora\uff0c\u662f\u53ef\u4ee5\u7ed9centos\u7528\u7684\uff0c\u6211\u8bd5\u4e86\uff0c\u6ca1\u76f4\u63a5\u8f6c\u79fb\u4e00\u4e2a\u538b\u7f29\u6587\u4ef6\u4fbf\u6377linux\u6dfb\u52a0windows\u5f15\u5bfc<\/strong>\uff0c\u4e0d\u4ecb\u7ecd\u4e86\u3002<\/p>\n

\u5176\u4ed6Linux<\/p>\n

\u4e0e\u6280\u5de7\u4e00\u4e00\u6837\u66ff\u6362\u5373\u53ef<\/p>\n

\u4e94\u3001\u6700\u540e<\/p>\n

1\u3001\u628a\u6240\u6709\u7cfb\u7edf\u90fd\u5f04\u6210\u4e00\u4e2a\u6587\u4ef6\uff0c\u65e0\u9700\u4f4e\u683cU\u76d8\uff0c\u662f\u4e0d\u662f\u5fc3\u60c5\u5f88\u8212\u7545\u3002\u5230\u8fd9\u513f\u6211\u4eec\u5c31\u6210\u529f\u7684\u628awin10\u3001ubuntu\u3001centos\u6210\u529f\u88c5\u8fdbvhd\uff0c\u653e\u8fdb\u786c\u76d8\uff0c\u4f46\u662f\u786c\u76d8\u65e0\u9700\u6539\u52a8\uff0c\u53ef\u4ee5\u4fbf\u6377\u7684\u5907\u4efd\uff0c\u590d\u5236\uff0c\u53ef\u4ee5\u4fbf\u6377\u7684\u771f\u673a\u767b\u9646\u548c\u865a\u62df\u673a\u767b\u9646\uff0c\u4e5f\u53ef\u4ee5\u4fbf\u6377\u7684\u5347\u7ea7\u3002\u76f4\u63a5\u628a\u5b89\u88c5\u5230\u786c\u76d8\uff0c\u901a\u5e38\u53ea\u80fd\u88c5\u4e00\u4e2a\u7cfb\u7edf\uff0c\u5e76\u4e14\u5347\u7ea7\u7684\u8bdd\u5927\u51e0\u7387\u4f1a\u4f7f\u7cfb\u7edf\u5e9f\u4e86\uff0c\u88c5\u8fdbvhd\u5347\u7ea7\u6ca1\u95ee\u9898\u7684\u3002\uff08ps:\u6709\u4e9b\u670b\u53cb\u559c\u6b22\u7981\u7528win10\u624b\u52a8\u66f4\u65b0\uff0c\u5047\u5982\u53ea\u662f\u4e25\u7981\u542f\u52a8\u7684\u8bdd\u662f\u6ca1\u7528\u7684\uff0cwin10\u8fd8\u662f\u4f1a\u5f3a\u5236\u66f4\u65b0\uff0c\u800c\u7981\u7528\u624b\u52a8\u542f\u52a8\u4f1a\u9020\u6210\u66f4\u65b0\u5931\u8d25\uff0c\u5e76\u6570\u6b21\u91cd\u542f\u8fd8\u539f\uff0c\u4e4b\u540e\u53c8\u662f\u66f4\u65b0\uff0c\u8fd9\u65f6\u5e94\u5f53\u5f00\u542f\u624b\u52a8\u66f4\u65b0\u670d\u52a1\uff09<\/p>\n

2\u3001\u53ef\u4ee5\u5c06\u865a\u62df\u673a\u4f7f\u7528\u6574\u4e2a\u8054\u901a\u786c\u789f\u8fdb\u884c\u542f\u52a8\u6d4b\u8bd5linux\u6dfb\u52a0windows\u5f15\u5bfc<\/strong>\uff0c\u5e76\u4e14efi\u5206\u533a\u5f97\u628aID\u6539\u56de\u53bb<\/p>\n

\u6dfb\u52a0\u5f15\u5bfc\u4ec0\u4e48\u610f\u601d_\u6dfb\u52a0\u5f15\u5bfc\u9700\u8981\u52fe\u9009\u5417_linux\u6dfb\u52a0windows\u5f15\u5bfc<\/p>\n

3\u3001\u82e5\u60f3\u8ba9\u8054\u901a\u56fa\u6001\u786c\u789f\u6210\u4e3a\u7b2c\u4e00\u542f\u52a8\u9879\uff0c\u800c\u4e0d\u7528\u6bcf\u6b21\u6309f12\u9009\u62e9\uff0c\u5efa\u8bae\u4f7f\u7528bootice\uff0c\u66f4\u6539ufei\u542f\u52a8\u5e8f\u5217\uff0c\u81ea\u5df1\u8fdbBIOS\u66f4\u6539\u53ef\u80fd\u4f1a\u65e0\u6548\u3002<\/p>\n

4\u3001\u7981\u7528win10\u624b\u52a8\u66f4\u65b0\u7684\u65b9\u5f0f\uff1a\u8bbe\u7f6e->\u7f51\u8def\u548cInternet->\u72b6\u6001->\u4fee\u6539\u8054\u63a5\u5c5e\u6027->\u5f00\u542f'\u6309\u6d41\u91cf\u8ba1\u8d39\u7684\u94fe\u63a5'<\/p>\n

\u76ee\u524d\u8fd9\u65b9\u9762\u7684\u6559\u7a0b\u6bd4\u8f83\u5c11\u89c1\uff0c\u6211\u5199\u7684\u4e5f\u6bd4\u8f83\u4ed3\u4fc3\uff0c\u4e0d\u61c2\u7684\u5144\u5f1f\u53ef\u4ee5\u627e\u6211\uff0c\u5047\u5982\u8ba4\u4e3a\u6709\u5e2e\u52a9\u6216\u5219\u6709\u4e0d\u597d\u7684\u5730\u65b9\uff0c\u8fd8\u8bf7\u7559\u8a00\uff0c\u8bc4\u8bba\uff0c\u8c22\u8c22\u3002<\/p>\n

\u8865\u5145\uff1a\u8fd1\u6765\uff082019\/4\/26\uff09\u5b9e\u73b0\u52a8\u6001\u5927\u5c0f\u7684vhdx\u88c5\u7cfb\u7edf\uff0c\u539f\u5148\u53ea\u9700\u66f4\u6539\u6ce8\u518c\u8868\u9879\u5c31\u884c\u4e86\uff0c[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesFsDependsParameters]\"VirtualDiskExpandOnMount\"\u4ece1\u6539\u4e3a4\uff0c\u5c31\u4e0d\u4f1a\u63d0\u793avhd\u7a7a\u95f4\u4e0d\u8db3\uff0c\u7f18\u7531\u662f\u52a8\u6001vhd\u5f15\u5bfc\u65f6\u4e3a\u4e86\u6027\u80fd\uff0c\u4f1a\u6269\u5f20\u5230\u6700\u5927\u5927\u5c0f\uff0c\u53c2\u8003\u8c37\u6b4c\u539f\u6587\u3002\u518d\u8bf4\u660e\u4e0b\u5b89\u88c5\u65f6\u9009\u865a\u62df\u673ax64\u914d\u7f6e\uff0cuefi\u5bf9\u5e94gptc\u76d8\uff0c\u865a\u62dfc\u76d8\u65b0\u5efa\u65f6\u5e94\u5f53\u4f7f\u7528diskgenius\u91cd\u65b0\u5feb\u901f\u5206\u533a\uff0c\u8981\u6709esp\u5206\u533a\uff0cc\u76d8\u7ba1\u7406\u5668\u5206\u4f1a\u96be\u4ee5\u5b89\u88c5\uff1bbios\u5bf9\u5e94mbr\uff0c\u5c31\u4e0d\u80fd\u7528diskgenius\u5206\uff0c\u53ea\u80fdc\u76d8\u7ba1\u7406\u5668\u3002\u73b0\u4eca\u5c31\u4fbf\u6377\u597d\u591a\u4e86\uff0c\u521d\u59cb\u5bb9\u79ef\u51cf\u5c0f\u5927\u534a\uff0c\u53ef\u4ee5\u4fbf\u6377\u7684\u5dee\u5206\u3002<\/p>\n

\u8865\u5145\uff1a\u53ef\u4ee5\u4f7f\u7528xorbootu\u5f15\u5bfc\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u539fwindows\u5f15\u5bfc\u6587\u4ef6\uff0c\u5982\u4ece\u53ef\u7528win10\u7cfb\u7edf\u7684efi\u5206\u533a\u7167\u79fb\uff08\u5982gpt\u865a\u62df\u673ac\u76d8\uff09\uff0c\u539fbootx64.efi\u66f4\u540d\uff0c\u65b0\u5efa\u5f15\u5bfc\u9879\u6307\u5411\u5b83\uff0c\u539fBCD\u5220\u6389\uff0c\u65b0\u5efa\u4e00\u4e2a\uff0c\u6dfb\u52a0\u5404\u7c7b\u542f\u52a8\u9879\u3002\u4e0d\u77e5\u4e3a\u4ec0\u4e48win\u542f\u52a8\u7ba1\u7406\u5668\u754c\u9762\u7f16\u7a0b\u8001\u7248\u9ed1\u767d\u7684\uff0c\u4e0d\u662f\u65b0\u7248\u9ed1\u8272\u7684\uff0c\u8bd5\u4e86\u51e0\u6b21\u6539\u4e0d\u56de\u53bb\uff0c\u4e0d\u8fc7\u4e5f\u597d\uff0c\u8001\u7248\u7684\u4e0d\u8981\u9009\u53d6\u540e\u91cd\u65b0\u542f\u52a8\u673a\u5668\u3002<\/p>\n

\u8865\u5145\uff1avhd+bitlocker\u662f\u5341\u5206\u4e0d\u9519\u7684\u6587\u4ef6\u4fdd\u62a4\u65b9\u6cd5<\/p>\n

5\u3001\u6700\u8fd1\uff082020\/03\/02\uff09\u53c8\u7f16\u8bd1\u4e86\u4e00\u6b21\u5185\u6838\uff0c\u5e76\u4fee\u6b63\u4e86\u4e00\u4e0b\u672c\u6559\u7a0b\u3002\u867d\u71361910\u7528\u539f\u5148\u7684\u5185\u6838\u4e5f\u80fd\u542f\u52a8\u3002\u53ea\u662f\u542f\u52a8\u8fc7\u7a0b\u7684\u547d\u4ee4\u884c\u62a5\u4e2a\u7ea2\u70b9\uff0c\u6ca1\u54ea\u4e9b\u4e8b\u3002\u6700\u65b0\u7684\u6ca1\u6709\uff0c\u5168\u662f\u7ea2\u8272\u3002\u4e0d\u8fc7\u5173\u673a\u7684\u65f6\u4faf\u4f1a\u61622\u79d2<\/p>\n

6\u3001\u6700\u8fd1(2020\/4\/26)\uff0cubuntu20.04ltsl\u7248\u672c\u53d1\u5e03\uff0c\u5728\u7f16\u8bd1\u5185\u6838\u65f6\uff0c\u6709\u51e0\u70b9\u6ce8\u610f\u5373\u53eflinux\u73af\u5883\u53d8\u91cf\uff0cntfs-3g\u53ef\u75282017\u7248\u672c\uff0cinit\u6587\u4ef6\u987b\u8981\u76f4\u63a5\u66ff\u6362\uff0c\u5047\u5982\u53ea\u66f4\u6539nousid\u5c06\u96be\u4ee5\u542f\u52a8\uff0cmkinitramfs\u6ca1\u6709#util-linux\uff0c\u4f46\u5b83\u91cc\u9762\u7684\u4ee3\u7801\u6ca1\u53d8\uff0c\u7c98\u8d34\u5168\u90e8\u5373\u53ef\uff0clocal\u5bf9\u7167\u66f4\u6539\u5373\u53ef\u3002<\/p>\n

\u8fd8\u6709\u786c\u789f\u683c\u5f0f\u8bb0\u5f97\u662fmbr\uff0cubuntu20\u624b\u52a8\u5206\u4f1a\u5f62\u6210\u903b\u8f91\u5206\u533a\uff0c\u5fc5\u987b\u81ea\u52a8\uff0c\u81ea\u52a8\u4f1a\u53d1\u751f\u865a\u62df\u673a\u91cc\u7801\u7387\u592a\u5c0f\u7684\u95ee\u9898\uff0c\u4e0a\u4e00\u6b65\u52fe\u9009\u5b89\u88c5\u56fe\u5f62\uff0c\u5a92\u4f53\u9009\u9879\u5373\u53ef\u3002<\/p>\n

\u5728\u5b9e\u9645\u4f7f\u7528\u8fc7\u7a0b\u4e2d\uff0cubuntu1910\u548c20.04\uff0c\u90fd\u51fa\u73b0\u4e86cpu\u8fd0\u884c\u9ad8\u65f6\u4f1a\u5173\u673a\u7684\u73b0\u8c61\uff0c\u6700\u540e\u6211\u901a\u8fc7\u5728\u672c\u5730c\u76d8\u4e0a\u5b89\u88c5\u597d\u7cfb\u7edf\u548c\u8f6f\u4ef6\uff0c\u4e4b\u540e\u5728\u865a\u62df\u673a\u4e2d\u5907\u4efd\uff0c\u5e76\u8fd8\u539f\u5230vhd\u4e2d\uff0c\u53ef\u4ee5\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u5047\u82e5\u8fd8\u539f\u7684\u662f\u5168\u65b0\u7684\u7cfb\u7edf\uff0c\u540e\u7eed\u88c5\u8f6f\u4ef6\u8fd8\u662f\u6709\u8be5\u95ee\u9898\uff0c\u5e94\u5f53\u662f\u5b89\u88c5\u8f6f\u4ef6\u65f6\u6709\u95ee\u9898\uff0c\u4e5f\u60f3\u4e0d\u5230\u4e3a\u4f55\uff0c\u7531\u4e8e\u6211\u7684\u8f6f\u4ef6\u57fa\u672c\u662f\u89e3\u538b\u6587\u4ef6\u5939\u91cc\u76f4\u63a5\u8fd0\u884c\u7684\uff0c\u83ab\u975e\u662fvscode\uff0cgoogle\uff0cnodejs\uff0cmeteor\uff1f\uff0cubuntu18\u6ca1\u6709\u8fd9\u4e2a\u95ee\u9898\uff0c\u53ef\u80fd\u662finit\u6587\u4ef6\u5f62\u6210\u7684\u95ee\u9898\u3002\u8fd8\u6709wifi\u9a71\u52a8\uff0c\u5728\u5316\u5b66c\u76d8\u4e0a\u5c31\u4e0d\u7ed9\u6211\u624b\u52a8\u88c5\u597d\uff0c\u5e72\u8106\u76f4\u63a5\u7528\u7f51\u7ebf\u3002<\/p>\n

\u9644\u5907\u4efd\u547d\u4ee4\uff1a<\/p>\n

\u5728\u865a\u62df\u673a\u4e2d\u542f\u52a8\u5176\u4ed6ubuntu\uff0c\u5907\u4efd\u672c\u5730c\u76d8\u4e0a\u7684ubuntu\uff0c\u6700\u597d\u5148\u6e05\u7a7a\u7f13\u5b58\u548c\u5783\u573e\uff1a<\/p>\n

\n

$ tar cvpzf .\/backup.tgz --exclude=.\/proc --exclude=.\/lost+found --exclude=.\/backup.tgz --exclude=.\/mnt --exclude=.\/sys --exclude=.\/media .\/<\/code><\/pre>\n<\/p>\n

\u6700\u540e\u4f1a\u63d0\u793a\uff0ctar:Errorexitdelayedfrompreviouserrors\uff0c\u5ffd\u89c6\u5373\u53ef\u3002<\/p>\n

\u8fd8\u539f\uff0c\u4e5f\u662f\u5728\u5176\u4ed6\u865a\u62df\u673a\u4e0a\uff1a<\/p>\n

\u5728\u8981\u8fd8\u539f\u7684c\u76d8\u4e0a\uff1a<\/p>\n

\n

sudo rm -rf  .\/<\/code><\/pre>\n<\/p>\n

\n

sudo tar xvpfz \/backup.tgz  .\/ <\/code><\/pre>\n<\/p>\n

\u91cd\u5efa\u6587\u4ef6\u5939\uff1a<\/p>\n

\n

 sudo mkdir proc lost+found mnt sys media<\/code><\/pre>\n<\/p>\n

\u5373\u53ef\u3002<\/p>\n

7\u3001\u5207\u6362\u4e0d\u540c\u5382\u5bb6cpu\u7684\u7b14\u8bb0\u672c\u65f6\u53ef\u80fd\u9047\u89c1AMDRyzenMasterDriver.sys\u9020\u6210\u7684\u6b7b\u673a\uff0c\u9996\u5148\u5728\u865a\u62df\u673a\u4e2d\u542f\u52a8\u6216\u5b89\u5168\u6a21\u5f0f\u6b65\u5165\u7cfb\u7edf\uff0c\u547d\u4ee4\u884c\u8f93\u5165driverquery\uff0c\u67e5\u770b\u6240\u6709\u9a71\u52a8\uff0c\u53ef\u4ee5\u627e\u5230\u8fd9\u4e2a\uff0camdcpu\u5f00\u6838\u9a71\u52a8\u3002\u4e4b\u540e\u5c1d\u8bd5sfc\/scannow\u4fee\u8865\uff0c\u6216\u5b89\u88c5\u9c81\u5927\u5e08\uff0c\u9a71\u52a8\u7cbe\u7075\u4fee\u8865\uff0c\u5220\u6389\u9a71\u52a8\u3002<\/p>\n

8\u3001\u9009\u62e9\u865a\u62df\u673a\u8bb0\u5f97windows10x64\u7c7b\u578b\uff0c\u5426\u5219\u5c31\u662f32\u4f4d\u4e86\uff0c\u4f46\u662f\u4e0d\u80fd\u4f7f\u7528UEFI\u5f15\u5bfc\uff0c\u7cfb\u7edf\u786c\u789f\u5bb9\u91cf\u6700\u5927\u5c06\u4e0d\u80fd\u8d85\u8fc72T<\/p>\n

9\u3001\u5f00\u865a\u62df\u673a\u603b\u663e\u793a\u786c\u789f\u88ab\u5360\u7528\uff0c\u53ef\u4ee5\u5ef6\u540e\u6302\u8f7dvhd\u548c\u6302\u8f7d\u4ee5\u540e\u7b49\u4e2a\u51e0\u5206\u949f<\/p>\n","protected":false},"excerpt":{"rendered":"

10\u3001vhd\u6587\u4ef6\u6269\u5bb9\u6559\u7a0b\u636e\u6b64\u52a0\u8f7d\u6307\u5b9a\u5206\u533a\u7684windows\/system\/winload.efi\u6587\u4ef6\uff0c\u542f\u52a8\u7cfb\u7edfx64\u7c7b\u578b\uff0cBIOS\u542f\u52a8\u65b9\u5f0f\uff0c\u7269\u7406\u786c\u76d8\uff08\u6574\u4e2a\u78c1\u76d8\uff09\u3002\u4e09\u3001\u5b89\u88c5Linux\u5230vhd\u4fee\u6539\u914d\u7f6e\uff0cCD\u4e3aubuntu\u7684ISO\u6587\u4ef6\u3002<\/p>\n","protected":false},"author":1,"featured_media":293572,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[3527],"class_list":["post-293571","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-wydypydqd"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=293571"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293571\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/293572"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=293571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=293571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=293571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}