Add 'nls_ascii' to initramfs to avoid USB pendrive boot warning

This commit is contained in:
Christian Poessinger 2018-12-29 13:49:43 +01:00
parent b6e17d7244
commit aa0eb3349d

View File

@ -1,4 +1,8 @@
#!/bin/sh
echo I: Create initramfs if it does not exist.
# Kernel complains about non available nls_ascii module when booting from USB pendrive
echo "nls_ascii" >> /etc/initramfs-tools/modules
update-initramfs -c -k `ls /boot | grep vmlinuz- | sed 's/vmlinuz-//g'`