The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 2,715     Votes:  2     ✅ Solution
Tags: boot   kernel   initramfs   grub  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1312597
Title: I've deleted all initramfs files (like an idiot) How to restore them?
ID: /2021/02/01/I_ve-deleted-all-initramfs-files-_like-an-idiot_-How-to-restore-them_
Created: February 1, 2021
Upload: December 22, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


This tutorial will walk you through rebuilding. To summarize the steps in the tutorial:

  1. Boot your machine with a Live Media
  2. Open a terminal console and get partitions path
  3. Mount the filesystems
  4. Chroot /mnt and creating a Backup of the initrd image
  5. Building Initrd Image
  6. Finalizing Grub Loader and unmounting

Note because you have other partitions you can boot with you can likely skip step 1.

⇧ How do I determine the total size of a directory (folder) from the command line? Install NDiSWrapper in Ubuntu 20.04  ⇩