Reinstall Bootcamp Windows from OSX VirtualBox

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Reinstall Bootcamp Windows from OSX VirtualBox

Post by Antonio Linares »

I ran diskutil list to get a list of drives on my system, taking note of the drive number of the drive named EFI and the other one named BOOTCAMP, which in my case, the EFI drive was 1 and the BOOTCAMP drive was 3

diskutil unmount /Volumes/BOOTCAMP
sudo chmod 777 /dev/disk0s1 <--- This is the drive no. of the EFI disk
sudo chmod 777 /dev/disk0s3 <--- This is the drive no. of the BOOTCAMP disk
sudo chmod 777 /dev/disk0

sudo VBoxManage internalcommands createrawvmdk -rawdisk /dev/disk0 -filename win10raw.vmdk -partitions 1,3
sudo chmod 777 win10*

ls -l
-rwxrwxrwx 1 root staff 37376 Sep 16 18:22 win10raw-pt.vmdk
-rwxrwxrwx 1 root staff 754 Sep 16 18:28 win10raw.vmdk

http://web.archive.org/web/201811030742 ... -camp.html

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Reinstall Bootcamp Windows from OSX VirtualBox

Post by Antonio Linares »

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply