我想将磁盘 0 脱机放在 Windows 10 上,因为我想通过 Hyper-V 启动 Linux 的物理安装,但 Windows 拒绝这样做

我想将磁盘 0 脱机放在 Windows 10 上,因为我想通过 Hyper-V 启动 Linux 的物理安装,但 Windows 拒绝这样做

我的电脑上有双启动 Win10 和 Debian。我想使用 Hyper-V 在 Win10 中启动 Debian。我遇到了这个问题:

无法在 Windows 10 上将磁盘 0 置于脱机状态

和这个 :

https://superuser.com/a/674714/519592

我读到,如果我想在 Hyper-V 中使用 Linux 的物理安装,我应该将安装 Debian 的磁盘 0 脱机,但 Windows 10 拒绝这样做。这是我的计算机的磁盘结构:

图片

我想将 disk0 置于离线状态,因为 103.51 GB 的分区包含我想要使用 hyper-v 启动的 Debian 安装。

我尝试了几种方法:

1) Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

PS C:\Users\Mario Zio> set-disk 0 -isOffline $true
set-disk : Operation not supported on a critical disk.
Activity ID: {a7af4f39-1847-4ec4-9c26-85605f61ba5b}
At line:1 char:1
+ set-disk 0 -isOffline $true
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (StorageWMI:ROOT/Microsoft/..._StorageCmdlets) [Set-Disk], CimException
    + FullyQualifiedErrorId : StorageWMI 41009,Set-Disk

2)在safe mode with networking:无

3)禁用磁盘 0 的页面文件,但它并未启用,如您在此处所见:

2

4) 之前我安装了该工具Ext2Mgr system driver for Windows。我认为它可以保持驱动器 0 锁定,但我将其移除并重新启动计算机,但驱动器 0 仍然无法脱机。

5)其他想法?

更新 :

由于未知原因,它不再起作用。我已启用 hyper-v,但它显示 Linux 虚拟机无法启动。检查所附的屏幕截图:

1)1 2)2 3)3 4)4 5)5

答案1

解决方案:bcdedit /set hypervisorlaunchtype auto

相关内容