booting a different kernel each time
FBSD_User at a1poweruser.com
Wed May 28 08:23:16 PDT 2003
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
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Fernan
Sent: Wednesday, May 28, 2003 10:58 AM
To: questions at freebsd.org
Subject: booting a different kernel each time
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,
PS: please CC me since I'm not subscribed to the list
F e r n a n A g u e r o
freebsd-questions at freebsd.org mailing list
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions