Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to fix plymouth using a script I found, the /etc/initramfs-tools/modules file is now empty!

So I don't know what this can means for my system. Can anyone help me restoring it?

share|improve this question

The file /etc/initramfs-tools/modules is used to include modules in initramfs. This file has some lines which are commented out by default. That might means this file is effectively empty.

I am posting the default content of that file here. You may want to copy it and paste it in your files with a text editor and root privilege. To open the file with root power use sudo gedit /etc/initramfs-tools/modules command.

# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
# Syntax:  module_name [args ...]
# You must run update-initramfs(8) to effect this change.
# Examples:
# raid1
# sd_mod

If you add any modules name there, you need to run sudo update-initramfs -u command to update your currently used initramfs files.

I hope this helped you!

share|improve this answer
The file is same on default installation of Ubuntu and Edubuntu. So, I think the default one is exactly like I posted. – Anwar Shah Sep 8 '12 at 1:13

Your Answer


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.