*create drives
$qemu-img create name
.img size|M|G
$qemu-img create win98hda.img 400M
*resize driver
$qemu-img resize filename [+|-]size[K|M|G|T]
$qemu-img resize win98hda.img +600M
$gparted win98hda.img #for expand physically
$qemu [-boot ] -cdrom .iso
[-m size]|128M -hda disk-name.img
$qemu -boot d -cdrom win98se.iso -m 512 -hda win98hda.img
other examples:
[1] install win98 using boot iso and installer iso (two disks)
$qemu-system-i386 -hda win98s2018.img -boot d -cdrom win98boot.iso -drive file=win98se.iso,index=3,media=cdrom
$qemu-system-i386 -hda win98s2018.img -boot c -cdrom win98boot.iso -drive file=win98se.iso,index=3,media=cdrom
$qemu-system-i386 -drive file=win98s2018.img,format=raw -m 512 #other way to run
$qemu-system-x86_64 -hda driveubuntu.img -cdrom ubuntu-x86-14.1-r1.iso -boot d -m 1024 -usbdevice mouse
Images:
[1] Windows XP https://mega.nz/#!B4ZEiRyD!tIS4NFNqcShJtTvNcheujIfSVS8H3ejlU2VLJdN9C3o
[2] 95 https://mega.nz/#!tw4m2Z6K!XsrXdAODy0HGjNVzvpSNviDQfvQP0ULVI7UGbhFdJh0
References:
[1] https://www.unixmen.com/how-to-install-and-configure-qemu-in-ubuntu/
[2] http://www.helenos.org/wiki/UsersGuide/RunningInQEMU
No comments:
Post a Comment