You are not logged in.
Hello forum,
I'm trying to start windwows 7 by qemu. Everything starts, but I can't get the shared folder, because samba is not started along with qemu. Even though the config is created on /tmp.
This is my command to start qemu
/usr/bin/qemu-system-x86_64 \
-monitor stdio \
-soundhw ac97 \
-k it \
-machine accel=kvm \
-m 4096 \
-hda /media/Datasave/W7forTronics/W7forTronics \
-net nic,model=virtio \
-net user,tftp=/tmp \
-net user,smb=/tmp \
-rtc base=localtime \
-name "W7tronics"I've differently tried to mount a folder and try to mount as virtio, but the mount fails.
Definitely I lack of experience to get things running, I preferred Aqemu to guide me to set the system up.
do it good first, it will be faster than do it twice the saint ![]()
Offline
Have you tried https://wiki.archlinux.org/index.php/QEMU#QEMU's_built-in_SMB_server ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Yes I did.
Then I wondered why the little script in there wasn't working. A further investigation led me to discover that the smb server wasn't running.
So I'm trying to understand if that is a bug to correct.
Perhaps I may go to add a script to call smb after finding the smb.config that qemu generates.
Otherwise I can start samba as usual, but I should study how to give access from the same machine.
do it good first, it will be faster than do it twice the saint ![]()
Offline