Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2007 23:11:51 -0700
From:      Predrag Punosevac <punosevac@math.arizona.edu>
To:        cracker jack <t41pad@googlemail.com>,  questions@freebsd.org
Subject:   Re: build and install a kernel to another mounted system
Message-ID:  <46E631A7.6060705@math.arizona.edu>
In-Reply-To: <5a3499010709102158o4def6a84v3d2898e082abe0fa@mail.gmail.com>
References:  <5a3499010709102158o4def6a84v3d2898e082abe0fa@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46E631A7.6060705>