Carbongrip

Members
  • Posts

    32
  • Joined

  • Last visited

Posts posted by Carbongrip

  1. 17 hours ago, ghost82 said:

    Hi, renaming the efi is optional, so it doesn't affect functionality.

    I tried the whole process before writing it and it works good for me.

    I also tried to do the whole process through the unraid terminal (user root), including copying the EFI files to the mounted partition, to see if there were issues with permissions, and the EFI is fully functional.

    What about the "OVMF bios screen"? Are you sure is the OVMF one and not the opencore one?Can you attach a picture?

    Attach also you vm xml and the zipped qcow2 image you are using.

    Here is the EFI that I made but doesn't work causing a constant boot loop showing the Tiano Core Bios Screen...

    OpenCoreEFI.zip

     

    Now here is where things get interesting...

    I found this post https://www.nicksherlock.com/2020/04/installing-macos-catalina-on-proxmox-with-opencore/

    and used his OpenCore efi file and it actually works, allowing me to select boot of install media. His is a .iso though. It also doesn't really help because its kernal panics while loading the installer in verbose mode and I don't know how to change the files in it besides turning on verbose mode from shell.

     

    Will post a xml when I can.

  2. On 4/26/2020 at 2:46 PM, thecoffeeguy said:

    I guess it comes down to, is 'unraid' a better solution to host VM's that are connected to a ESXi cluster? Just based upon some preliminary research i've done, FreeNAS might not be the best solution for my setup. A few blogs I have read said unraid might/could be better.

    Just dipping my toe in the water a bit. :)

    Well Unraid uses QEMU for its VM's so if you've used that then you know what to expect. The storage system though is unique though in that it is NOT raid, while still having redundancy. Not exactly an enterprise solution YET but is getting there. Development of Zfs in Unraid is being talked about but isn't a thing yet. Unraid is free for 30 days with a Maxed out license for the 30days, so that should let you evaluate things for yourself.

  3. 4 minutes ago, RickD00 said:

    OVMF does not work somehow.. I tried it with VNC it was on UEFI Shell window. SeaBIOS worked with VNC.

    I just tried both OVMF/SeaBIOS with Q35.

    Still no luck 

    1087847029_win104.thumb.png.5545b4150d377278028f24a843a192c4.png

    If it was on a UEFI shell window then it couldn't find a boot device. You need to set the Install ISO as boot device in boot order.

  4. 16 minutes ago, Ernie11 said:

    Hello Carbongrip,

     

    But what if I want to use it for normal things like look things up or use excel, word, etc. Moonlight doesnt work for that.

    Moonlight can be used for the general desktop as well.

  5. 18 hours ago, ghost82 said:

     

    Create a qcow2 image of 256 MB (from Unraid terminal):

    
    qemu-img create -f qcow2 /path/to/the/image/test.qcow2 256M

    This will create a qcow2 image of 256 MB.

     

    Enable NBD on the host and connect the qcow2 image as a network block device (from Unraid terminal):

    
    modprobe nbd max_part=8
    qemu-nbd --connect=/dev/nbd0 /path/to/the/image/test.qcow2

     

    Create EFI partition and format:

    Create GPT (from Unraid terminal):

    
    gdisk
    /dev/nbd0
    w
    y

    Create EFI partition (from Unraid terminal):

    
    gdisk
    /dev/nbd0
    n
    1
    <press Enter to accept default value>
    <press Enter to accept default value>
    EF00
    w

    Format the EFI partition as FAT32 (from Unraid terminal):

    
    mkfs.fat -F 32 /dev/nbd0p1

    Create a folder for the mount point (advise is to create a folder in your shares, so you can write files into the EFI partition from your vm too):

    
    mkdir /path/to/the/mount/point/

    Mount the EFI partition (from Unraid terminal):

    
    mount /dev/nbd0p1 /path/to/the/mount/point/

    Copy your EFI files in /path/to/the/mount/point/

     

    Unmount the EFI partition (from Unraid terminal):

    
    umount /path/to/the/mount/point/

    Disconnect nbd0 (from Unraid terminal):

    
    qemu-nbd --disconnect /dev/nbd0
    rmmod nbd

    Rename the EFI partition from "NO NAME" to "EFI"

    From the virtual machine you can mount the new EFI partition and rename it with the command:

    
    sudo diskutil rename /dev/disk0s1 "EFI"

    where disk0s1 is the EFI partition.

     

    In the vm xml point to the qcow2 image and add <boot order='1'/>

    Ok i followed this guide but I get a constant boot loop showing the OVMF bios then black reboot. Never shows the opencore interface.

     

    Only part I didn't do is this... since I don't have a vm up yet.

     

    "Rename the EFI partition from "NO NAME" to "EFI"

    From the virtual machine you can mount the new EFI partition and rename it with the command:

    sudo diskutil rename /dev/disk0s1 "EFI"

    where disk0s1 is the EFI partition."

     

    Any ideas?

  6. 32 minutes ago, Alabaster said:

    Are you saying to add the addresses(from system devices) to the vfio-pci.ids= line in the syslinux file? If so, I tried that but the server wouldn't boot and got stuck at the point in the original screenshot. I also tried using the 'VFIO-PCI CFG' plugin to bing the device, but that resulted in the server getting stuck at the same point in boot up.

     

    Yes that's what I was trying to say, what device is at vfio-pci.ids=1022:43b9? When changing slots the device you expect to be 1022:43b9 and grouping could change at least as far as I am aware. Try this, remove every address you added to vfio-pci.ids so it boots, then revisit iommu groups, find the address of each device you intend to passthrough while making sure there arn't new devices conflicting in a iommu group, and add it to vfio-pci.ids= .

  7. Hello,

     

    So I have decided to give OpenCore a try over the old clover, but the OpenCore website only shows how to add the EFI to a flash drive. How do I create a Qcow2 or IMG containing a bootable EFI? I have the EFI files configured already and are based off of Leoyzens example config https://github.com/Leoyzen/KVM-Opencore

     

    I have 3 virtual drives,

    1. (Done) OSDrive.qcow2

    2. (Empty) for OpenCoreEFI.qcow2 that community explains how to make.

    3. (Done) OSInstaller.img

     

    Any help is appreciated!

     

    Cheers!

     

    P.S. Leoyzen, this line is not helpful lol

    Usage:

    1. Download the repository and put the EFI under your EFI disk

  8. 18 minutes ago, HRX said:

    Thank you for your reply. Just seeking some clarification on point 3. Do you mean that if I were to use a use nic for unraid, I would have to connect it physically to a switch that is connected to the lan port of the pfsense?

    Thank you. 

    Yes, the USB lan port would need to connect to a switch connected to lan port of pfsense. It might help you to see it if you draw it out on paper.

    Also ask around which USB NICs work in Unraid, some may use an incompatible controller.

     

    Cheers!

  9. 2 hours ago, RickD00 said:

    Basied on my understanding from youtube videos below, my IOMMU group 1 may not look right, so I switch to PCIe ACS override-downstream and got IOMMU group 12 which looks right to me.

    IOMMU_downstream.thumb.png.5dcbf6bb56c5ebfbd4b93a97b62a9747.png

     

     

    Hello, you were close when you got the Group 12 that I quoted from your post HOWEVER you were trying to only passthrough your RTX 2070s usb-c controller.

     

    vfio-pci.ids=10de:1ada,10de:1adb are your USB 3.1 controller and serial bus on your 2070. You need to be passing through the VGA Controller @ 10de:1f02 and your GPUs audio @ 10de:10f9. Also you must passthrough everything in group 12 including the RTX USB-C controller you were trying to passthrough before.

     

    Your vfio-pci.ids should look like this...

    vfio-pci.ids=10de:1f02,10de:10f9,10de:1ada,10de:1adb

     

    Once you do that make sure you select everything listed in Group 12 to passthrough in Unraid VM Win10 config PCI Devices.

     

    Hope this helps.

    Cheers!

  10. Hello,

     

    Well firstly, if you passthrough both nics on that motherboard you wouldn't be able to access Unraid over the network. Your third nic is a IPMI management port and can't be used for Unraid network access.

     

    Second, I would need to see what your IOMMU Groups look like to tell you if both Intel® i210 nics are able to be passed through. The nics would both need to be in their own separate IOMMU Groups.

     

    Third, you could technically passthrough both nics and use a USB 3.0 to Gigabit ethernet adapter to give Unraid something to still access the network.

     

    Hope this helps you.

     

    Cheers!

  11. Getting Stuck on the Apple Logo with black background... no progress bar ever appears.

     

    <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
      <name>MacOSMojave</name>
      <uuid>d27d1be3-af45-4f8b-b5fe-3ae6930a52f0</uuid>
      <memory unit='KiB'>8388608</memory>
      <currentMemory unit='KiB'>8388608</currentMemory>
      <vcpu placement='static'>4</vcpu>
      <os>
        <type arch='x86_64' machine='pc-q35-2.11'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
        <nvram>/var/lib/libvirt/qemu/nvram/MacOSMojave_VARS.fd</nvram>
        <bootmenu enable='yes'/>
      </os>
      <features>
        <acpi/>
        <apic/>
      </features>
      <cpu mode='host-passthrough' check='none'>
        <topology sockets='1' cores='4' threads='1'/>
      </cpu>
      <clock offset='utc'>
        <timer name='rtc' tickpolicy='catchup'/>
        <timer name='pit' tickpolicy='delay'/>
        <timer name='hpet' present='no'/>
      </clock>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>destroy</on_crash>
      <pm>
        <suspend-to-mem enabled='no'/>
        <suspend-to-disk enabled='no'/>
      </pm>
      <devices>
        <emulator>/usr/bin/kvm-spice</emulator>
        <disk type='file' device='disk'>
          <driver name='qemu' type='qcow2'/>
          <source file='/var/lib/libvirt/images/MacOSMojave.qcow2'/>
          <target dev='sda' bus='sata'/>
          <boot order='3'/>
          <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </disk>
        <disk type='file' device='disk'>
          <driver name='qemu' type='qcow2'/>
          <source file='/home/myusername/Downloads/osx support files mojave and high sierra/clover.qcow2'/>
          <target dev='sdc' bus='sata'/>
          <boot order='1'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw'/>
          <source file='/home/myusername/Desktop/mojave.img'/>
          <target dev='sdd' bus='sata'/>
          <address type='drive' controller='0' bus='0' target='0' unit='3'/>
        </disk>
        <controller type='usb' index='0' model='ich9-ehci1'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci1'>
          <master startport='0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci2'>
          <master startport='2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci3'>
          <master startport='4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
        </controller>
        <controller type='sata' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
        </controller>
        <controller type='pci' index='0' model='pcie-root'/>
        <controller type='pci' index='1' model='dmi-to-pci-bridge'>
          <model name='i82801b11-bridge'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
        </controller>
        <controller type='pci' index='2' model='pci-bridge'>
          <model name='pci-bridge'/>
          <target chassisNr='2' chassis='2'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
        </controller>
        <controller type='pci' index='3' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='3' port='0x10'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
        </controller>
        <controller type='pci' index='4' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='4' port='0x11'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
        </controller>
        <controller type='pci' index='5' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='5' port='0x12'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
        </controller>
        <interface type='network'>
          <mac address='52:54:00:56:3c:2f'/>
          <source network='default'/>
          <model type='e1000-82545em'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
        </interface>
        <serial type='pty'>
          <target type='isa-serial' port='0'>
            <model name='isa-serial'/>
          </target>
        </serial>
        <console type='pty'>
          <target type='serial' port='0'/>
        </console>
        <channel type='unix'>
          <target type='virtio' name='org.qemu.guest_agent.0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <input type='tablet' bus='usb'>
          <address type='usb' bus='0' port='1'/>
        </input>
        <input type='mouse' bus='ps2'/>
        <input type='keyboard' bus='ps2'/>
        <graphics type='vnc' port='-1' autoport='yes'>
          <listen type='address'/>
        </graphics>
        <video>
          <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
        </video>
        <memballoon model='virtio'>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
        </memballoon>
      </devices>
      <qemu:commandline>
        <qemu:arg value='-device'/>
        <qemu:arg value='isa-applesmc,osk=deleted'/>
        <qemu:arg value='-smbios'/>
        <qemu:arg value='type=2'/>
        <qemu:arg value='-cpu'/>
        <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,+avx,+avx2,+aes,+xsave,+xsaveopt,+ssse3,+sse4_2,+popcnt,vmware-cpuid-freq=on,'/>
      </qemu:commandline>
    </domain>

    PLEASE HELP!