RE: booting a different kernel each time
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Fernan Aguero Sent: Wednesday, May 28, 2003 10:58 AM To: [EMAIL PROTECTED] 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: booting a different kernel each time
I would recommend just making a new kernel that can support the hardware of either machine. To the best of my knowledge there would be no problem going back and forth. As for the modules, I wouldn't worry about it. I believe that as long as both kernels are compiled from the same source tree, the modules should be the same. However, I am certainly not the King of Weasels when it comes to kernel modules so I may be mistaken. - Original Message - From: "Fernan Aguero" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 28 May, 2003 10:58 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 > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"