Date: Wed, 28 May 2003 11:23:13 -0400 From: "FBSD_User" <FBSD_User@a1poweruser.com> To: "Fernan Aguero" <fernan@iib.unsam.edu.ar>, <questions@freebsd.org> Subject: RE: booting a different kernel each time Message-ID: <MIEPLLIBMLEEABPDBIEGKECIDOAA.FBSD_User@a1poweruser.com> In-Reply-To: <20030528075941-115600041>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGKECIDOAA.FBSD_User>
