LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-19-2004, 04:21 AM   #1
Ninja Cow
Member
 
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Rep: Reputation: 30
Custom slackpack kernel


Okay, here's what I want to do. I want to compile a kernel, tgz it, and use it for later. Can I compile my own modules and "generic" kernel (like Slackware's 2.6.7 kernel) and make my own slackpacks?

I want to put this kernel in a Slackware ISO -- I already have the ISO made along with the generic 2.6.7 kernel & modules, but of course I have to add initrd.gz to lilo/ Just wondering if I compiled my own kernel with the filesystems compiled into the kernel rather than a module if I could get around the initrd.gz.

Yes, I have compiled my own kernel in the past. I would just rather have something more universal & quick.
 
Old 11-19-2004, 08:10 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
'filesystems compiled into the kernel' can't be done. of course you can make a tgz package. Just have a look at one of the originals so you can see how to make them.
Put a kernel pkg in a temp folder and do: explodepkg ./*.tgz
Then exchange your kernel, .config and system.map for the one there, edit slack-desc appropriately and then do:
makepkg kernel-name-x.x.x-i?86-1.tgz
Study the initrd and you'll see why you have to have it...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
custom slackpack kernel-modules sammyb Slackware 0 11-29-2004 03:41 PM
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
Slackware 10, custom 2.6.7 kernel, lilo, loads kernel very slowly entropyv Slackware 3 08-19-2004 06:06 PM
new slackpack synaptical Linux - Software 3 05-20-2004 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration