I Have Arch And Windows 10 Installed on Same Disk Shown as Below (MBR\BIOS)
Code: Select all
sda 8:0 0 698.7G 0 disk
├─sda1 8:1 0 500M 0 part ### Windows Boot (First Drive)
├─sda3 8:3 0 141.7G 0 part ### Windows Partition
├─sda5 8:5 0 500M 0 part /boot
├─sda6 8:6 0 40G 0 part /
├─sda7 8:7 0 250G 0 part /home
├─sda8 8:8 0 16G 0 part [SWAP]
└─sda9 8:9 0 250G 0 part ### Extra NTFS
and want to be able to boot in Windows 10 Via VirtualBox in Linux?
Any Step By Step Tut?
I Know This First:
Code: Select all
#Getting Original MBR
sudo dd if=/dev/sda of=Windows10RAW.mbr count=1 bs=512
#Create Raw Disk From Windows Boot & Root Partition
sudo VBoxManage internalcommands createrawvmdk -filename Windows10RAW.vmdk -rawdisk /dev/sda -mbr Windows10RAW.mbr -partitions 1,3
1. Which Drivers Should I Remove from windows or Do i need to?
2. How to preserve licensing?
3. Risks & Cushions?
4. How to ProvideVirtualbox, Disk Access with my user, Without Risking Other Partitions being modified?
5. How to Hide Windows Boot + Windows Root Partitions from file manager to avoid accidental mount? or at least promt warning that is in use by vbox
6. How to create a grub iso for virtualbox that only boot to windows not linux
for #6 i found this but i'm not sure
Code: Select all
#Create a Grub CD that Only Boot Windows ### Disable VirtualBox HDD Boot
sudo pacman -S libisoburn mtools
mkdir -p ~/WindowsRAWgrubiso.temp/boot/grub # create temporary grub folder
sudo chmod -x /etc/grub.d/10_linux # disable Linux
sudo chmod -x /etc/grub.d/20_memtest86+ # disable memtest86+
sudo grub-mkconfig > ~/WindowsRAWgrubiso.temp/boot/grub/grub.cfg # create new grub.cfg
sudo chmod +x /etc/grub.d/10_linux # enable Linux
sudo chmod +x /etc/grub.d/20_memtest86+ # enable memtest86+
# create GRUB CD
sudo grub-mkrescue –-modules="linux ext2 fat fshelp ls boot ntfs" –-output=/home/WindowsRAW_GRUB.iso ~/WindowsRAWgrubiso.temp/
sudo chown $USER /home/WindowsRAW_GRUB.iso # change owner to user
sudo rm -R ~/WindowsRAWgrubiso.temp # delete temporary GRUB folder
References:
HOWTO: Windows 7: In both VM and native -- VBox3.x
viewtopic.php?t=33356#p149094
Anyone have success booting Windows 10 raw partition as a guest in VirtualBox?
viewtopic.php?f=2&t=77237
Windows 7 as native and as raw guest on Ubuntu host ###GRUB IMAGE###
viewtopic.php?f=2&t=46136#p208193
Arch Wiki
https://wiki.archlinux.org/index.php/Vi ... VirtualBox