修改步骤:
a)
Edit /usr/share/initramfs-tools/scripts/functions
Change necessary lines (marked with blue)
Exact commands:
sudo vim /usr/share/initramfs-tools/scripts/functions
# Replace the line as marked with blue below (number “0” to “1”)
ln -s "$0" /tmp/mountroot-fail-hooks.d/"$0"
with
ln -s "$0" /tmp/mountroot-fail-hooks.d/"$1"
b)
Run as root and restart.
Exact commands:
update-initramfs -uk all
时间比较长,稍微等待下
c)重启系统
链接:https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1873614