Re: chroot and mount -t proc On Sat, 2006-05-06 at 13:24 +0200, Mogens V. wrote:
snip...
> I won't try to explain weather or not the two ways might work identical,
> but since the proc filesystem is a kernel interface, I would never
> chroot without first having mounted the proc fs belonging to the kernel
> I'm chroot'ing to.
> Everytime I do it the Right Way, it works fine for me.
>
> Usually, I do this when installing Gentoo from a USB disk image, booting
> off the cd.
> Sometimes, a new netcard (i.e. Broadcom or Intel Gbit on a Dell) is not
> supported, so I compile the driver. I'll later emerge the Gentoo driver.
>
So, you're saying
mount -t proc none /mnt/chroot/proc
chroot /mnt/chroot
is the "right" way? When I do it this way, the errors I noted are
absent, which _is_ good!
Thx
--
Peter |