LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-13-2005, 02:47 AM   #1
KlaymenDK
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD v6.0
Posts: 123

Rep: Reputation: 15
Kernel swapping: what's required?


I know I've been asking tons of Q's lately ... here's another one.

I built a custom kernel. This leaves me with a filesystem like this:
Code:
File system:
/
 boot/
      kernel          <-- current kernel
      kernel.custom   <-- my custom kernel (same as current)
      kernel.generic  <-- generic kernel
      kernel.old      <-- last kernel (same as generic)
(...etc...)
Now I'd like to "swap out" to the generic kernel for a short while (I plan to swap back soon). What do I need to replace to effectuate that? I know I will need to reboot of course, and "soon" means a couple of days -- but my machine is slow and recompiling a kernel also effectively takes at least a day, so I'm looking to avoid that.

Must I do a full-blown kernel recompile, or would it be enough to just replace the contents of /boot/kernel/ with the contents of
/boot/kernelgeneric/ ? Are there any other files that I need to change?
 
Old 11-13-2005, 10:36 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Half way down the handbook page it speaks of that.
http://www.freebsd.org/doc/en_US.ISO...g-trouble.html
 
Old 11-13-2005, 03:22 PM   #3
KlaymenDK
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD v6.0
Posts: 123

Original Poster
Rep: Reputation: 15
RTFM ... apparently I missed that bit. Seems like moving/copying the folder contents is all it takes. Brilliant.

Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Sources required for NFTS support darkblane Linux - Newbie 4 02-15-2005 03:57 AM
Reinstalling Win98SE when "drive swapping" is required OldBob Linux - Laptop and Netbook 8 10-29-2004 08:19 AM
Required kernel smilee Linux - Newbie 4 08-26-2004 07:31 PM
What packages are required for xconfig for 2.6 kernel compile? Nigel_Tufnel Debian 15 07-29-2004 07:50 AM
Kernel upgrade in RH8 resulted in swapping galore MartinN Red Hat 1 01-19-2004 01:12 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration