Create initramfs-initrd.img.md

This commit is contained in:
aiminick 2021-11-14 23:43:38 +08:00 committed by GitHub
parent 091fced03e
commit 69f3d2223d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
## Create initramfs initrd img
```
apt install initramfs-tools -y
mkinitramfs -o /boot/initrd.img
# update-initramfs -k $(uname -r) -c -b /boot
```
## Add to config
```
initramfs initrd.img followkernel
```