From owner-freebsd-questions Fri May 3 14:22:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from postfix.ultradns.net (postfix.ultradns.net [204.74.100.40]) by hub.freebsd.org (Postfix) with ESMTP id 2DDC037B405 for ; Fri, 3 May 2002 14:22:06 -0700 (PDT) Received: from localhost (localhost.ultradns.net [127.0.0.1]) by postfix.ultradns.net (Postfix) with ESMTP id E280D22FE0; Fri, 3 May 2002 14:25:04 -0700 (PDT) Received: from ultra-exchange.UltraDNS.com (nat-external.ultradns.net [204.74.100.10]) by postfix.ultradns.net (Postfix) with ESMTP id 51A9722F80; Fri, 3 May 2002 14:25:02 -0700 (PDT) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Subject: RE: Remote Upgrade Date: Fri, 3 May 2002 14:22:02 -0700 Message-ID: <3DBB075EEB95944492E127F2B9A96FAF539525@ultra-exchange.UltraDNS.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Remote Upgrade Thread-Index: AcHyVniFkEx5q81ETu2W1xcepTc2IAAj/gog From: "Patrick Soltani" To: "Shawn Walker" Cc: X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have upgraded my production firewalls, FreeBSD 4.x, over the network = with little or no problems. Here is the recipe, couple of cvsup for src tree couple of cvsup for ports tree make -j 16 buildworld > somefile0 make buildkernel KERNCONF=3DMYKERNEL0 > somefile1 make installkernel KERNCONF=3DMYKERNEL0 > somefile2 make installworld > somefile3 reboot the machine mergemaster. The last part is kind of tricky, but executed without any options, you = get a chance to read the changes and apply the ones you want. If the machine is a 7X24 production box and you can not have it downed, = then put the lines above into a script, hopefully with some error = checking, etc and do a "nice or renice" so it runs in the background and = when finished emails you. Regards, Patrick Soltani. =20 P.S. Although I have had no problems doing this, I had a console switch = with an attached modem hooked up to the serial port so if anything went = wrong, still I could get to the machine to revive it. > -----Original Message----- > From: Shawn Walker [mailto:shawn@eblend.org] > Sent: Thursday, May 02, 2002 8:54 PM > To: freebsd-questions@freebsd.org > Subject: Remote Upgrade >=20 >=20 > Hello, >=20 > I currently have a box running 4.1-RELEASE. It is not=20 > possible for me > to gain physical access to the box, so I was wondering if it=20 > is possible to > upgrade the box remotely. I have looked at the instructions=20 > in the handbook > and in /usr/src/UPDATING, but there is some mention of a few=20 > steps that > should be completed in single user mode. Is it possible to do this > remotely? >=20 > Thanks, >=20 > --=20 > Shawn Walker > shawn@eblend.org <-----> http://www.eblend.org/ >=20 > "In rural areas, we're not going to have full coverage until=20 > cows talk." > -- Dan Dan Wilinsky, Sprint PCS >=20 >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message