Last active
December 2, 2023 07:28
-
-
Save qwerty12/bf393ace20f86bacbbc5d23ff3eae2de to your computer and use it in GitHub Desktop.
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
##!/bin/sh | |
# Use Ubuntu because they have their heads screwed on straight and patch GRUB to STFU when starting | |
mkdir /mnt/win | |
mount -t ntfs-3g -o windows_filenames /dev/sda1 /mnt/win | |
grub-install --no-floppy --modules=ntfs --root-directory=/mnt/win --boot-directory=/mnt/win/Boot /dev/sda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment