From f4b42eb6e14c5320ecdeb1a93c20df8cd50f8b21 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 10 Sep 2016 15:58:12 -0400 Subject: generic1: Update initramfs Otherwise, this non-fatal but problematic error happens on boot, because apparently Linux is installed too early (cf. Debian bug #764596): fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1 --- (limited to 'hosts') diff --git a/hosts/generic1 b/hosts/generic1 index db283e8..acd40b0 100644 --- a/hosts/generic1 +++ b/hosts/generic1 @@ -84,6 +84,9 @@ do_postinst() in_target update-grub in_target grub-install "${dev}" + # Update initramfs. + in_target update-initramfs -u + # Configure network interfaces. cat >"${target}/etc/network/interfaces" <<-EOF # This file describes the network interfaces available on your system -- cgit v0.9.1