Last active
July 22, 2016 14:44
-
-
Save VMuliadi/4b8f5efd6907a608d4a68df3d9e85a70 to your computer and use it in GitHub Desktop.
Create a bootable Windows USB from GNU/Linux distribution. This gist only contain step by step to do it
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
gparted >>> format flash drive to FAT32 | |
gparted >>> add "boot" flag to the drive | |
grub2 >>> sudo grub2-install /dev/sd[x] --boot-directory="/run/media/[user]/[flash_disk_name]" | |
nano >>> nano /boot/grub2/grub.cfg | |
nano >>> add these script | |
set menu_color_normal=white/black | |
set menu_color_highlight=black/light-gray | |
menuentry 'Install Windows [y]' { | |
ntldr /bootmgr | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment