Re: Badiane: make-kpkg PCMCIA conflict
--- Jeff Coppock <firstname.lastname@example.org> wrote:
> On Tue, Mar 13, 2001 at 04:52:54PM -0400, Peter Cordes wrote:
> > On Tue, Mar 13, 2001 at 09:44:47AM -0800, Francois BOTTIN wrote:
> > [...]
> > You might want to copy your vmlinuz in case of accidents. It's a
> > bad idea to ever have no kernels on your machine. At least make sure
> > have a boot disk.
I don't think it's necessary since the "dpkg -r" does not seem to change
my lilo. Then the kernel should still reside in the MBR (or whatever boot
block you use). The only danger is not beeing able to load the modules.
But if any problem occurs, one should of course always have a boot disk.
> > [...]
> Here's what I do and it works perfectly every time, with 2.2.18:
> - Install the kernel source and pcmcia source and configure the kernel
> - compile the kernel # make-kpkg kernel_image
> - compile the modules # make-kpkg modules_image
> - this makes a deb of the pcmcia modules associated with this kernel
> - install the kernel # dpkg -i kernel_image.deb
> - I've already got my system setup to boot to multiple kernels with
> - I verify that the vmlinuz and vmlinuz.old links are set properly
> - I update my boot message file and rerun lilo to make sure all is
> - install the modules # dpkg -i pcmcia_image.deb
> - this puts the pcmcia modules in the /lib/modules/2.2.18-# directory.
> - reboot and pick the new kernel at the lilo prompt
Yes, that's exactly what you have to do... if you compile a custom kernel
for the first time. If you make several versions and change the revision
number (using --revision for make-kpkg) you'll face up with a dependency
problem: your modules (pcmcia as well as others) will not be adapted to
your new kernel.
"How kind," the PFY sighs. "But where will I go?"
"Somewhere where they know nothing about computing... where they wouldn't know a RAM chip from a potato chip!"
"But I don't want to visit Microsoft!" he whines.
The BOFH 1998 - Simon Travaglia (bofh.ntk.net)
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.