From Cute Iguana, 1 Year ago, written in Plain Text.
  1. root@ubuntu:/# mount -t proc none /mnt/ubuntu/proc
  2. root@ubuntu:/# mount -o bind /dev /mnt/ubuntu/dev
  3. root@ubuntu:/# mount -o bind /sys /mnt/ubuntu/sys
  4. root@ubuntu:/# chroot /mnt /bin/bash
  5. root@ubuntu:/# source /etc/profile
  6.  
  7. root@ubuntu:/# update-initramfs -c -k 4.19.0-1-amd64
  8. update-initramfs: Generating /boot/initrd.img-4.19.0-1-amd64
  9. /usr/sbin/mkinitramfs: 141: /usr/sbin/mkinitramfs: cannot create /dev/null: Directory nonexistent
  10. /usr/sbin/mkinitramfs: 148: /usr/sbin/mkinitramfs: cannot create /dev/null: Directory nonexistent
  11. /usr/sbin/mkinitramfs: 302: /usr/sbin/mkinitramfs: cannot create /dev/null: Directory nonexistent
  12. WARNING: no ldd around - install libc-bin
  13. update-initramfs: failed for /boot/initrd.img-4.19.0-1-amd64 with 1.
captcha