Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 1996 20:42:52 -0800 (PST)
From:      Annelise Anderson <ANDRSN@HOOVER.STANFORD.EDU>
To:        msmith@atrad.adelaide.edu.au
Cc:        questions@freebsd.org, obrien@cs.ucdavis.edu
Subject:   Re: Recompiling Kernel with Live File System
Message-ID:  <01I0BOJEPTHE00BQG9@HOOVER.STANFORD.EDU>

next in thread | raw e-mail | index | archive | help
Thanks for your help on building a new kernel using the live file system
on the second cdrom.  In the end I copied /cdrom/usr/src/sys to the hard  
drive using the -R option (this took 13 mb) and used lndir to create links 
from the hard drive to files in the other subdirectories of /cdrom/usr/src 
(except for games, etc, and share).  In any case, it worked!  
 
(I considered installing the kernel sources from the first cdrom 
using /stand/sysinstall but nothing in the menu seemed specific to this; 
/cdrom/dists/src is about 28 megabytes of binaries).
 
Annelise
_______________________________________
 
Michael Smith wrote:
 
>David E. O'Brien stands accused of saying:
> 
>>> If we assume that the live filesystem CD is mounted, and you're using csh 
:
>>>
>>> # mkdir /usr/src/sys
>>> # cd /usr/src/sys
>>> # foreach i (/cdrom/usr/src/sys/*)
>>> foreach? ln -s $i
>>> foreach? end
> 
>>Won't work.  You are creating links to the DIRECTORIES.  And that will
 
>That's right.  And in the DIRECTORIES are FILES.  All basic stuff.
 
>> give you some trouble.  You may still try to write to the CDROM.  Rather
>> you want to create real directories on your hard disk and make links to
>> the FILES.  lndir will do all this for you.
 
>Mea maxima culpa, I forgot libkern.  Apart from that, _nothing_ gets written
>into the kernel source tree.  This is a fundamental feature of the 
>way that multiple configurations are supported.
 
>(Note, I have done this, modulo libkern, many times.  I know it works,
>both off CD, and also off readonly NFS-mounted source trees.)
 
>> -- David   (obrien@cs.ucdavis.edu)
 
-- 
>]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[




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