EFI support

Pre-VirtualBox 5.2 forum

EFI support

Postby nike » 11. Nov 2009, 11:07

Feel free to discuss EFI support in 3.1 beta here.
nike
 
Posts: 47
Joined: 7. Jul 2008, 00:00
Location: SPB
Primary OS: Ubuntu 8.04
VBox Version: PUEL
Guest OSses: OS/2 1.2, Windows 3.11, OSX

Re: EFI support

Postby Technologov » 11. Nov 2009, 13:42

Docs: **please update**
EFI (Extended Firmware Interface) ---> EFI (Extensible Firmware Interface)

=============
Which guest OSes are supposed to run on this ? (Win 2008 Server ?)

This feature is funny, because it is the first feature, that is available on virtualized hardware before physical PCs. (no one of my PCs support EFI !)
In the past virtualized hardware always lagged behind physical one.

Main use cases:
-Virtualization of Mac OS X Server (in the far future)
-support of bootable >2TB Had Disks.
Technologov
Volunteer
 
Posts: 3245
Joined: 10. May 2007, 16:59
Location: Israel

Re: EFI support

Postby nike » 11. Nov 2009, 14:25

Firmware in 32-bit only at the moment, so only 32-bit boot applications supported.

Guest known to work (to some extent):
- Fedora 11 netinst and LiveCD ISO ( can be problems if http://osdir.com/ml/fedora-extras-commi ... 03900.html not applied), X using EFI frambuffer in progress
- EFI shell

Known not to work:
- Windows (stock ISO come with UDF filesystem, which we currently don't have drivers for)
- OS X Server (many reasons)

Feel free to test your favorite distribution/OS if it comes with EFI loader and let us know results.
nike
 
Posts: 47
Joined: 7. Jul 2008, 00:00
Location: SPB
Primary OS: Ubuntu 8.04
VBox Version: PUEL
Guest OSses: OS/2 1.2, Windows 3.11, OSX

Re: EFI support

Postby Technologov » 11. Nov 2009, 14:45

What are the main use cases in your opinion for EFI ? (in general, not just VirtualBox) except >2TB bootable HDDs ?
Technologov
Volunteer
 
Posts: 3245
Joined: 10. May 2007, 16:59
Location: Israel

Re: EFI support

Postby nike » 11. Nov 2009, 17:13

See at least following:
- EFI applications/drivers development
- implementing EFI support in guests
- booting guests needing EFI, you_know_who :)
nike
 
Posts: 47
Joined: 7. Jul 2008, 00:00
Location: SPB
Primary OS: Ubuntu 8.04
VBox Version: PUEL
Guest OSses: OS/2 1.2, Windows 3.11, OSX

Re: EFI support

Postby Technologov » 11. Nov 2009, 18:05

Some info about Fedora on EFI:
http://fedoraproject.org/wiki/Features/EFI
Technologov
Volunteer
 
Posts: 3245
Joined: 10. May 2007, 16:59
Location: Israel

Re: EFI support

Postby umoeller » 11. Nov 2009, 18:23

Thanks for spotting the wrong acronym in the docs. Will be fixed.
umoeller
 
Posts: 17
Joined: 10. May 2007, 10:25

Re: EFI support

Postby Technologov » 11. Nov 2009, 18:29

Not only in the docs, but in the GUI too. (System->Motherboard->Enable EFI -- mouse roll-over, EFI description help)
Technologov
Volunteer
 
Posts: 3245
Joined: 10. May 2007, 16:59
Location: Israel

Re: EFI support

Postby Hachiman » 11. Nov 2009, 20:53

Some notes about installing from LiveCD Fedora 11 and 12 (x86) in EFI:
1. 3.1 beta 1 has 8-bit color depth driver for EFI mode (here with 32-bpp driver).
2. starting the FC11/12 live CD can confuse a bit. After nice picture with Fedora logo the black screen is appear :( . Press Host-F2 to enter the console enter root
with empty password.
3. X-server needs some tuning for starting.

Code: Select all   Expand viewCollapse view
# X -configure
# vi xorg.conf.new
# mv xorg.conf.new /etc/X11/xorg.conf
# liveinst



what need to be edited in xorg.conf is Display subsection of the Screen section at the end of config file.
Code: Select all   Expand viewCollapse view
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes   "1024x768"
        EndSubSection

and check that driver in the Device section is fbdev
Code: Select all   Expand viewCollapse view
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "Rotate"                    # <str>
        #Option     "fbdev"                     # <str>
        #Option     "debug"                     # [<bool>]
        Identifier  "Card0"
        Driver      "fbdev"
        VendorName  "InnoTek Systemberatung GmbH"
        BoardName   "VirtualBox Graphics Adapter"
        BusID       "PCI:0:2:0"
EndSection
--
Kind regards
Sr. Software Engineer
Oracle Corporation
Vasily Levchenko

PS. Happy VBoxing.
Hachiman
 
Posts: 94
Joined: 18. Dec 2008, 21:04
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Solaris, NetBSD

Re: EFI support

Postby lewellyn » 12. Nov 2009, 10:41

I'm unable to use the EFI support on a Solaris host. /opt/VirtualBox/amd64/vboxefi.fv seems to have not been installed. Was this omitted from the .pkg by accident? There is a version of it at /opt/VirtualBox/vboxefi.fv so I'm curious if this only works on 32-bit hosts so far.

 Edit: DOH! I'm an idiot. Just read nike's post #3 to this thread... Which leads to the next question: How do I start VBox in 32-bit mode? ;) 
lewellyn
 
Posts: 18
Joined: 7. Sep 2008, 08:03
Location: San Francisco Bay Area
Primary OS: Solaris
VBox Version: PUEL
Guest OSses: DOS, Windows, (Open)Solaris, Linux, BSD, QNX, OS/2

Re: EFI support

Postby Hachiman » 12. Nov 2009, 11:12

lewellyn wrote:I'm unable to use the EFI support on a Solaris host. /opt/VirtualBox/amd64/vboxefi.fv seems to have not been installed. Was this omitted from the .pkg by accident? There is a version of it at /opt/VirtualBox/vboxefi.fv so I'm curious if this only works on 32-bit hosts so far.


It's missed by mistake it isn't depend on host bitness. Please download missed binary from http://virtualbox.org/download/testcase/vboxefi.fv and put it to /opt/VirtualBox/amd64. Sorry for inconvenience.
--
Kind regards
Sr. Software Engineer
Oracle Corporation
Vasily Levchenko

PS. Happy VBoxing.
Hachiman
 
Posts: 94
Joined: 18. Dec 2008, 21:04
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Solaris, NetBSD

Re: EFI support

Postby lewellyn » 12. Nov 2009, 12:22

Awesome. Love the VirtualBox logo used for EFI. :) Now, to figure out why I can't get any guests to install... (I suspect user error, based upon the time here... ;) )
lewellyn
 
Posts: 18
Joined: 7. Sep 2008, 08:03
Location: San Francisco Bay Area
Primary OS: Solaris
VBox Version: PUEL
Guest OSses: DOS, Windows, (Open)Solaris, Linux, BSD, QNX, OS/2

Re: EFI support

Postby Hachiman » 12. Nov 2009, 12:47

(I suspect user error, based upon the time here... ;) )

