Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 1.94 KB

FILES2VM.md

File metadata and controls

35 lines (31 loc) · 1.94 KB

How to add files to the VM

Step 1: create the disk image:

  1. on the pi install brasero like this: sudo apt install brasero.
  2. put all the files you want in a folder somewhere you remember like ~/Documents/myfolder.
  3. open brasero and click on Data project qemu2deb-files2vm.png
  4. click on the plus sign in the top left corner. qemu2deb-files2vm1.png
  5. select the folder/folders you want and click on 'Add'. qemu2deb-files2vm2.png
  6. click on 'Burn' in the bottom right corner. qemu2deb-files2vm3.png
  7. give the file a name, and then click on 'Create Image' in the bottom right corner. qemu2deb-files2vm4.png
  8. wait untill you see a Image successfully created message like the one in the screenshot bellow: qemu2deb-files2vm5.png

Step 2: boot the VM with the disk image mounted:

  1. open terminal and type: cd <VM> but change with the name of the vm's folder. look for the table bellow for a list of names.
  2. type the command to start your VM (the commands are in the README) but add this to its end: -cdrom path/to/the/image/we/created/earlier.iso but of course change path/to/the/image/we/created/earlier.iso with the real path to your image.
    Example: to start the MacOS 9 VM with a 'cd' called files.iso this is the command I would run:
 qemu-system-ppc -M mac99 -m 1000 -cpu "g4" -L pc-bios -g 1024x768x32 -hda ~/macos921/macos921.qcow2 -cdrom ~/Downloads/cd/files.iso

to boot from the 'cd' add this as well: -boot d.

DONE! when the VM boots up you should be able to copy the files from the image.

Table of VM folder names

VM (OS name) folder
MacOS 9.2.1 ~/macos921
Windows 98 ~/win98