You are not logged in.

#1 2019-09-02 15:00:30

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Qemu, Archlinux as host for Win7. No samba.

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 wink

Offline

#2 2019-09-03 13:39:57

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,396

Re: Qemu, Archlinux as host for Win7. No samba.


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

#3 2019-09-03 17:25:25

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: Qemu, Archlinux as host for Win7. No samba.

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 wink

Offline

Board footer

Powered by FluxBB