Skip to content

Instantly share code, notes, and snippets.

@razor-x
Last active December 6, 2022 06:53
Show Gist options
  • Save razor-x/99d3ded983c54aea81d337b07e3990b8 to your computer and use it in GitHub Desktop.
Save razor-x/99d3ded983c54aea81d337b07e3990b8 to your computer and use it in GitHub Desktop.
sudo mkdir /efi
# move efi mount
sudo rm -rf /boot/efi
# remove linux bootloader and kernals on /efi
# backup /boot
# reformat /boot to vfat
# copy /boot data back
# update UUID in fstab
sudo systemctl disable efistub-ucode-update@linux.path
sudo systemctl disable efistub-ucode-update@linux.service
sudo systemctl disable efistub-update@linux.path
sudo systemctl disable efistub-update@linux.service
# Update NOTES with new gpt table
# https://wiki.archlinux.org/title/Multihead#RandR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment