V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
sn0wdr1am
V2EX  ›  MacBook Pro

如何在 mac 下的 Windows 中开启虚拟化?

  •  
  •   sn0wdr1am · 93 天前 · 1333 次点击
    这是一个创建于 93 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如题;

    在 macbook 上安装了 Windows 11 。(双系统)

    然后,尝试在 Windows 11 上安装 Docker 的时候,遇到一个问题:虚拟化被禁用。

    看了几篇博客,感觉操作复杂、

    1. 如何在装有 Windows 的 Mac 中开启固件虚拟化
    https://blog.csdn.net/m0_51082586/article/details/121293318

    2.macOS 系统和 mac 装 Windows 系统开启虚拟化
    https://blog.csdn.net/Nbin_Newby/article/details/120307866

    大家有没有更好的解决方案?
    9 条回复    2024-01-27 13:41:47 +08:00
    sn0wdr1am
        1
    sn0wdr1am  
    OP
       93 天前
    操作日志:

    PS C:\Users\snowdream> wsl --install
    Ubuntu 已安装。
    正在启动 Ubuntu...
    Installing, this may take a few minutes...
    WslRegisterDistribution failed with error: 0x80370102
    Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
    For information please visit https://aka.ms/enablevirtualization
    Press any key to continue...
    ShadowPower
        2
    ShadowPower  
       93 天前
    Intel Mac:
    打开 PD 的 nested 虚拟化
    https://download.parallels.com/desktop/v12/docs/zh_CN/Parallels%20Desktop%20User%27s%20Guide/37830.htm

    Apple Silicon Mac:
    无解……
    zhaidoudou123
        3
    zhaidoudou123  
       93 天前
    m2 系列好像是硬件支持 nested virtualization 了
    但是呢,macOS 并没有支持😂
    sn0wdr1am
        4
    sn0wdr1am  
    OP
       93 天前
    Intel Mac

    不是用虚拟机 PD 安装的 Windows ,是直接在 macbook 上的硬盘上开一个分区,安装的 Windows 11.
    sn0wdr1am
        5
    sn0wdr1am  
    OP
       93 天前
    wsl --set-default-version 1

    通过降级,成功安装了 wsl 1 。
    但是,Docker 还是启动不起来。
    zhaidoudou123
        6
    zhaidoudou123  
       93 天前
    但是你的需求貌似是 bootcamp 环境下的,我认为只能按照你说的几个文章来进行
    gsy20050126
        7
    gsy20050126  
       93 天前
    macbook 2019 ,安装 windows 后默认虚拟化开启,你可以尝试完全重装 windows ,不保留 macos 。
    sn0wdr1am
        8
    sn0wdr1am  
    OP
       92 天前
    采用了 refind 方案,虚拟化已开。

    走起~

    2.macOS 系统和 mac 装 Windows 系统开启虚拟化
    https://blog.csdn.net/Nbin_Newby/article/details/120307866
    MiketsuSmasher
        9
    MiketsuSmasher  
       91 天前 via Android
    既然跑 Docker ,为什么不一步到位,直接用 Linux 虚拟机呢?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1286 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:43 · PVG 01:43 · LAX 10:43 · JFK 13:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.