home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22263 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.7 KB  |  39 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!dibbler.cs.monash.edu.au!tym
  3. From: tym@dibbler.cs.monash.edu.au (Tim MacKenzie)
  4. Subject: Re: after compiling kernel...then what?
  5. Message-ID: <1992Dec31.073059.11315@monu6.cc.monash.edu.au>
  6. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  7. Organization: Computer Science, Monash University, Australia
  8. X-Newsreader: TIN [version 1.1 PL8]
  9. References: <marcf.725782497@yorku.ca>
  10. Date: Thu, 31 Dec 1992 07:30:59 GMT
  11. Lines: 26
  12.  
  13. Marc G Fournier (marcf@nexus.yorku.ca) wrote:
  14. >    I just successfully recompiled the kernel in Linux :)
  15.  
  16. >    Now what do I do with it?  It just leaves it in /usr/src/linux.
  17. >I copied it over /Image...is that right?
  18.  
  19. Not something I would do... I generally copy it into 
  20. /Image.<something descriptive> (eg Image-991-tcp Image-990-test)
  21. then remove the (hard) link that is /Image and make a new /Image link:
  22. 'ln Image.<name> Image'
  23. Then I add a lilo config entry for the new kernel (and remove any that
  24. are for kernels that I've deleted to make room :) and finally run
  25. the lilo install script. (the default linux kernel loaded is always /Image).
  26.  
  27. This way I can always tell which kernel I am running (it is the one
  28. that has 2 links: /Image and /Image.<descriptive name>) and can get
  29. back to any of my backup kernels if something goes wrong.
  30. [If you're not running LILO (version 0.7 I think) then DO!  I've never had
  31.  any problems with it and it's saved a lot of potential hassles caused by
  32.  dud kernels (my own fault usually:)]
  33.  
  34. Of course, you should aways have a couple of disks that you can boot off
  35. in case your hard drive goes ga-ga. (H Lu's boot/root disk or a1 and a2
  36. from the SLS distribution).
  37. --
  38. -Tim MacKenzie (tym@dibbler.cs.monash.edu.au)
  39.