Home > GNU/Linux, NetBSD, Operating Systems > How to install NetBSD on Linux Virtualbox

How to install NetBSD on Linux Virtualbox

Hi. In this post I show you a workaround that allows you to install (and run) NetBSD on Linux Virtualbox.
If you have tried to install NetBSD on Virtualbox probably the installation failed with an error like this:

acpiacad0: AC adapter online.
uvm_fault(0xc09e6a40, 0, 2) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 2 eip c0100d69 cs 8 eflags 10246 cr2 0 ilevel 0
kernel: supervisor trap page fault, code=0
Stopped in pid 0.15 (system) at netbsd:spllower+0x29:  addl %eax,0(%eax)

The following workaround allows you to install and run NetBSD on Virtualbox. If the name of the NetBSD machine is “NetBSD”, you have to run this command in your shell:

$ vboxsdl --norawr0 --startvm NetBSD

That’s all!
Bye bye.

  1. June 17, 2011 at 06:01

    Well, which version of Virtualbox and NetBSD do you use? I’m not sure if this problem will happen in my VBOX4. :)

    • June 17, 2011 at 14:48

      VirtualBoxOSE 4.0.4
      NetBSD 5.0.2

      • July 4, 2011 at 12:53

        Thank you very much for your reply. I may try it recently. And how about netbsd in your VM? Will it crash unexpectedly?

      • July 7, 2011 at 18:02

        No, it doesn’t crash (but I have not used it intensively).

        Bye bye.

  2. July 22, 2011 at 08:20

    Hey, I come across the same problem today ,thanks for the solution.
    and what’s the meaning of the option “norawr0”?

    • August 18, 2011 at 23:25

      $ man vboxsdl

      Enable or disable raw ring 3



  3. October 4, 2011 at 10:54

    Well this is good info on Linux. Thanks for sharing this!

  4. Starrfish
    December 1, 2012 at 06:36

    Whenever I do this, all I get is this message:
    “SDL Error: ‘DirectInputDevice::SetDataFormat: Invalid parameters'”

  1. September 2, 2011 at 05:34
  2. April 22, 2014 at 04:15

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: