Devo fare questo:
https://medium.com/@pmarrapese/arch-linux-and-intel-rst-fake-raid-cece10b61ac3su debian sid e non so come fare, per la precisione sono questi i passaggi che mi sono oscuri:
2. Open /etc/mkinitcpio.conf in your preferred text editor.
3. Add /sbin/mdmon to the BINARIES section. mdmon monitors external metadata and will be automatically executed by udev rules.
4. Add mdadm_udev to the HOOKS section between block and filesystems. mdadm_udev is an installation hook that includes mdadm and the udev rules responsible for RAID assembly in the initramfs.
HOOKS="base udev autodetect modconf block mdadm_udev filesystems keyboard fsck"
Dove cercare documentazione e guide per debian? Ho continuamente problemi a capire come fare la cosa X su debian, l'ultima è che voglio configurare initramfs.
Su arch ho questa pagina dove spiega tutto, dalla configurazione alla generazione:
https://wiki.archlinux.org/index.php/MkinitcpioSu debian non c'è niente del genere, ho dovuto fare varie ricerche per capire l'equivalente di "mknitcpio -p linux" e ancora non ho capito come configurare l'initramfs. Su arch basta modificare i vari BINARIES/HOOKS/MODULES/etc in /etc/mkinitcpio.conf, in debian credo che l'equivalente di mkinitcpio.conf non esista ma sia frammentato in sotto-file e sotto-cartelle.
Il problema è che non trovo documentazioni né nulla, il massimo che abbia trovato è questo man:
https://manpages.debian.org/unstable/initramfs-tools-core/mkinitramfs.8.en.htmlContiente solo limitate spiegazioni:
/etc/initramfs-tools/initramfs.conf
The default configuration file for the script. See initramfs.conf(5) for a description of the available configuration parameter.
/etc/initramfs-tools/modules
Specified modules will be put in the generated image and loaded when the system boots. The format - one per line - is identical to that of /etc/modules, which is described in modules(5).
/etc/initramfs-tools/conf.d
The conf.d directory allows one to hardcode bootargs at initramfs build time via config snippets. This allows one to set ROOT or RESUME. This is especially useful for bootloaders, which do not pass an root bootarg.
/etc/initramfs-tools/DSDT.aml
If this file exists, it will be appended to the initramfs in a way that causes it to be loaded by ACPI.
Dentro /etc/initramfs-tools ho questi file e cartelle:
% ls
conf.d initramfs.conf modules update-initramfs.conf
hooks initramfs.conf.dpkg-old scripts
Per quanto riguarda 'BINARIES="/sbin/mdmon"' sono nel buio più totale.
Per quanto riguarda 'HOOKS="base udev autodetect modconf block mdadm_udev filesystems keyboard fsck"' immagino di dover creare dei file dentro /etc/initramfs-tools/hooks, ma non so come.
Prendendo spunto dal manuale trovato (
https://manpages.debian.org/unstable/initramfs-tools-core/mkinitramfs.8.en.html) immagini di dover creare un file hooks (ma potrebbe chiamarsi pippo) e dentro mettere un hook per ogni riga, ma sarebbe una supposizione.
Idee e consigli?