Sorry for my bad english.
Hi there, I've been searchinf for information about how to virtualise windows installed in the hard drive with linux and how runs it inside linux and i learnt this code to create the virtual disk from one real
But the problem is that Windows is installed in sda and ubuntu in sdb like this.
![]()
![]()
Soooo, how do I do that?
That's the error with...
![]()
And that's the error with...
![]()
I think the problem is that a i need bot hard disk in the new virtual disk but how to do it?
thanks in advance.
Hi there, I've been searchinf for information about how to virtualise windows installed in the hard drive with linux and how runs it inside linux and i learnt this code to create the virtual disk from one real
Code:
sudo VBoxManage internalcommands createrawvmdk -filename windows.vmdk -rawdisk /dev/sda
Code:
raul@raul-desktop:~$parted
(parted)print all
Modelo: ATA SanDisk SDSSDP12 (scsi)
Disco /dev/sda: 128GB
Tamaño de sector (lógico/físico): 512B/512B
Tabla de particiones. gpt
Numero Inicio Fin Tamaño Sistema de archivos Nombre Flags
1 1049kB 316MB 315MB ntfs Basic data partition oculta, diag
2 316MB 420MB 105MB fat32 EFI system partition arranque
3 420MB 555MB 134MB Microsoft reserved partition msftres
4 555MB 128GB 127GB ntfs Basic data partition
Modelo: ATA WDC WD10EZRX-00A (scsi)
Disco /dev/sdb: 1000GB
Tamaño de sector (lógico/físico): 512B/4096B
Tabla de particiones. gpt
Numero Inicio Fin Tamaño Sistema de archivos Nombre Flags
1 17,4kB 134MB 134MB Microsoft reserved partition msftres
2 135MB 486GB 486GB ntfs Basic data partition
6 486GB 486GB 210MB ext2 arranque
7 486GB 501GB 15,3GB ext4
8 501GB 518GB 16,6GB ext4
4 518GB 518GB 315MB ext2 arranque
3 518GB 992GB 473GB ext4
5 992GB 1000GB 8590MB linux-swap(v1)


Soooo, how do I do that?
That's the error with...
Code:
sudo VBoxManage internalcommands createrawvmdk -filename windows.vmdk -rawdisk /dev/sda

And that's the error with...
Code:
sudo VBoxManage internalcommands createrawvmdk -filename windows.vmdk -rawdisk /dev/sdb

I think the problem is that a i need bot hard disk in the new virtual disk but how to do it?
thanks in advance.