Page 1 of 1

Error: VERR_PDM_DEVICE_NOT_FOUND

Posted: 27. Jul 2009, 16:21
by electricedge
Ok, for starters, this was probably really retarded of me, but I'm not afraid to try new things and so I tried to forward the NAT from host to guest. Here's the details.

The host is Windows Vista Basic and the guest is Ubuntu 9.0.4-desktop-i386, I have VirtualBox 3.0.2

What I did was I typed into the command promt: VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 2222

I restarted VirtualBox and Ubuntu to check if everything was ok, but the command didn't seem to work and then I discovered that my driver was in fact pcnet32, so I went back to the command prompt: VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet32/0/LUN#0/Config/guestssh/Protocol" TCP
VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet32/0/LUN#0/Config/guestssh/GuestPort" 22
VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet32/0/LUN#0/Config/guestssh/HostPort" 2222

Then I tried to start Ubuntu and I got this error message: Failed to start the virtual machine Ubuntu
Unknown error creating VM (VERR_PDM_DEVICE_NOT_FOUND)

From there I tried to undo the damage by typing: VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet32/0/LUN#0/Config/guestssh/Protocol"
VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet32/0/LUN#0/Config/guestssh/GuestPort"
VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet32/0/LUN#0/Config/guestssh/HostPort"

But I still get the same error message and I'm pretty upset since everything was working perfect until I srewed it up. Do I have to reinstall Ubuntu? Isn't there some kind of magical command I can type into the command prompt to make all my troubles just disapear?

Re: Error: VERR_PDM_DEVICE_NOT_FOUND

Posted: 27. Jul 2009, 16:32
by vbox4me2
Manually edit the xml file and remove the forward entries.

Re: Error: VERR_PDM_DEVICE_NOT_FOUND

Posted: 27. Jul 2009, 17:07
by electricedge
Thanks for your speedy reply! But I figured it out by using the VirtualBox manual. I just typed into the command promt:
>VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet32/0/LUN#0/Config/guestssh/Protocol"
>VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet32/0/LUN#0/Config/guestssh/GuestPort"
>VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet32/0/LUN#0/Config/guestssh/HostPort"

It seems that I made an error with the syntax earlier and typed: >VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet32/0/LUN#0/Config?guestssh/Protocol"

I would however like to get the port forwarding working. When I type: $ iwconfig into Ubuntu I get: lo no wireless extensions
eth0 no wireless extensions
pan0 no wireless extensions

Any suggetions? I want to get eth0 up and running.