Skip to content

Files

Latest commit

d46f096 · Aug 4, 2020

History

History

initramfs-helpers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 9, 2020
Aug 4, 2020
Jun 9, 2020
Jun 9, 2020
Jun 9, 2020

README.md

Description

These are the tools to examine and make quick-n-dirty tests with initramfs.

Usage

Extract an initramfs:

$ cd unlock-luks-partition/initramfs-helpers/
$ ./unpack /boot/initrd.img-5.6.0-2-amd64 
5868 blocks
371820 blocks
$ ls initrd.d/
bin   cryptroot  init    lib    lib64        run   scripts  var
conf  etc        kernel  lib32  root-70xplQ  sbin  usr
$ ./repack 
Packing ./initrd.d as ./initrd.img-5.6.0-2-amd64.new