No network in mixed FBSD81/90 chroot environment

Damien Fleuriot ml at my.gd
Tue Nov 29 14:58:25 UTC 2011



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.


More information about the freebsd-questions mailing list