[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VirtualBox WinXP host, Linux Partition guest?



On Thu, 16 Aug 2012 18:15:39 +0800, ernest wrote:

> This may not be the correct place for me to post this question but i
> couldn't find anywhere that i can. Please direct me to the correct forum
> if it is the wrong place.

This is a good place for me :-)

> I have two partitions created on my Laptop, one for Win XP and the other
> for Debian Squeeze.
> 
> I read about this article and tried the suggestions. Booted from Win XP
> (as Host)and created a .VMDK file to boot Debian VM guest from the
> "REAL" Debian partition. It works and able to logon into the linux
> system.

Note that VirtualBox does not recommend using this kind of "raw¹" images 
as this is an expert feature and can badly crash, you've been warned. 

> However, I encountered problem with networking. I'm unable to ping
> anyone else except local host.  When check on IFCONFIG, there is no eth0
> configured.

>From the guest, run:

dmesg | grep -i eth
lspci | grep -i ether

> To confirm if my ethernet card is ok, i booted up Linux from Linux
> partition.   It came up perfectly ok and I can ping my gateway and i can
> see eth0 in IFCONIG.
> 
> Did i missed anything or the networking would not work in this kind of
> setup?

The first thing to get is having the network card detected in the guest, 
while kernel sees no adapter, no networking facility will be available.

Also, as an aside note, remember that to have the guest working as 
another computer in the network, you have to configure the network card 
device from the VM setup in bridge² mode, this way the guest will act 
independently because a NATed device will only be able to see itself and 
reach the gateway (for web browsing).

¹https://www.virtualbox.org/manual/ch09.html#rawdisk
² https://www.virtualbox.org/manual/ch06.html

Greetings,

-- 
Camaleón


Reply to: