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.

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

1 Answer 1

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

 
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.