Я использую Ubuntu 16.04, и когда я добавляю и выбираю другую тему Plymouth, отличную от добавленной по умолчанию, при перезагрузке для проверки я вижу ее в процессе выключения, но при загрузке снова после grub я получаю черный экран, на котором ничего не отображается пока я не доберусь до экрана входа в систему.
8
sudo update-alternatives --config default.plymouth
. 4.sudo update-initramfs -u
sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/custom_theme_directory/ubuntu-logo.plymouth 100
Ответы:
Установка этого не достаточно
Каждая тема Плимута имеет приоритет, и по умолчанию в качестве темы загрузки выбирается наивысший приоритет. Вы можете переопределить его с помощью этой команды:
Которые показывают что-то вроде этого:
текущая выбранная опция (и опция по умолчанию) в моей системе - 0 (авто), вы можете увидеть это по символу звездочки (*).
Вы также можете увидеть, какая тема выбрана автоматически.
Вы должны увидеть свою тему в списке, просто напишите номер в столбце « Выбор» и нажмите «Ввод».
Затем вам нужно, чтобы изменения вступили в силу, для этого выполните следующую команду:
Вы должны увидеть новую тему после перезагрузки.
Это все уже задокументировано на этот вопрос.
источник
У меня была та же проблема (и еще много других), когда я работал над темой «Восход Земли» с 2011 года для работы под Ubuntu 16.04.
Изменить имена путей с формата <16.04 на 16.04
Файл
/usr/share/plymouth/themes/default.plymouth
имел старые пути из Ubuntu 14.04 и должен был быть изменен, чтобы отразить Ubuntu 16.04.Убедитесь, что ваш содержит имена путей, как это:
Frame Buffer в initramfs-tools
Отредактируйте файл
/etc/initramfs-tools/conf.d/splash
и добавьте эту строку:Плавный переход на GDM
Для обеспечения плавного перехода вы должны отключить блок диспетчера дисплея, например
Включить соответствующий модуль DM-plymouth (GDM, LXDM, SLiM), например
Включить отладку
Отредактируйте файл
/etc/default/grub
и найдите строку LINUX_DEFAULT:и измените это на это:
Примечание
plymouth:debug
это важная вещь. Такжеsplash
всегда требуется вызвать Плимут.После перезагрузки посмотрите в файл,
/var/log/plymouth-debug.log
и он должен выглядеть примерно так:Обновить initramfs
После внесения любого из вышеперечисленных изменений выполните:
источник