From owner-freebsd-questions@FreeBSD.ORG Wed May 28 08:23:16 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0C3D37B401 for ; Wed, 28 May 2003 08:23:15 -0700 (PDT) Received: from smtp.a1poweruser.com (oh-chardon6a-49.clvhoh.adelphia.net [68.169.105.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 473B943F85 for ; Wed, 28 May 2003 08:23:15 -0700 (PDT) (envelope-from FBSD_User@a1poweruser.com) Received: from barbish (lanwin2 [10.0.10.6]) by smtp.a1poweruser.com (Postfix) with SMTP id EC9B72ED; Wed, 28 May 2003 11:34:06 -0400 (EDT) From: "FBSD_User" To: "Fernan Aguero" , Date: Wed, 28 May 2003 11:23:13 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20030528075941-115600041> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Subject: RE: booting a different kernel each time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: FBSD_User@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 15:23:16 -0000 Copy /kernel to different name, say kernela, and then recompile kernel source containing changes and it will replace /kernel, then copy /kernel to different name, say kernelb. When you want to return kernela copy kernela to kernel and reboot. You will have to change the flag on /kernel before you can overwrite it. Use commands like this chflags noschg /kernel cp /kernela /kernel chflags schg /kernel -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Fernan Aguero Sent: Wednesday, May 28, 2003 10:58 AM To: questions@freebsd.org Subject: booting a different kernel each time Hi, I need to send my everyday machine (pentiumIII) to repair. I will take the disks and move them to a spare pentiumI so I can keep working meanwhile. The problem is I need to have a kernel that will work with a different processor and with a different ethernet card. My question: are there any issues in having two different kernels and booting from the alternatively? I mean switching kernels before booting so I don't have to 'unload' a kernel at boot time and then load a diffent one. And: should I backup both the kernel and the kernel modules under a different name (kernel.p3, modules.p3/) so I can then boot from it later? Thanks in advance, Fernan PS: please CC me since I'm not subscribed to the list -- F e r n a n A g u e r o http://genoma.unsam.edu.ar/~fernan _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"