• 6 Posts
  • 14 Comments
Joined 9 months ago
cake
Cake day: April 10th, 2024

help-circle

  • Thank you very much all, for your inputs !

    I’ve did

    root: file /boot/broadcom/initrd.gz
    initrd.gz: Zstandard compressed data ....
    
    root: unmkinitramfs /boot/broadcom/initrd.gz Extracted/
    # data where extracted to Extracted/
    # but I go few error like:
    # cpio: cannot link usr/sbin/vconfig to usr/sbin/watchdog: Operation not permitted
    
    tree -Fan -L 2 Extracted
    Extracted//
    |-- conf/
    |   |-- arch.conf*
    |   |-- conf.d/
    |   `-- initramfs.conf*
    |-- etc/
    |   |-- fstab*
    |   |-- ld.so.cache*
    |   |-- ld.so.conf*
    |   |-- ld.so.conf.d/
    |   |-- modprobe.d/
    |   `-- udev/
    |-- init*
    |-- run/
    |-- scripts/
    |   |-- functions*
    |   |-- init-bottom/
    |   |-- init-top/
    |   |-- local*
    |   |-- local-bottom/
    |   |-- local-premount/
    |   `-- nfs*
    `-- usr/
        |-- bin/
        |-- lib/
        `-- sbin/
    

    So it tend to confirm that even if the file is named initrd.gz it’s actually an initramfs method… ( damn this is so misleading )

    So I guess I can follow preparing-linux from the guide and overwrite the initrd.gz ?