LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-14-2013, 09:54 AM   #1
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Kernel install generic or full. Wheres the difference in package or filesystem wise.


Hi folks,

when installing a debian system you get questioned if you want to install a generic kernel which only holds the drivers/modules for the platform its installed or to install one with all drivers/modules. I normaly install with only those drivers/modules that are needed but now am in need to move harddrives from one machine to another. Now I wonder if theres is a way to see if I actually installed the adjusted kernel or if I installed the one with all the modules?

Also I'm keen to know where the actuall difference between the two are? Only initramfs options to include all/less modules? Is it a nother package that gets installed?

Heres some info to be a bit more specific
Code:
root@virtual:~# cat /etc/debian_version
7.1
root@virtual:~# dpkg -l | grep linux-image
ii  linux-image-3.2.0-4-amd64             3.2.46-1                           amd64        Linux 3.2 for 64-bit PCs
ii  linux-image-amd64                     3.2+46                             amd64        Linux for 64-bit PCs (meta-package)
 
Old 10-14-2013, 09:59 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The question does not ask which kernel you want to install, but which modules you want to include in the initramfs. All you have to do is to rebuild the initramfs with the modules you need for the new machine.
https://wiki.debian.org/Initrd
 
Old 10-15-2013, 03:25 AM   #3
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748

Original Poster
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Thanks Tobis.

So the real difference is the line MODULES=most or MODULES=dep in /etc/initramfs-tools/initramfs.conf. With the first is most drivers and the second only those drivers for the particular machine. Stating from the link and posted here for completness.
 
  


Reply



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
[SOLVED] setting up initrd / generic kernel in Grub2...can't load generic Ubunoob001 Slackware 12 03-20-2015 07:32 AM
[SOLVED] Generic kernel and full screen login? andreas-r Slackware 8 01-23-2013 06:40 AM
Difference in LiveCD install and full install. zilog6502 Linux - General 4 10-12-2012 09:39 PM
unable to install package linux-headers-2.6.22-14-generic in mint noushadali Linux - Kernel 1 03-05-2012 07:05 AM
How can I install the 2.5.66 kernel in Redhat 9.0 - wheres the kernel?! voltron Linux - Newbie 5 05-28-2003 02:49 AM

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

All times are GMT -5. The time now is 02:41 PM.

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