ALT Linux Distributions development
 help / color / mirror / Atom feed
From: Leonid Krivoshein <klark.devel@gmail.com>
To: devel-distro@lists.altlinux.org
Subject: Re: [devel-distro] rescue, plymouth и tty5
Date: Fri, 10 Sep 2021 22:58:21 +0300
Message-ID: <218fb406-f863-e771-f765-b68a64926126@gmail.com> (raw)
In-Reply-To: <0fa46737-4ce0-90ad-149a-448bc96590c4@ya.ru>

Добрый вечер!


10.09.2021 22:02, Антон Мидюков пишет:
> Здравствуйте
>
> От klark@ узнал, что у нас давно есть проблема в дистрибутивах с rescue.

Оказалось, тебе полезно о проблемах рассказывать! =)) Спасибо за раскопки!


> rescue в дистрибутивах при загрузке переключается в tty5, в то время как регулярка/стартеркит
> нормально загружается на tty1.

Интересно, в чём отличия? Большинство этого момента могут и не заметить.
А вот при старте автоматики на tty1, становится непонятно, что там 
происходит.


> Выяснилось, что если в initrd есть plymouth, то параметр splash=0, который призван отключать
> запуск plymouth, ведёт себя странно. Он не только выключает plymouth, но ещё и выполняет условие
> запуска plymouth на tty5 [1]. Поэтому и происходит переход на tty5.
>
> Проблему предлагаю решить заменой параметра 'splash=0' на nosplash [2], который к тому
> же поддерживается как propagator, так и make-initrd. Это нужно было сделать лет 10 назад.

Стоило сразу добавить, что хотя splash=0 упоминается на ВиКи и в 
некоторых исходниках, давно устарел и может приводить к таким странным 
эффектам. Убирать его стоит всем из своих клонов m-p. Особенно это 
касается isolinux, где он попадает в левую часть (до showopts), и его 
уже ничем не перебить. При EFI-загрузке через refind ситуация лечится 
добавлением nomodeset, но при Legacy-загрузке это уже не помогает. В 
случае автоматики помогает начинать скрипт с команды chvt 1.


> 1. http://git.altlinux.org/gears/p/propagator.git?p=propagator.git;a=blob;f=stage1.c;h=beeea9ad89039e511ef395a749f4346182c42af0;hb=e34da5300de4142fd6cc1e8cfe2b2cee6b41683f#l162
> 2. http://git.altlinux.org/people/antohami/packages/mkimage-profiles.git?p=mkimage-profiles.git;a=commitdiff;h=c20a77b93ffef4837b263a1a48181070b1802f76;hp=633567ba55ed84840671988eb7002267bdc49d8a
>


-- 
Best regards,
Leonid Krivoshein.



      reply	other threads:[~2021-09-10 19:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-10 19:02 Антон Мидюков
2021-09-10 19:58 ` Leonid Krivoshein [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=218fb406-f863-e771-f765-b68a64926126@gmail.com \
    --to=klark.devel@gmail.com \
    --cc=devel-distro@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Distributions development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \
		devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
	public-inbox-index devel-distro

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-distro


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git