ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Смысл перегенерации initrd при удалении ядра
@ 2021-08-13 16:00 Alex Karpov
  2021-08-16 13:50 ` Sergey
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Karpov @ 2021-08-13 16:00 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Добрый день.

В связи с моей вчерашней проблемой, когда initrd, генерируемый 
make-initrd-2.20.1, не дает загрузиться системе, возник вопрос - для 
чего нужно перегенерировать initrd при удалении ядра?

Поломка моей системы была вызвана следующими действями:
* У меня были установлены два ядра, 5.10.54-std-def-alt2 (грузилось, 
система работала на нем) и 5.10.57-alt1, которое не грузилось (из-за 
make-initrd 2.20.1, на тот момент я этого не знал)

* Я решаю попробовать обновиться на 5.10.57-std-def-alt2, и для этого 
мне нужно удалить 5.10.57-std-def-alt1, так как их headers будут 
конфликовать друг с другом.

* Я удаляю ядро, выполнив apt-get remove 
kernel-headers-std-def#2:5.10.57-std-def-alt1:sisyphus* 
kernel-headers-modules-std-def#2:5.10.57-alt1:sisyphus* 
kernel-image-std-def#2:5.10.57-alt1:sisyphus*
и при этом мне перегенерируется initrd для ядра 5.10.54-std-def-alt2, 
чем все и ломается.

* я остаюсь с системой, неспособной загрузиться на свежеустановленном 
ядре 5.10.57, ни на старом 5.10.54.

В чем смысл перегенерации initrd при удалении ядра, и можно ли этого не 
делать?

Мне это кажется немного нелогичным - удаляется ядро одно, а при этом 
дополгнительно меняется другое ядро.

С уважением,
Алексей.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-16 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13 16:00 [sisyphus] Смысл перегенерации initrd при удалении ядра Alex Karpov
2021-08-16 13:50 ` Sergey

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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