Hyper-V with Redhat Enterprise Linux 9 as a guest - sharing files between host and guest


kwgagel

Member
Local time
7:49 AM
Posts
20
OS
Windows 11 Pro
I am running Windows 11 Pro and have the Hyper-V role installed with one guest. The guest is Redhat Enterprise v9 linux. My host uses WiFi for all networking and it is setup to share the internet connection with the guest. The guest can access the internet.

I'm having difficulty getting either a share on the host or a share on the guest to be seen by the other.

I do have ExpressVPN on both the host and the guest. While trying to setup a share that the other can see I turn off the VPN.
I also have firewalls on both the host and the guest. While trying to setup a share that the other can see I turn off both firewalls.

On the Windows host I setup a share called "Share". It is visible in Network. No hint of the linux share is visible from the Windows network.
On the Linux guest I setup a share called "Sambashare". It is visible in its network. Also visible in the linux network is a "Windows Network". However, when I go into it, it is empty. I have put a file into the windows share so it should be there...

I don't care which one shares. I just want to be able to share files between the two of them. How do I do this?

Windows View of Windows Share.pngLinux View of Windows Share.png

1667078336390.png
 
Windows Build/Version
Windows 11, Version 21H2 (OS Build 22000.1098)

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    N/A
    CPU
    Intel i7-8700K @ 3.70GHz
    Motherboard
    Gigabyte Z370 AORUS Gaming 5 (rev. 1.0)
    Memory
    64GB
    Graphics Card(s)
    Nvidia Quadro K2200
    Sound Card
    Realtek® ALC1220 codec
    Monitor(s) Displays
    Samsung
    Screen Resolution
    1920*1080
    Hard Drives
    Samsung SSD 970 EVO 2TB
    Browser
    MS Edge
    Antivirus
    MS Defender
I managed to get the share on the linux guest configured well enough to allow Windows' File Explorer to access IF I access by IP address of the guest. The windows host still cannot "see" by browsing. The Linux vm still cannot see/browse the windows host.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    N/A
    CPU
    Intel i7-8700K @ 3.70GHz
    Motherboard
    Gigabyte Z370 AORUS Gaming 5 (rev. 1.0)
    Memory
    64GB
    Graphics Card(s)
    Nvidia Quadro K2200
    Sound Card
    Realtek® ALC1220 codec
    Monitor(s) Displays
    Samsung
    Screen Resolution
    1920*1080
    Hard Drives
    Samsung SSD 970 EVO 2TB
    Browser
    MS Edge
    Antivirus
    MS Defender
I have no idea how to properly set up network shares between redhat and Windows.

However, sharing network drives in hyper-v can be complicated

If the guest is on the same pc as the host, and can run as an rdp server, then hyper-v can run in enhanced mode and then it is easy to share drives on same pc


There are guides how to use xrdp server on ubuntu and use hyper-v enhanced mode. Other distros have done it as well.

The easiest distro is Kali.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

Latest Support Threads

Back
Top Bottom