Download binary from lassauge.free.fr/qemu and extract
Create a 40G hard disk by running
qemu-img create hd.img 40G
Install by Linux os with
qemu-system-x86_64 \
-drive file=hd.img,index=0,media=disk,format=raw \
-L Bios -m 1024 \
-cdrom fedora-install.iso
Start your vm with ssh port forwarded with
qemu-system-x86_64 \
-drive file=hd.img,index=0,media=disk,format=raw \
-L Bios -m 1024 \
-redirect tcp:2222::22
ssh -p 2222 localhost
to get to your vm
No comments:
Post a Comment