View Single Post

   
  #10 (permalink)  
Old 02-19-2008, 12:55 PM
Mike Denhoff
 
Posts: n/a
Default Re: installing in chroot

On Mon, 28 Jun 2004 13:57:30 -0500, /dev/rob0 wrote:

> On Mon, 28 Jun 2004 13:28:59 -0400, Mike Denhoff wrote:
>> Then using pkgtool I ran the various setup scripts. The only unusual
>> think here was that the netconfig script did not probe for my network
>> card. Maybe because I had hotplug enabled?

>
> Probably without /proc the probing does not work. I haven't delved into
> the code to know for sure, but that would be my guess.
>

Okay, you made me look. netconfig contains

# Check for existing network driver:
unset DONOTPROBE
if cat /proc/net/dev | grep eth0 1> /dev/null 2> /dev/null ; then
DONOTPROBE=true
fi

After I chroot'ed from the running Slack 9.1 into the new Slack 10, I did
mount /proc. I guess netconfig found the eth0 in Slack 9.1 and did not
do the probe.

>> Hmm, I wonder how I could move my normal users over with their same
>> passwords.

>
> Copy from the old /etc the files group, passwd, and *shadow. However
> you should merge some of the new groups added in 10.0.


Thanks,
Mike
Reply With Quote