Jump to content

How to specify boot order in qemu.

Rylyguy

I’m trying to install windows to a .qcow2 in qemu but instead of booting to the cdrom it’s booting to the hdd. How can I specify boot order? TIA

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, zhnu said:

Well are you passing parameters to the VM via CLI or are you using something like libvirt?

Via command line. macOS host btw. 

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, zhnu said:

Ahh thats UEFI booting then:

 

Let's say you have:

#       -device ide-hd,bus=sata.3,drive=InstallMedia

You can just remove this line all it will just not have the install drive.

 

 

I don’t understand. I’ll send a photo of what I currently have. I don’t have a line that looks like that. 

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, zhnu said:

Ahh thats UEFI booting then:

 

Let's say you have:

#       -device ide-hd,bus=sata.3,drive=InstallMedia

You can just remove this line all it will just not have the install driv

25F7ACB6-71BB-4290-B455-898E6E1B3DC8.jpeg

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, zhnu said:

Ok just remove the -cdrom line

Ooh. I see the misunderstanding. No. I’m trying to install windows from that iso. I haven’t actually installed windows yet. Instead of booting to the windows install setup it’s booting to the hdd. 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, zhnu said:

Ahhh okay then on that line do
 


 -boot d -cdrom /Users....

 

Thank you. It still didn’t automatically boot to cd but it gave me the option to press any key to boot to cd. Thx. 

Link to comment
Share on other sites

Link to post
Share on other sites

13 minutes ago, Rylyguy said:

Thank you. It still didn’t automatically boot to cd but it gave me the option to press any key to boot to cd. Thx. 

19 minutes ago, Rylyguy said:

I’m trying to install windows from that iso.

your issue is resolved, but i wanted to add this just for completeness:

the "press any key to boot to CD" is a feature of windows install media.

Link to comment
Share on other sites

Link to post
Share on other sites

On 11/24/2020 at 10:26 AM, manikyath said:

your issue is resolved, but i wanted to add this just for completeness:

the "press any key to boot to CD" is a feature of windows install media.

Oh ok. Though this was in open bios. So I’m not fully comprehending how that is a part of windows install media. 
 

Link to comment
Share on other sites

Link to post
Share on other sites

25 minutes ago, Rylyguy said:

Oh ok. Though this was in open bios. So I’m not fully comprehending how that is a part of windows install media. 
 

it's part of the installation media, because the installer reboots during the installation, and the user cant be expected to be present to remove the installation media in time.

if the feature werent present, you'd end up right at the start of the setup when it reboots.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×