Windows raw disk is not bootable
Posted: 17. Oct 2019, 19:12
I am trying to run a windows 10 installation off a raw disk. Virtualbox says "FATAL: No bootable medium found! System halted." If I enable EFI it drops to the grub shell.
A quick history, I previously had this computer set up as dual boot, windows Ubuntu. I would boot into Ubuntu and then run windows in VB. In order to do that I had to "raw disk" both HDD and select windows from grub in the virtual machine. no problems. This was bad because if I missed the menu, and it booted into Ubuntu things get corrupted in a hurry.
So ...
I booted into windows, ran 'bootsect ..." and "fixed" the windows disc. (removed grub so I thought). Then I removed the Ubuntu HDD and booted into Windows. works fine. Push power wait forever and bam, windows.
So now I removed the windows HDD and added the Ubuntu HDD back in, and REINSTALLED Ubuntu, fresh, new grub new os new all of it. GRUB has no idea windows might be around.
Now I reinstalled the windows HDD and I can boot into either OS via the BIOS (press F12, choos Ubuntu or Winodws)
Sooooooo both disks ARE bootable in their own right. I can insert or choose either disk and it just boots!!!
Why won't Virtualbox boot my Windows HDD as a raw disk?
the raw disk was created by
sda is windows, sdb is ubuntu w/grub, sdc is my backup hdd for Ubuntu.
A quick history, I previously had this computer set up as dual boot, windows Ubuntu. I would boot into Ubuntu and then run windows in VB. In order to do that I had to "raw disk" both HDD and select windows from grub in the virtual machine. no problems. This was bad because if I missed the menu, and it booted into Ubuntu things get corrupted in a hurry.
So ...
I booted into windows, ran 'bootsect ..." and "fixed" the windows disc. (removed grub so I thought). Then I removed the Ubuntu HDD and booted into Windows. works fine. Push power wait forever and bam, windows.
So now I removed the windows HDD and added the Ubuntu HDD back in, and REINSTALLED Ubuntu, fresh, new grub new os new all of it. GRUB has no idea windows might be around.
Now I reinstalled the windows HDD and I can boot into either OS via the BIOS (press F12, choos Ubuntu or Winodws)
Sooooooo both disks ARE bootable in their own right. I can insert or choose either disk and it just boots!!!
Why won't Virtualbox boot my Windows HDD as a raw disk?
the raw disk was created by
Code: Select all
VBoxManage internalcommands createrawvmdk -filename ./rawWindowz.vmdk -rawdisk /dev/sda