CoolFace
Datasetpublic

hschumann2/TempleOS-Source-Code

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes838downloads
InsQEMU.txt42 linesDownload Raw Back to Web
1 2                                  QEMU Install3QEMU works on Linux or Windows.4You can look at my QEMU Linux Bash Scripts.  You need 512+ Meg of RAM.5 6Use QEMU to run the ISO in a virtual machine.  Install QEMU-KVM.  Then, create a7virtual hard drive.8 9If you want to be like Terry A. Davis, this video shows how to make your QEMU10set-up pretty close.  Otherwise, use the standard /Home files.11 12 13Wiki on QEMU Images14 15You make a file for your guest hard disk image.16>qemu-img create -f qcow2 my_disk.img 3G17 18Then, boot the CD/DVD ISO and install TempleOS.  Type this command on one line,19with the number of cores you have:20>qemu-system-x86_64 -hda my_disk.img -machine kernel_irqchip=off -smp cores=121-enable-kvm -cpu host -m 2048 -rtc base=localtime -soundhw pcspk -cdrom22TempleOSCD.ISO -boot d23 24After installing, boot the hard disk normally.  Type this with the number of25cores you have:26>qemu-system-x86_64 -hda my_disk.img -machine kernel_irqchip=off -smp cores=127-enable-kvm -cpu host -m 2048 -rtc base=localtime -soundhw pcspk28 29To access the guest hard drivbe, use this to connect the guest image to30/dev/nbd0.  It acts like any other block device.  This will mount it to mount31point, /mnt/my_disk.32>sudo modprobe nbd max_part=1633>sudo qemu-nbd -c /dev/nbd0 my_disk.img34>sudo partprobe /dev/nbd035>sudo mkdir /mnt/my_disk36>sudo mount /dev/nbd0p1 /mnt/my_disk37 38 39* "Linux" is a trademark owned by Linus Torvalds.40* "QEMU" is a trademark owned by Fabrice Bellard.41* "Windows" is a trademarks owned by MicroSoft Corp.42