#initrd

Thorsten Leemhuis (acct. 1/4)kernellogger@hachyderm.io
2026-02-10

Half of the support for the #initrd (not to be confused with #initramfs!) was removed from #Linux 7.0 through a #vfs merge from @brauner:

git.kernel.org/torvalds/c/9968 and git.kernel.org/torvalds/c/ef12

""Remove the deprecated linuxrc-based initrd code path and related dead code. The linuxrc initrd path was deprecated in 2020 and this series completes its removal. If we see real-life regressions we'll revert. […]

The no-op load_ramdisk= and prompt_ramdisk= parameters are dropped, and noinitrd and ramdisk_start= gain deprecation warnings.

Initramfs is entirely unaffected. The non-linuxrc initrd path (root=/dev/ram0) is preserved but now carries a deprecation warning targeting January 2027 removal""

#Kernel #LinuxKernel

2026-02-06

Kernel panic on Ubuntu MATE 24.04.3 with full disk encryption (LUKS) after updating to kernels 6.8.0-94 or 6.17.0-14 #boot #kernel #2404 #luks #initrd

askubuntu.com/q/1563631/612

2026-02-05

Kernel Panic on Ubuntu Mate 24.04.3 with Full Disk Encryption (LUKS) after update to kernels 6.8.0-94 or 6.17.0-14 #boot #kernel #luks #initrd

askubuntu.com/q/1563631/612

diana 🏳️‍⚧️🦋🌱dianea@lgbtqia.space
2026-01-07

So I tried out #LinuxMint with the default Cinnamon Desktop for the last few days. It was quite nice. I would recommend it for those new to Linux. The desktop is sweet perfection, like #XFCE.

But sound did not work on my new laptop. Updating the kernel and found what seems like every possible bug with Linux Mint. Now I have no wireless AND no sound. For some reason, I can't get into the Grub boot menu to revert changes. Gone are the days when I can simply edit a text file for boot order and init.d startup. Searching forums and two days of debugging and reinstalling, trying to work with the #systemd and #initrd layers made me give it up. Seems like modularity between systems got tangled up like cold spaghetti in the fridge overnight.

#FreeBSD it is. #UNIX my old friend, you have always been loyal and true. At least I can fix what I break. Downloading now.

2025-10-30

Автоматический выбор версии NVIDIA драйвера при загрузке Linux дистрибутива PocketHandyBox

Проприетарные драйвера NVIDIA для Linux по умолчанию не предполагают возможности соседства нескольких версий в одной файловой системе в классических дистрибутивах. Но эта проблема может быть легко решена в модульных дистрибутивах путем создания отдельных squashfs модулей с разными версиями NVIDIA драйверов. Таким образом получаем рабочий драйвер NVIDIA сразу после запуска и без дополнительных манипуляций.

habr.com/ru/articles/961400/

#nvidia #linux #debian #initrd #initramfs

2025-08-06

How secure is your Full Disk Encryption? #openSUSE digs deep into mitigating rogue device attacks using #TPM2, #PCR extensions, and custom #initrd validation. A must-read #FDE for #sysadmins & #security pros. #opensource news.opensuse.org/2025/07/18/f

2025-07-29

New to #mkosi-initrd? It’s more than a #dracut alternative; it’s a #dev-friendly, RPM-driven #initrd builder with future potential.
✅ Integrated in #systemd
✅ Builds from known sources
⚠️ Still maturing (arch/feature limits)
Explore the pros/cons from this #oSC25 talk youtu.be/p78J3Ql7D6s?si=JbKZpq

2025-07-21

How secure is your #Linux boot process? Learn how #openSUSE is hardening boot with signed #initrd and UKI in this #oSC25 talk. Security starts before the #OS loads! youtu.be/Ryf1PIofsqw?si=6pWTOT

2025-07-09

