Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2001 20:13:04 -0000
From:      "G D McKee" <freebsd@gdmckee.com>
To:        "Matthew Koivisto" <mkoivist@nortelnetworks.com>
Cc:        "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Multiple kernels
Message-ID:  <000b01c09142$60faeba0$0500a8c0@gdmckee.local>
References:  <E1A4B2CC91EBD1118A510000F80836F803ECAB0D@zwdld002.ca.nortel.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
RE: Multiple kernelsHi


It is all in the FreeBSD handbook.

You need to cvsup your source, and do a make world.  Then compile a new 4.2 kernel.

Gordon.
  ----- Original Message ----- 
  From: Matthew Koivisto 
  To: 'freebsd-questions@freebsd.org' 
  Sent: Wednesday, February 07, 2001 7:35 PM
  Subject: RE: Multiple kernels


  Thnxs a lot, 
  Now I have another question :) 
  There's not really a clear how-to out there on upgrading a freeBSD system (I didn't install 4.1, someone else did) I've seen warning about not buliding a new (ie 4.2) kernel from a system running 4.1. I don't really understand, how else are you supposed to build a 4.2 kernel? Or am I just dumb and not understanding this warning?

  Thnx, 
  Matt Koivisto 

   -----Original Message----- 
  From:   Tim McMillen [mailto:timcm@umich.edu] 
  Sent:   Wednesday, February 07, 2001 1:57 PM 
  To:     Koivisto, Matthew [WDLN2:AN33:EXCH]; 'freebsd-questions@freebsd.org' 
  Subject:        Re: Multiple kernels 

  On Wednesday February 07, 2001 13:32, Matthew Koivisto wrote: 

  > > Hi, I'm fairly new to freeBSD and I'm currently running a system 
  with 
  > freeBSD 4.1 - RELEASE. I would like to upgrade to freeBSD 4.2 - 
  > RELEASE but I would also like to keep my old 4.1 kernel around. Is it 
  > possible to use the kernel boot loader to run different kernel 
  > versions like this? Or is the kernel boot loader just for loading 
  > kernels built with different options and not versions? 

  You can load that kernel, but it will not work.  Basically you can't do 
  that.  In FreeBSD, the kernel is tightly integrated with the rest, and 
  must have the same version.  This is generally helpful and provides 
  much of FreeBSD's stability. 
          If you have compiled something into your 4.1 kernel that you want, 
  then you'll have to put that into a new kernel config file for 4.2 and 
  recompile your kernel, if you want to use 4.2 

                                          Tim 
  -- 

  /""\ 
  \  / 
   X ASCII Ribbon Campaign - Say NO to HTML in email 
  /  \ 



  To Unsubscribe: send mail to majordomo@FreeBSD.org 
  with "unsubscribe freebsd-questions" in the body of the message 


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: Multiple kernels</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It is all in the FreeBSD handbook.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>You need to cvsup your source, and do a make 
world.&nbsp; Then compile a new 4.2 kernel.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Gordon.</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=mkoivist@nortelnetworks.com 
  href="mailto:mkoivist@nortelnetworks.com">Matthew Koivisto</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=freebsd-questions@FreeBSD.ORG 
  href="mailto:'freebsd-questions@freebsd.org'">'freebsd-questions@freebsd.org'</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 07, 2001 7:35 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: Multiple kernels</DIV>
  <DIV><BR></DIV>
  <P><FONT size=2>Thnxs a lot, </FONT><BR><FONT size=2>Now I have another 
  question :)</FONT> <BR><FONT size=2>There's not really a clear how-to out 
  there on upgrading a freeBSD system (I didn't install 4.1, someone else did) 
  I've seen warning about not buliding a new (ie 4.2) kernel from a system 
  running 4.1. I don't really understand, how else are you supposed to build a 
  4.2 kernel? Or am I just dumb and not understanding this warning?</FONT></P>
  <P><FONT size=2>Thnx,</FONT> <BR><FONT size=2>Matt Koivisto</FONT> </P>
  <P><FONT size=2>&nbsp;-----Original Message-----</FONT> <BR><FONT size=2>From: 
  &nbsp; Tim McMillen [<A 
  href="mailto:timcm@umich.edu">mailto:timcm@umich.edu</A>] </FONT><BR><FONT 
  size=2>Sent:&nbsp;&nbsp; Wednesday, February 07, 2001 1:57 PM</FONT> <BR><FONT 
  size=2>To:&nbsp;&nbsp;&nbsp;&nbsp; Koivisto, Matthew [WDLN2:AN33:EXCH]; 
  'freebsd-questions@freebsd.org'</FONT> <BR><FONT 
  size=2>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Re: Multiple 
  kernels</FONT> </P>
  <P><FONT size=2>On Wednesday February 07, 2001 13:32, Matthew Koivisto 
  wrote:</FONT> </P>
  <P><FONT size=2>&gt; &gt; Hi, I'm fairly new to freeBSD and I'm currently 
  running a system </FONT><BR><FONT size=2>with</FONT> <BR><FONT size=2>&gt; 
  freeBSD 4.1 - RELEASE. I would like to upgrade to freeBSD 4.2 -</FONT> 
  <BR><FONT size=2>&gt; RELEASE but I would also like to keep my old 4.1 kernel 
  around. Is it</FONT> <BR><FONT size=2>&gt; possible to use the kernel boot 
  loader to run different kernel</FONT> <BR><FONT size=2>&gt; versions like 
  this? Or is the kernel boot loader just for loading</FONT> <BR><FONT 
  size=2>&gt; kernels built with different options and not versions?</FONT> </P>
  <P><FONT size=2>You can load that kernel, but it will not work.&nbsp; 
  Basically you can't do </FONT><BR><FONT size=2>that.&nbsp; In FreeBSD, the 
  kernel is tightly integrated with the rest, and </FONT><BR><FONT size=2>must 
  have the same version.&nbsp; This is generally helpful and provides 
  </FONT><BR><FONT size=2>much of FreeBSD's stability.</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT size=2>If you have 
  compiled something into your 4.1 kernel that you want, </FONT><BR><FONT 
  size=2>then you'll have to put that into a new kernel config file for 4.2 and 
  </FONT><BR><FONT size=2>recompile your kernel, if you want to use 4.2</FONT> 
  </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT size=2>Tim</FONT> <BR><FONT 
  size=2>-- </FONT></P>
  <P><FONT size=2>/""\ </FONT><BR><FONT size=2>\&nbsp; / </FONT><BR><FONT 
  size=2>&nbsp;X ASCII Ribbon Campaign - Say NO to HTML in email 
  </FONT><BR><FONT size=2>/&nbsp; \</FONT> </P><BR>
  <P><FONT size=2>To Unsubscribe: send mail to majordomo@FreeBSD.org</FONT> 
  <BR><FONT size=2>with "unsubscribe freebsd-questions" in the body of the 
  message</FONT> </P></BLOCKQUOTE></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c09142$60faeba0$0500a8c0>