Date: Tue, 30 Sep 2008 21:28:39 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org Cc: Olivier Smedts <olivier@gid0.org> Subject: Re: chrooting in a 32-bit world from a 64-bit kernel+world Message-ID: <200809302128.40212.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <20080930184401.GA23783@q.gid0.org> References: <20080930184401.GA23783@q.gid0.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 30 September 2008 20:44:02 Olivier Smedts wrote: > So far I've got a working FreeBSD (kernel+world) in a 512MB image I can > dump on a CompactFlash card : > # cd /usr/src > # make buildworld TARGET=i386 > # make buildkernel TARGET=i386 > # mount /dev/md0a /mnt > (md0 is a 512MB file backed image I bsdlabel'd and newfs'd before) > # make installworld TARGET=i386 DESTDIR=/mnt > # make distribution TARGET=i386 DESTDIR=/mnt > # make installkernel TARGET=i386 DESTDIR=/mnt > > The problem is that I can't chroot in this 32-bit world. > Say I want to install the sysutils/screen port in /mnt : > > # mkdir /mnt/usr/ports > # mount -t nullfs /usr/ports /mnt/usr/ports > # mount -t devfs devfs /mnt/dev It's a guess, but at this point: chroot /mnt /etc/rc.d/ldconfig start If that don't work: /sbin/ldconfig -32 -s -f /mnt/var/run/ld-elf.so.hints /mnt/lib \ /mnt/usr/lib Does that work / change the error or no change at all? -- Mel Problem with today's modular software: they start with the modules and never get to the software part.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809302128.40212.fbsd.questions>