reboot_device="`blkid $boot_device | cut -d ' ' -f 2 | sed -e 's/"//g'`"
# Use device name: might lead to wrong results
- # During install boot_device might be /dev/sdb2, but on but be /dev/sda2
+ # During install boot_device might be /dev/sdb2, but on boot be /dev/sda2
#reboot_device="$boot_device"
echo "$reboot_device /boot ext4 defaults,errors=remount-ro 0 2" | $SUDO tee -a $WORK/etc/fstab > /dev/null
+
+ hydra_sudo_run chroot $WORK update-initramfs -u
fi
# Utils.