Installing ArcaOS on QEMU with Windows 10 Host: Difference between revisions

From OS2World.Com Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(No difference)

Latest revision as of 16:51, 7 May 2021


Create Empty VM HDD

@echo off
rem ==================================
rem Replace with your values
rem ==================================
set "QEMUDIR=C:\Program Files\qemu"

rem ==================================
rem Safety net
rem ==================================
if not exist hda.img (
    rem CREATE a virtual hard disk 
    "%QEMUDIR%\qemu-img.exe" create hda.img 40G
) else (
    echo file hda.img already exist. Delete or move and try again.
    goto:eof
)


Run Installation from ISO

@echo off

rem ==================================
rem Replace with your values
rem ==================================
set "QEMUDIR=C:\Program Files\qemu"
set "ISOFILE=ArcaOS.iso"

rem ==================================
rem You can add a w suffix to this if 
rem you don't want a console
rem ==================================
set "QEMUBIN=qemu-system-x86_64.exe"

rem ==================================
rem Run the virtual machine
rem ==================================
start "QEMU" "%QEMUDIR%\%QEMUBIN%" -drive file=hda.img,index=0,media=disk,format=raw -cdrom %ISOFILE% -m 2G -L Bios -usbdevice mouse -usbdevice keyboard -boot menu=on -rtc base=localtime,clock=host -parallel none -serial none -name os2 -no-acpi -no-hpet -no-reboot


Links