Quantcast
Viewing all articles
Browse latest Browse all 2849

General Questions • Re: Error messages at boot after I installed another OS in dual boot

I see /etc/initramfs-tools/conf.d/ is empty by default. I'm missing anything in man initramfs-tools and man initramfs.conf that might explain how to use it.
It's at the start of the manual:
Each line in the file can be a configuration variable, a blank line, or a comment. The value of an variable is assigned by an statement of the form: name=[value]

Configuration options can be broken out into configuration snippets and placed in individual files in the /etc/initramfs-tools/conf.d directory. Files in this directory are always read after the main configuration file, so you can override the settings in the main config file without editing it directly.
Do the names or number of files placed there matter? Must each end in .conf?
In my experience, no and no.
Can you please show or point to examples of placement of such overrides as RESUME=none, MODULES=dep and update_initramfs=no in lieu of editing directly initramfs.conf and update-initramfs.conf?
Sure

Code:

$> cat /etc/initramfs-tools/conf.d/driver-policy # Driver inclusion policy selected during installation# Note: this setting overrides the value set in the file# /etc/initramfs-tools/initramfs.confMODULES=dep$> cat /etc/initramfs-tools/conf.d/resume RESUME=UUID=9cf14011-a466-44ec-9314-b1ca21fb5996
There is no update_initramfs= option in /etc/initramfs-tools/initramfs.conf, so I'm not sure such option exists.

Statistics: Posted by fabien — 2024-01-23 17:01



Viewing all articles
Browse latest Browse all 2849

Trending Articles