[NTLUG:Discuss] Making room on boot file system

Lance Simmons lance at lsimmons.net
Tue Dec 10 09:57:09 CST 2002


On Tue, Dec 10, 2002 at 09:41:25AM -0600, Dan Carlson wrote:
> I don't know if there is a proper procedure for managing the contents
> of /boot, other than doing it manually.  

If you use Debian, kernel-package does the trick.  It allows you to
compile and install a new kernel as a .deb package:

 make-kpkg kernel-image (to create the new kernel package)

 dpkg -i kernel-image-<new-version> (to install it)

You can easily remove old kernels and their associated files: 

 dpkg -r kernel-image-<old-version>

When you do things this way, all of the files in /boot are known to the
package manager.

-- 
  _
 -o)   Lance Simmons
 /\\   lance at lsimmons.net
_\_v




More information about the Discuss mailing list