Upd2. Change layout.
Table of content:
A. Notes about grub-install.
B. Notes about update-grub.
C. Other notes.
D. Multiboot schemes.
E. Scripts and config examples.
DISCLAIMER. English language used here only for compatibility (ASCII only), so any suggestions about my bad grammar (and not only it) will be greatly appreciated.
Table of content:
A. Notes about grub-install.
B. Notes about update-grub.
C. Other notes.
D. Multiboot schemes.
E. Scripts and config examples.
If during creation of new initramfs by update-initramfs (called by e.g. kernel postinst script) /tmp is mounted with 'noexec', initramfs will be slightly different and may report errors, like E: /scripts/local-premount/resume failed with return 255.
Shell's option 'errexit' works unexpectedly when command returning non-zero is called in `local` variable definition statement.
I should not reference LV in fstab by UUID, because if i have snapshot of this LV, it is unknown which one (origin or snapshot) will be mounted.
xargs uses blanks (not only newlines!) to split input line into arguments.
Though, there is some options, which turns this defailt off implicitly or
explicitly.
Here is summary:
+--------+--------------------+---------------------+
| Option | Argument separator | Escapes |
+--------+--------------------+---------------------+
| -L | blank | Interpreted (work) |
+--------+--------------------+---------------------+
| -d | user defined | Literal (not work) |
+--------+--------------------+---------------------+
| -I | newline | Interpreted (work) |
+--------+--------------------+---------------------+