Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2011 15:58:20 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-questions@freebsd.org
Subject:   Re: No network in mixed FBSD81/90 chroot environment
Message-ID:  <4ED4F30C.3080302@my.gd>
In-Reply-To: <4ED4D6DA.9020604@locolomo.org>
References:  <4ED4D533.6020103@locolomo.org> <4ED4D6DA.9020604@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On 11/29/11 1:58 PM, Erik Nørgaard wrote:
> On 29/11/2011 13:50, Erik Nørgaard wrote:
>> Today I finished make build/install world/kernel in /mnt, and now I no
>> longer have network access, interfaces are visible with ifconfig but
>> no ip is set and can't be set from within the chroot environment.
>>
>> Is this to be expected? How do I get my network access back?
> Should add: Network on the host FBSD81 system works fine.
> 

When you chroot to your /mnt/ folder you're still using the 8.x kernel
and thus the 8.x NIC drivers, with a 9.x userland.

This might be your problem.


What are you trying to achieve with this, a smooth 8.x -> 9.x transition ?

You may want to, instead, install your 9.0 on a different machine
(possibly a VM), then use dump on the filesystems to inject them
properly on your new disk on the original machine.

You should then be able to reboot on the new disk just fine.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ED4F30C.3080302>