Re: Debian vs. Fedora on Laptops
On Sunday 26 December 2004 07:58, you wrote:
> > Huh? Don't you mean apt-get install kernel-package?
> > There is no make-kpkg package.
> No, it's called "kernel-package", but there is such a command, and it's
> damned useful to use to build customised kernel packages.
That's what I wrote, just two lines above. Time for a cup of coffee? :-)
> > I would recommend you use aptitude to get both kernel-package and
> > kernel-source at the same time. Then you can unpack it like you describe,
> > configure it and make it. Then use dpkg -i to install.
> Nope, using make-kpkg is more flexible than that - by a long shot, and
Well last time I checked, make-kpkg will not install the package for you. It
just makes one. You need dpkg to install it.
Here is a step by step guide which matches what I do:
> su - root
- Become root. Stop for a moment and enjoy the feeling.
- Select "kernel-package", "module-init-tools" and "kernel-source-2.***"
(use '/' to seach for them, module-init-tools may already be installed..)
- Press g to install
- Quit aptitude (press q)
# cd /usr/src
/usr/src# tar xfj kernel-source-2.***
- Wait for it to unpack.
/usr/src# ln -s kernel-source-2.*** linux
- Not needed but is convenient.
/usr/src# cd linux
/usr/src/linux# make menuconfig
- Configure your kernel. Default options should be safe. When you get the hang
of it, you can remove stuff you don't need, like pci hotplug and scsi drivers
and other stuff. Save the config when you are done.
/usr/src/linux# make-kpkg kernel-image
- Lean back and enjoy the show. Have a soft drink..
/usr/src/linux# cd ..
/usr/src# dpkg -i kernel-image-2.***
- Quit screwing around. Reboot NOW!
- Hope it works..
Anders E. Andersen