Commit b8d2131f authored by Yannael Girerd's avatar Yannael Girerd

bug fix debian10, change fstab before mount /boot after e2fsck

parent 76ba3a10
......@@ -248,6 +248,7 @@ function change_vg_name
umount /boot
e2fsck -fy /dev/sda1
tune2fs "${boot_dev}" -U "${new_uuid}" | tab 3
sed -i -e "s|${cur_uuid}|${new_uuid}|g" /etc/fstab
mount /boot
else
tune2fs "${boot_dev}" -U "${new_uuid}" | tab 3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment