-
Notifications
You must be signed in to change notification settings - Fork 0
Boot Partition UUID Script
matveynator edited this page Nov 8, 2024
·
1 revision
Keeps /boot
consistent and reliable, even with hardware changes.
- Run as root.
- If
/boot
already uses a UUID, no changes are needed. - If not, select the
/boot
device when prompted. - The script updates
/etc/fstab
and creates a backup.
Run this command to download and execute the script:
curl 'https://raw.githubusercontent.com/matveynator/sysadminscripts/refs/heads/main/boot-from-uuid-fix' > /usr/local/bin/boot-from-uuid-fix; chmod +x /usr/local/bin/boot-from-uuid-fix; /usr/local/bin/boot-from-uuid-fix
Done! Your /boot
is now resilient to changes.