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