Inicie o Windows na máquina virtual a partir da partição real do disco rígido

4

Existe alguma máquina virtual no Linux que possa iniciar o Windows (XP) a partir da partição real do disco rígido, e não da imagem de emulação?

    
por user20272 20.10.2009 / 11:25

4 respostas

4

Os produtos VMWare podem mapear discos físicos para discos virtuais, tanto no Linux quanto no Windows:

link

Physical disk

— A hard disk in a virtual machine that is mapped to a physical disk drive or a partition of a drive on the host machine. A physical disk is also referred to as a raw disk. A virtual machine's disk can be stored as a file on the host file system (see Virtual disk) or on a local hard disk. When a virtual machine is configured to use a physical disk, VMware Workstation directly accesses the local disk or partition as a physical device (not as a file on a file system). It is possible to boot a previously installed operating system on an existing partition within a virtual machine environment. The only limitation is that the existing partition must reside on a local IDE or SCSI drive.

    
por 20.10.2009 / 11:32
3

Em xen, você pode usar o dispositivo e fornecê-lo diretamente ao seu convidado. Você pode usar o lvm:

disk        = [
                  'phy:/dev/volg1/thedisk,sda1,w',
                  'phy:/dev/volg1/theswap,sda2,w',
              ]

ou diretamente uma partição do disco rígido:

disk        = [
                  'phy:/dev/sda1,sda1,w',
              ]

você também pode dar um disco completo a um convidado e deixá-lo dividi-lo:

disk        = [
                  'phy:/dev/sdb,sdb,w',
              ]
    
por 20.10.2009 / 14:08
1

Mais fácil: sudo qemu /dev/sdX lançará uma máquina virtual a partir de um disco real;) qemu é um software livre, normalmente presente nos repositórios da sua distro

    
por 20.10.2009 / 16:05
0

KVM e Xen podem fazer isso - basta apontar a VM na partição física.

    
por 20.10.2009 / 12:47