Syed Jahanzaib Personal Blog to Share Knowledge !

February 27, 2012

Ubuntu in HYPER-VISOR / Network Card not detected [SOLVED]


If you have installed ubuntu in HyperV and network interface cards not detected. then you have to load the hyper visor modules in ubuntu.

To do this, edit the file /etc/initramfs-tools/modules by following command

nano /etc/initramfs-tools/modules

and add the following four lines:

hv_vmbus
 hv_storvsc
 hv_blkvsc
 hv_netvsc

Then, update the initramfs image:

sudo update-initramfs –u

Now reboot your ubuntu box. after rebooting, issue command

ifconfig

and you will see you network interface cards. Finally configure the interface cards either via GUI or CLI.
For example:

https://aacable.wordpress.com/2011/11/29/ubuntu-howto-configure-ip-address-via-cli-command/

🙂

VMWARE Workstation: Windows not detecting LAN card in Guest OS:

Add the line in vmx file of your vm guest.

ethernet0.virtualDev = “e1000”

Cheers

Syed Jahanzaib

%d bloggers like this: