From: Alex Karpov <castor.gemini.pollux@gmail.com> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: [sisyphus] Смысл перегенерации initrd при удалении ядра Date: Fri, 13 Aug 2021 19:00:36 +0300 Message-ID: <1cec86f8-e225-d2b0-b127-c768dc183f0a@gmail.com> (raw) Добрый день. В связи с моей вчерашней проблемой, когда 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 при удалении ядра, и можно ли этого не делать? Мне это кажется немного нелогичным - удаляется ядро одно, а при этом дополгнительно меняется другое ядро. С уважением, Алексей.
next reply other threads:[~2021-08-13 16:00 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-13 16:00 Alex Karpov [this message] 2021-08-16 13:50 ` Sergey
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=1cec86f8-e225-d2b0-b127-c768dc183f0a@gmail.com \ --to=castor.gemini.pollux@gmail.com \ --cc=sisyphus@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 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