From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 06:15:30 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14EA716A418 for ; Tue, 11 Sep 2007 06:15:30 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from smtp102.math.arizona.edu (smtp102.math.arizona.edu [128.196.102.202]) by mx1.freebsd.org (Postfix) with ESMTP id 04AFA13C45B for ; Tue, 11 Sep 2007 06:15:29 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp102.math.arizona.edu with local-bsmtp (Exim 4.50) id 1IUz1x-0005u5-K0 for questions@freebsd.org; Mon, 10 Sep 2007 23:15:26 -0700 Received: from 71-220-146-155.tcsn.qwest.net ([71.220.146.155] helo=[192.168.0.3]) by smtp102.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1IUz1u-0005tm-Cg; Mon, 10 Sep 2007 23:15:22 -0700 Message-ID: <46E631A7.6060705@math.arizona.edu> Date: Mon, 10 Sep 2007 23:11:51 -0700 From: Predrag Punosevac User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: cracker jack , questions@freebsd.org References: <5a3499010709102158o4def6a84v3d2898e082abe0fa@mail.gmail.com> In-Reply-To: <5a3499010709102158o4def6a84v3d2898e082abe0fa@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Outgoing-Spam-Score: -5.9 (-----) Cc: Subject: Re: build and install a kernel to another mounted system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2007 06:15:30 -0000 Forgive me my stupidity. What are you exactly trying to do? Are you trying to install FreeSBIE on the hard drive that you mounted as a file system? Officially FreeSBIE 2.01 does not support installation. If I was supposed to do this I would just do an honest installation of FreeBSD 6.2. stable and copy configuration files from FreeSBIE and then compile the same packages that you like Xfce and etc. cracker jack wrote: > Hi guys, > > I hope I'm posting in the right place. > My situation is that I've got a laptop thats booted with a live-cd FreeSBIE. > My laptops HD (/dev/ad0s1a) is mounted on /tmp/fixed and I'm trying to > build and install > a kernel to that mounted filesystem, with home, tmp, var and usr > mounted on /tmp/fixed/home etc. > > I've got the kernel sources extracted to /tmp/fixed/usr/src/ by the following: > # cd /path-to/6.2-RELEASE/src > # cat ssys.[a-d]* | tar -zxvf - -C /tmp/fixed/usr/src > # cat sbase.[a-d]* | tar -zxvf - -C /tmp/fixed/usr/src/ > > My custom kernel is in /tmp/fixed/root/kernels/CUSTOM, with a symlink > from /tmp/fixed/usr/src/sys/i386/conf/CUSTOM pointing to it. > > But I'm getting errors when from /tmp/fixed/usr/src I run > # make buildkernel KERNCONF=CUSTOM > > I've tried to run that under a chroot too: > # chroot /tmp/fixed > # setenv MAKEOBJDIRPREFIX /usr/obj2 > # setenv DESTDIR / > # make buildkernel KERNCONF=CUSTOM > > But I'm still getting errors, mainly with ACPI. > > Is it possible to do what I'm looking at? ie build a custom kernel > using sources from a mounted filesystem, and install it to that > mounted filesystem? > > Thanks plenty. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >