l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Jan 26 15:43

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Kernel compiles with a dash of debian magic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Kernel compiles with a dash of debian magic

I'm trying to learn the arcane art of kernel compiles ... my goal is to get ndiswrapper compiled as a module, operational, and driving a linksys wireless card.

Thanks to a guide at http://www.osnews.com/story.php?news_id=2949 I've got the 'compile' part down, using make-kpkg to build the kernel image as a .deb file and automagically install it.

Of *course* there's something I'll do wrong. Last night's attempt to build a trimmed 2.4.29 kernel is kernel panic'ing in the boot process. Sooo ... time to try again. Except -- how do I get rid of the damaged kernel & modules so I can try again?
The guide at http://newbiedoc.sourceforge.net/system/kernel-pkg.html suggests the command "dpkg -P /boot/(kernel image name)" to uninstall it. That didn't work
Trying to remove the kernel through 'dpkg (-r / -P) [kernel image .deb name]' isn't doing anything either. (I read the dpkg manpage and guessed at that part).

So I've googled ... I've read manpages ... I've R T'ed the effing M ... and I'm still wondering:

- Is there a way through dpkg to clear out my damaged 2.4.29 kernel (w) any of its other wreckage (modules, etc).


- Where on the filesystem do I need to go through to manually remove the flipping thing? (The kernel image, the modules directory, the entries in GRUB, etc.)?


vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!