Re: Upgrading the kernel

2004-01-26 Thread Robert H. Perry
Ryan Thompson wrote:

Robert H. Perry wrote to FreeBSD-Questions:

 

I'm upgrading from 4.7 RELEASE to 4.8 RELEASE soon.  My understanding
is that once you have built the world with buildworld, it's time to
build and install the new kernel.
   

In your scenario, yes, you'll definitely want to build a new kernel. In
fact, I hope you elected to go with the security branch (RELENG_4_8), so
that you get the 13 or so security related fixes that have been applied
since 4.8 was released.
Hadn't intended to, but now I'll have to consider it.  This is my first 
upgrade and I was sticking with the basics.

 

My current kernel is customized with a sound card device and nothing
else.
   

That's fine; you can continue to use your kernel config.
(/usr/src/sys/i386/conf/WHATEVERYOUCALLEDYOURKERNELCONFIG)
 

The  FreeBSD Handbook indicates that the safest way to do this is to
build and install a kernel based on GENERIC.  After booting from
GENERIC and verifying that your system works you can then customize
your kernel.
   

Well, you can if you want, but you won't have any issues from 4.7 -
4.8. I'd just go with your custom kernel config.
 

Can I use the commands, # make buildkernel and # make installkernel,
or are #make buildkernel KERNCONF=GENERIC and # make installkernel
KERNCONF=GENERIC the correct commands?
   

Have you specified KERNCONF in /etc/make.conf?

No.

If not, then it defaults
to GENERIC. In your case, though, again, you shouldn't have any problems
building from your custom conf.
Just to clarify then, is the following OK:

# cd /usr/src
# make buildkernel KERNCONF=CUSTOM
# make installkernel KERNCONF=CUSTOM
CUSTOM is the name of my kernel config file.

- Ryan

 



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrading the kernel

2003-10-23 Thread Robert H. Perry
I'm upgrading from 4.7 RELEASE to 4.8 RELEASE soon.  My understanding is 
that once you have built the world with buildworld, it's time to build 
and install the new kernel.

My current kernel is customized with a sound card device and nothing else.

The  FreeBSD Handbook indicates that the safest way to do this is to 
build and install a kernel based on GENERIC.  After booting from GENERIC 
and verifying that your system works you can then customize your kernel.

Can I use the commands, # make buildkernel and # make installkernel, or 
are #make buildkernel KERNCONF=GENERIC and # make installkernel 
KERNCONF=GENERIC the correct commands?

Thank you,
Bob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading the kernel

2003-10-23 Thread Ryan Thompson
Robert H. Perry wrote to FreeBSD-Questions:

 I'm upgrading from 4.7 RELEASE to 4.8 RELEASE soon.  My understanding
 is that once you have built the world with buildworld, it's time to
 build and install the new kernel.

In your scenario, yes, you'll definitely want to build a new kernel. In
fact, I hope you elected to go with the security branch (RELENG_4_8), so
that you get the 13 or so security related fixes that have been applied
since 4.8 was released.

 My current kernel is customized with a sound card device and nothing
 else.

That's fine; you can continue to use your kernel config.
(/usr/src/sys/i386/conf/WHATEVERYOUCALLEDYOURKERNELCONFIG)

 The  FreeBSD Handbook indicates that the safest way to do this is to
 build and install a kernel based on GENERIC.  After booting from
 GENERIC and verifying that your system works you can then customize
 your kernel.

Well, you can if you want, but you won't have any issues from 4.7 -
4.8. I'd just go with your custom kernel config.

 Can I use the commands, # make buildkernel and # make installkernel,
 or are #make buildkernel KERNCONF=GENERIC and # make installkernel
 KERNCONF=GENERIC the correct commands?

Have you specified KERNCONF in /etc/make.conf? If not, then it defaults
to GENERIC. In your case, though, again, you shouldn't have any problems
building from your custom conf.

- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading the kernel

2003-10-23 Thread Ryan Thompson
Robert H. Perry wrote to Ryan Thompson:

 In your scenario, yes, you'll definitely want to build a new kernel.
 In fact, I hope you elected to go with the security branch
 (RELENG_4_8), so that you get the 13 or so security related fixes
 that have been applied since 4.8 was released.

 Hadn't intended to, but now I'll have to consider it.  This is my
 first upgrade and I was sticking with the basics.

Yep. If you're upgrading from source anyway, upgrading to RELENG_4_8 is
no harder than -RELEASE.

  If not, then it defaults to GENERIC. In your case, though, again,
  you shouldn't have any problems building from your custom conf.

 Just to clarify then, is the following OK:

 # cd /usr/src
 # make buildkernel KERNCONF=CUSTOM
 # make installkernel KERNCONF=CUSTOM

 CUSTOM is the name of my kernel config file.

Yes. For the full how-to, follow the instructions in:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading the kernel

2003-10-23 Thread Robert H. Perry
Ryan Thompson wrote:

Robert H. Perry wrote to Ryan Thompson:

 

In your scenario, yes, you'll definitely want to build a new kernel.
In fact, I hope you elected to go with the security branch
(RELENG_4_8), so that you get the 13 or so security related fixes
that have been applied since 4.8 was released.
 

Hadn't intended to, but now I'll have to consider it.  This is my
first upgrade and I was sticking with the basics.
   

Yep. If you're upgrading from source anyway, upgrading to RELENG_4_8 is
no harder than -RELEASE.
 

If not, then it defaults to GENERIC. In your case, though, again,
you shouldn't have any problems building from your custom conf.
 

Just to clarify then, is the following OK:

# cd /usr/src
# make buildkernel KERNCONF=CUSTOM
# make installkernel KERNCONF=CUSTOM
CUSTOM is the name of my kernel config file.
   

Yes. For the full how-to, follow the instructions in:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
- Ryan

 

Ryan,

Thanks for your time and assistance.

Bob

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]