doc:appunti:linux:sa:if_rename
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:if_rename [2024/06/21 17:48] – [With Debian 10 Buster] niccolo | doc:appunti:linux:sa:if_rename [2024/06/21 17:54] (current) – [Beware of initramfs image] niccolo | ||
---|---|---|---|
Line 29: | Line 29: | ||
==== Beware of initramfs image ==== | ==== Beware of initramfs image ==== | ||
- | If you have some files in **/ | + | :!: If you have some files in **/ |
These files are considered by '' | These files are considered by '' | ||
Line 41: | Line 41: | ||
=== How to unpack the iniramfs image to inspect its content === | === How to unpack the iniramfs image to inspect its content === | ||
- | In Debian 12 the iniramfs image is composed by a cpio archive | + | In **Debian 12** the iniramfs image may be composed by two appended |
- | + | Extract | |
- | Extract the microcode (take note of the number of blocks printed on stderr): | + | |
< | < | ||
Line 51: | Line 50: | ||
</ | </ | ||
- | Make a copy of initramfs stripping the microcode and decompress it: | + | Make a copy of **the initramfs |
< | < | ||
- | dd if=/ | + | dd if=/ |
- | unzstd initramfs.img.zstd --stdout | cpio --extract --make-directories | + | unzstd initramfs.img.zst --stdout | cpio --extract --make-directories |
</ | </ | ||
doc/appunti/linux/sa/if_rename.1718984921.txt.gz · Last modified: 2024/06/21 17:48 by niccolo