Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

During the Ubuntu Server setup, I was given a choice to install a 'targeted' initrd with only the modules my computer needs. I chose the other option, 'generic'. How can I install a 'targeted' initrd now that I've already installed my system?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Edit /etc/initramfs-tools/initramfs.conf and change

MODULES=most

to

MODULES=dep

then run

update-initramfs -u
share|improve this answer
    
For reference (couldn't find this elsewhere), my initrd went from 13M to 3.5M by doing this and, on a slow system, pretty significantly improved boot speed. –  Luc Jul 17 at 23:12

You probably want to install the linux-image-server package.

share|improve this answer
    
I already have this installed. –  Delan Azabani Dec 3 '10 at 10:26
    
I am not aware of any other kernel flavor, never heard of a "targeted" kernel. Both the generic and server kernels contain the core drivers built-in, drivers for additional hardware is available from modules which are only loaded if required. –  João Pinto Dec 3 '10 at 10:30
    
The option to choose between a 'generic' and 'targeted' kernel is given only if 'Export mode' is enabled in the setup. –  Delan Azabani Dec 3 '10 at 10:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.