From owner-freebsd-questions Sat Nov 23 8: 9:25 2002 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 CFCCE37B401 for ; Sat, 23 Nov 2002 08:09:23 -0800 (PST) Received: from users.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77CA043E88 for ; Sat, 23 Nov 2002 08:09:22 -0800 (PST) (envelope-from munk@users.munk.nu) Received: from users.munk.nu (localhost [127.0.0.1]) by users.munk.nu (8.12.6/8.12.6) with ESMTP id gANG9M0G054244 for ; Sat, 23 Nov 2002 16:09:23 GMT (envelope-from munk@users.munk.nu) Received: (from munk@localhost) by users.munk.nu (8.12.6/8.12.6/Submit) id gANG9M0s054243 for freebsd-questions@FreeBSD.ORG; Sat, 23 Nov 2002 16:09:22 GMT Date: Sat, 23 Nov 2002 16:09:21 +0000 From: Jez Hancock To: FreeBSD questions List Subject: Re: Booting an alternate kernel Message-ID: <20021123160921.GA54194@users.munk.nu> Mail-Followup-To: FreeBSD questions List References: <20021123150522.GA53763@users.munk.nu> <3.0.5.32.20021123093535.010ff368@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3.0.5.32.20021123093535.010ff368@mail.sage-one.net> User-Agent: Mutt/1.4i 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 On Sat, Nov 23, 2002 at 09:35:35AM -0600, Jack L. Stone wrote: > At 03:05 PM 11.23.2002 +0000, Jez Hancock wrote: > >Hi, > > > >I have fbsd 4.7 installed on a hdd in a dev machine which I want to transfer > >to and from another machine. However the current machine is a K6-2 CPU > and the target > >machine is an AMD Athlon 1900+ - a generic kernel will not work > >when I transfer the hdd between machines. > > > >I've just built a new kernel that will work in the Athlon and the kernel > >that works ok in the K6 machine is now called /kernel.old. > > > >How can I make sure I don't accidentally overwrite /kernel.old (ie when > >I rebuild the kernel again)? Ideally I'd like to rename kernel.old to > >something like kernel.k6, but would I have to rename the /modules.old > >dir too? > > > >Thanks in advance, > > > >Jez > > > > You can just copy the kernel to kernel.k6. You don't need to delete the > kernel.old..... Cheers Jack. The main thing I was unsure of was what files a kernel rebuild puts in /modules - ie if I had to rename /modules.old as well as just /kernel.old - but I've had a chance to check it out now and it seems the size of /modules and /modules.old is identical (as long as the release point is the same of course). All ticking over verrrrrrrry fast - this athlon 1900+ is a far cry from the p166 ! On to building X on freebsd for first time - joy ;) Thanks again, Jez To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message