rigth.

What the guest you're trying to install, btw?
--
Kind regards
Sr. Software Engineer
Oracle Corporation
Vasily Levchenko

PS. Happy VBoxing.
Hachiman
 
Posts: 94
Joined: 18. Dec 2008, 21:04
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Solaris, NetBSD

Re: EFI support

Postby Hachiman » 16. Nov 2009, 05:56

Have received question about rEFIt. yes, it could be started at VM, but with "modifications". The problem with rEFIt is a lack of support big amount of filesystems in our firmware, e.g. iso family is ISO9660 and limited Rock Ridge. So "modification" is burning new image using refit-0.13-bin.tar.gz from http://refit.sf.net with mkisofs
Code: Select all   Expand viewCollapse view
# mkisofs -R -o refit.iso refit-0.13-bin


When the burned refit.iso is loaded. It's important for rEFIt where it was launched (it won't find its config if will be launched from root or different folder)
Code: Select all   Expand viewCollapse view
Shell> fs0:
fs0:\> cd efi\refit\
fs0:\efi\refit\> refit.efi


It might be useful to read EFI shell manual Efi Shell getting Started Guide or Command Reference: EFI Shell Commands also.
--
Kind regards
Sr. Software Engineer
Oracle Corporation
Vasily Levchenko

PS. Happy VBoxing.
Hachiman
 
Posts: 94
Joined: 18. Dec 2008, 21:04
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Solaris, NetBSD

Re: EFI support

Postby nike » 25. Nov 2009, 20:14

BTW, beta 3 will have 64-bit firmware too (FW bitness detected based on guest type, or can be set manually with VBoxManage).
nike
 
Posts: 47
Joined: 7. Jul 2008, 00:00
Location: SPB
Primary OS: Ubuntu 8.04
VBox Version: PUEL
Guest OSses: OS/2 1.2, Windows 3.11, OSX

Next

Return to Pre-Beta 5.2 Postings

Who is online

Users browsing this forum: No registered users and 0 guests