ubuntu Sever SeaBios vs OVMF woes (v15)


Recommended Posts

hmmm... i wonder if OVMF is finicky about UEFI settings/firmware in the MOBO's bios

 

Xen capable? - Yes.

PCI Passthrough capable? - Yes.

 

    CPU -  Intel i5 2500 - vt-d capable

    Motherboard- Asus P8H77-V LE

    RAM- CORSAIR Vengeance LP 16 GB DDR3

    PSU -  SeaSonic X Series X650 Gold

    HBA / SAS Card - Supermicro AOC-SASLP-MV8 flashed to Firmware_3.1.0.21

    NIC(s) Realtek 8169 based on-board NIC

Link to comment

Host hardware support for UEFI does not matter with OVMF.  OVMF supplies a UEFI firmware for the virtual machine independent of how the host is booted.

 

btw, are you running some future version that I'm not aware of?  We only release beta 15, not sure where the b is coming from ;-)

 

So next question, what is the actual file name of the ISO you are using?  I'm curious if you maybe got a bad build or something.  Can you ellaborate on "not working".  Can you get a VNC session open and see "tianocore" loading at the start?  Do you get to an EFI shell?  Where is it "not working."

Link to comment

Host hardware support for UEFI does not matter with OVMF.  OVMF supplies a UEFI firmware for the virtual machine independent of how the host is booted.

This is good to know

 

btw, are you running some future version that I'm not aware of?  We only release beta 15, not sure where the b is coming from ;-)

Just call me the Doctor... now to go back and fix the header ;)

 

So next question, what is the actual file name of the ISO you are using?  I'm curious if you maybe got a bad build or something. 

Originally it was ubuntu-14.04.02-server-amd64.iso.  I changed this to 14.04.iso

I have pointed to /mnt/cache/docker/iso/  AND  /mnt/user/docker/iso/

After this mess I DL'd a fresh copy from work (different machine/network), transferred via USB thumbdrive to same location at home and received the same problem.

 

Can you ellaborate on "not working".  Can you get a VNC session open and see "tianocore" loading at the start?  Do you get to an EFI shell?  Where is it "not working."

After following Sparky's advice I tried first a Q35 launch then 2 i44 machine launches.  The 2nd launch let me into the EFI shell, and after 3 commands allowed me into the install.  I was able to click install Ubuntu and it walked me through the timezone/keyboard setup.  Upon 'Install' I would receive the error: Installation CD-Rom Couldn't be mounted.  This was all via the Web Gui's NoVNC terminal.

Link to comment

There is not a ton of value with ovmf right now unless you are passing through a GPU. Just an FYI.

 

No need for that ATM!  I decided to keep my gaming/compiling windows rig separate.  My ONLY VM need is to use a full blown Linux based Crashplan Gui  (as linux network updates to Cloud are far more trouble-free than windows).

 

I would like to consolidate my PFSense + Wired card and Wireless card into the rig at some point.

Link to comment

i'm into the installer of 12.04 ubuntu desktop.

 

here is what i've found so far.

 

<domain type='kvm' id='47'>
  <name>Ubuntu-Desktop</name>
  <uuid>8aa5e870-1e73-723a-2838-a40d45b57c74</uuid>
  <memory unit='KiB'>1572864</memory>
  <currentMemory unit='KiB'>1572864</currentMemory>
  <memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>1</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.2'>hvm</type>
    <loader type='pflash'>/usr/share/qemu/ovmf-x64/OVMF-pure-efi.fd</loader>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='1' 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>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/ISO-STORE/ubuntu-12.04.3-desktop-amd64.iso'/>
      <backingStore/>
      <target dev='hda' bus='virtio'/>
      <readonly/>
      <boot order='2'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native'/>
      <source file='/mnt/cache/VMS-Dockers/VMS/Ubuntu-Desktop/vdisk1.img'/>
      <backingStore/>
      <target dev='hdc' bus='virtio'/>
      <boot order='1'/>
      <alias name='virtio-disk2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <controller type='usb' index='0'>
      <alias name='usb0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:18:82:02'/>
      <source bridge='br0'/>
      <target dev='vnet2'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/3'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/3'>
      <source path='/dev/pts/3'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='5902' autoport='yes' websocket='5702' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='16384' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <rom bar='on' file='/mnt/user/ISO-STORE/Club3D.HD6450.1024.110426.rom'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x07' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </hostdev>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </memballoon>
  </devices>
</domain>

 

 

editing the xml and putting the path to my 14.04 desktop iso and as soon as you hit enter to install the VM shuts down as seen by landS and myself.

 

but with the 12.04 desktop and precisely the same xml other than the iso name,  the installer comes up.

 

1FKBoA5.png

 

 

EDIT- i can swap between the iso's and always the 12.04 installer comes up and the 14.04 installer bombs out.

 

 

Link to comment

Thanks Sparky

 

If you have the time and inclination... care to try installing 12 LTS and forcing an update to 14 LTS?

 

I will try this path as soon as I return from a short work trip myself.

 

I will also try Mint 17.1 --- which is essentially Ubuntu 14.04 Desktop LTS with some extra code baked in and tends to be a little friendlier when it comes to pre-reqs.

Link to comment

Thanks Sparky

 

If you have the time and inclination... care to try installing 12 LTS and forcing an update to 14 LTS?

 

I will try this path as soon as I return from a short work trip myself.

 

I will also try Mint 17.1 --- which is essentially Ubuntu 14.04 Desktop LTS with some extra code baked in and tends to be a little friendlier when it comes to pre-reqs.

 

mint doesn't work, neither does kubuntu , xubuntu or edubuntu

 

anything i've tried that is 14.04 variant has not worked.

Link to comment

See efi1.png (attached).  When running OVMF I am able to install Ubuntu desktop 12 LTS all the way through reboot.

 

Upon the second boot FS1: and FS2: does not contain efi/boot (see efi2.png)

FS0: has efi boot, but shows the failure [glow=red,2,300]"Could not open "\efi\boot\fallback.efi":14 error: no device is set"[/glow] then immediately goes back to the ubuntu install.

 

Any thoughts on how to skip the shell and boot from the uefi/vm.hdd?

 

Thanks

efi1.png.47a1c0ea02c3ae24eecceabb83c07a82.png

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.