Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2007 12:49:00 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "KAYVEN RIESE" <kayve@sfsu.edu>
Cc:        freebsd-stable@freebsd.org, Tuomo Latto <djv@iki.fi>
Subject:   Re: install SCSI over ATAPI for DVD
Message-ID:  <790a9fff0705021049i72979babya2cf173222dcda20@mail.gmail.com>
In-Reply-To: <Pine.SOC.4.64.0705020957480.4379@libra.sfsu.edu>
References:  <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <Pine.SOC.4.64.0705012038110.1354@libra.sfsu.edu> <200705021458.01813.doconnor@gsoft.com.au> <Pine.SOC.4.64.0705020909210.4379@libra.sfsu.edu> <4638BDBC.4070805@iki.fi> <Pine.SOC.4.64.0705020957480.4379@libra.sfsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/2/07, KAYVEN RIESE <kayve@sfsu.edu> wrote:
> On Wed, 2 May 2007, Tuomo Latto wrote:
>
> > KAYVEN RIESE wrote:
> >> Then run config NEW_FILE
> >>
> >> Go into kernel build directory run
> >> make cleandepend ; make depend ; make && make install
> >>
> >> but i don't know what the "kernel build directory" is
> >>
> >> prolly simple for you guys.  i just did the command
> >> in the
> >>
> >> /usr/src/sys/i386/conf
> >>
> >> directory and it didn't werk.
> >
> > Try these:
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
>
>
> i don't see any "config NEW_FILE" like statements on these pages.. i see
> the /usr/src/sys/i386/conf directory.. and i don't see that command he
> told me to do:
>
> make cleandepend ; make depend ; make && make install
>
> i see "make buildkernel" and "make installkernel" that makes me very
> nervous.
>

Don't be.

What the first person advised you on was the old way of compiling a
kernel, the new way is to use make buildkernel and make installkernel
from /usr/src.

Just follow the example in the hand book.

On 5/2/07, KAYVEN RIESE <kayve@sfsu.edu> wrote:
> okay.  i was there.  should "MYKERNEL" be "NEW_FILE?"
>
MYKERNEL, NEW_FILE are just the name of the kernel configuration file.

cp /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/conf/KAYVEN
vi /usr/src/sys/i386/conf/KAYVEN

Change 'ident GENERIC' to 'ident KAYVEN'. This is to identify which
kernel your system is running.
Add/remove devices, options as needed.

cd /usr/src
make buildkernel KERNCONF=KAYVEN
make installkernel KERNCONF=KAYVEN

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.



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