diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/provision | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index c0526d8..1721a17 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -528,10 +528,12 @@ if [ "$grub" == "y" ] && [ "$encrypt" != "y" ]; then 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. |