Problem with installing Windows 11 on virtualbox

Discussions related to using VirtualBox on Windows hosts.
Post Reply
hutsaloviaheslav1998
Posts: 5
Joined: 11. Nov 2021, 12:18

Problem with installing Windows 11 on virtualbox

Post by hutsaloviaheslav1998 »

I have a problem with installing Windows 11. I made a bootable flash drive from Windows 11 using Rufus and then using the command VboxManage.exe internalcommands creatrawvmdk -filename C: \ pendrive.vmdk -rawdisk \\. \ PhysicalDrive (flash drive number) where pendrive number, I entered the number appropriate for my usb disk. This is what my virtualbox storage section looks like. When I try to run the installation from this flash drive, I get this message https://www.forumpc.pl/uploads/monthly_ ... 086d1b.png. Could someone be able to tell me what this particular screen means as I am a beginner to these things and would like some tips on how to possibly solve it?
Attachments
storage.png
storage.png (124.24 KiB) Viewed 2026 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Problem with installing Windows 11 on virtualbox

Post by scottgus1 »

I'm not entirely sure why the drive icon for the vmdk is the yellow ! triangle.

You're doing Raw Disk Access to get around the fact that Virtualbox cannot boot from USB in Legacy BIOS.

Virtualbox is supposed to boot from USB in EFI BIOS, but I have never tried it. FWIW ISO's work perfectly all the time, so adding the conversion to USB via Rufus is not needed, if you're only trying to get Windows 11 into Virtualbox.

Raw Disk Access on Windows hosts requires Virtualbox to be Run As Administrator. Maybe that's the reason for the triangle.

Virtualbox should not be Run As Administrator on a regular basis, because if Virtualbox gets compromised by malware while under RaA the malware can get deeper into the host OS. So if you need RaA Virtualbox, make triply sure the host is clean.

If you're only after getting Windows 11 into Virtualbox, skip the USB stick and use the ISO.

If you're experimenting with USB Boot, try EFI BIOS.

If you also require Legacy BIOS for the test, try running the main Virtualbox window as Administrator, for the install only.
hutsaloviaheslav1998
Posts: 5
Joined: 11. Nov 2021, 12:18

Re: Problem with installing Windows 11 on virtualbox

Post by hutsaloviaheslav1998 »

The reason for this yellow triangle is simply that I have VirtualBox running as admin but there is no USB flash drive in the USB port. So what do you recommend to do exactly to install windows on virtualbox from a flash drive?
hutsaloviaheslav1998
Posts: 5
Joined: 11. Nov 2021, 12:18

Re: Problem with installing Windows 11 on virtualbox

Post by hutsaloviaheslav1998 »

Okay okay. Deselecting the enable efi option helped. Only now I had to reformat the pena in rufus because I got such a message (https://techforum.wpcdn.pl/original/3X/ ... 3d1bf.jpeg). And now there is such a problem that after formatting in rufus I had to choose MBR instead of GPT. I deselect the Enable EFI options in VirtualBox, I do everything as in this movie https://www.youtube.com/watch?v=4rLo6M-FRPw I change the boot order so that it is from hard disk and not optical and when I press start, the logo appears Windows will shake it. It appears like this for a long time, and then suddenly it goes black screen and then nothing for a long time. Stops on a black screen. It doesn't crash any messages or anything. Anyone know what this may be about?
Post Reply