This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.fedoraproject.org/en-US/quick-docs/bootloading-with-grub2/#restoring-bootloader-using-live-disk | |
# https://docs.fedoraproject.org/en-US/quick-docs/bootloading-with-grub2/#adding-other-operating-systems-grub2 | |
# Download fedora image and boot to live mode | |
sudo mkdir -p /mnt/root | |
sudo mount /dev/nvme1n1p3 -o subvol=root /mnt/root | |
sudo mount /dev/nvme1n1p2 /mnt/root/boot/ | |
sudo mount /dev/nvme1n1p1 /mnt/root/boot/efi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Created together with: | |
* @github.com/JanielGamer | |
* */ | |
import java.awt.Dimension; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.FileReader; | |
import java.io.IOException; |