Fedora 43 to Use Zstd Compression for Faster Boot and Smaller Initrd #fedora43 #zstd #initrd #initramfs #fastboot #linux #dracut
ostechnix.com/fedora-43-initrd

2025-07-07

Say goodbye to fragile early #boots 🚀Learn how #mkosi-initrd provides clearer ownership, faster boot times and smarter rebuilds in this #oSC25 talk. Based on #distro packages. Avoids 10+ #dracut service delays #initrd #systemd #openSUSE. youtu.be/p78J3Ql7D6s?si=JbKZpq

I have an old #debian server with an unencrypted root disc. Now I'm setting up a new hardware with the same software. Normally, dd would suit me well, but I'd like to use the opportunity to encrypt the root drive. How do I set up the #initrd to decrypt a #luks #encrypted root from scratch on the new hardware? Usually, the fine Debian #installer does that for me...

#linux

Ubuntu 25.10 will use Dracut

While Ubuntu 25.04 is still ongoing development, there has been progress in switching from initramfs-tools to Dracut. Those tools both handle initrd generation for booting into the Linux kernel in preparation for the full system boot. The Ubuntu engineers are working hard to migrate such tool to Dracut to ensure better bootstrapping by reducing hard-coded logic as much as possible.

Initially, Ubuntu 25.04 would have used Dracut as the initrd generator, but the work wasn’t complete yet, so the Ubuntu engineers have delayed the migration to after Ubuntu 25.04 gets released so that the next version of Ubuntu uses Dracut completely.

However, you have an opportunity to try out Dracut in Ubuntu 25.04 when it gets released. This is so that you can provide feedback to the Ubuntu team about your experience with the Dracut integration.

Ubuntu 25.04 will be the last version that uses initramfs-tools as the default initrd generator, with the October release of Ubuntu being the first version that uses Dracut. This is going to be exciting news for the next year’s Ubuntu LTS release that will be out in the next April.

#2504 #2510 #Dracut #Initramfs #InitramfsTools #Initrd #news #Plucky #PluckyPuffin #Puffin #Tech #Technology #Ubuntu #Ubuntu2504 #Ubuntu2504Plucky #Ubuntu2504PluckyPuffin #Ubuntu2510 #update

Richard "RichiH" HartmannRichiH@chaos.social
2024-12-15

To share the results:

/etc/initramfs-tools/initramfs.conf (or a .d if you want)
MODULES=dep
COMPRESS=zstd
COMPRESSLEVEL=19

gets the #debian #initrd #boot image down to ~20 MiB

Main system still doesn't start a window manager; I might need to figure out how to rebuild #dkms -- or reinstall the kernel packages.

Edit: Uninstalling & reinstalling the non-most-current kernel & headers did the trick. If you uninstall the newest image, the headers pull in the unsigned kernel as dep. Same size, so..

🅴🆁🆄🅰 🇷🇺erua@hub.hubzilla.de
2024-11-03
Про #GRUB можно позабыть уже несколько лет как — явно находится под чьим-то влиянием и до сих пор отказывается реализовать поддержку #LUKS 2-й версии, в части использования #Argon2 / #Argon2id.

Важно это потому, что в мире полно ферм для майнинга криптовалют, так или иначе арестованных органами общественного правопорядка. Это изначально специализированные #ASIC для перебора значений hash-функций. В результате, стало возможным взламывать грубой силой почти все варианты дискового шифрования, если для хранения пароля используются обычные #PBKDF2 / #PBKDF, не адаптированные под противодействие крипто-майнинговым фермам. Примером, нормальной современной #PBKDF является тот же #Argon2 и его вариации.

Альтернатива в том, что позволяет тот же #systemd-boot. Например, для полнодискового шифрование через LUKS берётся SSD/NVMe разбитый через #GPT с выделением раздела EFI System Partition, на котором размещаются образы #initrd / #initramfs и бинарники загрузчика systemd-boot являющиеся EFI-приложением.

Всё содержимое EFI System Partition может проверяться Secure Boot'ом — быть заверены своим собственным сертификатом в дереве. Не только бинарники, но и текстовые *.conf файлы в /boot/loader/entries/ описывающие каждый вариант загрузки. Поскольку они содержат такие вещи как:
title    ... — как зовётся в меню загрузочном
linux    /vmlinuz-6.6-x86_64 — какое ядро ОС использовать
initrd    /intel-ucode.img — какой микрокод процессора грузить
initrd    /initramfs-6.6-x86_64.img — сам загрузочный образ
...
options quiet — могут быть и в одну строчку все сразу
options splash
options rd.udev.log_level=3
options systemd.show_status=auto
options sysrq_always_enabled=1
options intel_iommu=on
options iommu=pt
...

Т.е. файлы *.conf могут содержать всякие опции/параметры ядра, отвечающие за безопасность работы системы. Например, раздачей таких рекомендаций недавно развлекался #ФСТЭК (вот оригинал официальной публикации).

Про различия в вариантах #Argon2, почему собственно RFC 9106 рекомендует использовать #Argon2id
  • #Argon2d maximizes resistance to GPU cracking attacks. It accesses the memory array in a password dependent order, which reduces the possibility of time–memory trade-off (TMTO) attacks, but introduces possible side-channel attacks.
  • #Argon2i is optimized to resist side-channel attacks. It accesses the memory array in a password independent order.
  • #Argon2id is a hybrid version. It follows the #Argon2i approach for the first half pass over memory and the #Argon2d approach for subsequent passes.


#linux #crypto #lang_ru
2024-10-18

Погружаемся в initrd

Приветствую! Меня зовут Валерий, я инженер операционных систем в секторе клиентской и мобильной ОС. Сегодня хочу затронуть фундаментальные вопросы: - процесс загрузки операционной системы в автоматизированное рабочее место (АРМ), - распаковку начального образа оперативной памяти, - подробный разбор initrd, что это такое и с чем его едят. Этот материал поможет понять как природу загрузки ОС Astra Linux Special Edition в частности, так и загрузку GNU/Linux в целом.

habr.com/ru/companies/astralin

#initrd #grub #скрипт #udev #переменные_окружения #каталог #операционная_система #автоматизированное_рабочее_место #оперативная_память

2024-01-30

Ryan Does #NixOS - Part 7

I was able to generate the required files for
#iPXE booting a #flake (#kernel + #initrd w/ #squashfs + iPXE script file), but kept running into issues with the kernel "unable to mount root fs" or "initramfs unpacking failed: invalid magic at start of compressed archive". What is weird is that https://github.com/nix-community/nixos-images/ when booted through netboot.xyz works just fine, if I grab the underlying kernel + initrd + iPXE script on MULTIPLE #systems , it fails with the latter message.

This is really boggling my mind as I thought there was data corruption happening, but I am more likely to believe something is happening within NixOS's
#zstd compression, or with that building process.

Elias Probsteliasp
2024-01-16

@brokenix@emacs.ch it's been quite a while that isn't the default in ' anymore. See this commit for more details and the reasoning behind this decision:
github.com/NixOS/nixpkgs/commi

2023-09-20

Linux boot times speed-up at works! 🚀

"We aim to capitalize on the cryptographic checks already performed on the kernel and initrd images during the secure boot process.

As a result, we can significantly improve the boot speed without compromising system security." ~Alessandro Carminati (Red Hat)

=> lore.kernel.org/lkml/202309141

#Linux #kernel #boot #development #speed #RedHat #initrd

2023-09-17

Linux boot times speed-up at works! 🚀

"We aim to capitalize on the cryptographic checks already performed on the kernel and initrd images during the secure boot process.

As a result, we can significantly improve the boot speed without compromising system security." ~Alessandro Carminati (Red Hat)

=> lore.kernel.org/lkml/202309141

#Linux #kernel #boot #development #speed #RedHat #initrd

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst