Created
June 18, 2018 09:27
-
-
Save Klexx/c99c012668a7ebcc5fbbd5907a412dd6 to your computer and use it in GitHub Desktop.
install windows usb stick from http://www.admlife.de/2016/08/20/windows-10-installation-usb-stick-unter-linux-erstellen/
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
# Partitionierung | |
DEVICE=/dev/sda | |
# Partitionierung auf dem USB Stick löschen | |
dd if=/dev/zero of=$DEVICE bs=1M count=1 | |
# Partitionen einrichten | |
fdisk ${DEVICE} | |
n | |
p | |
1 | |
ENTER | |
ENTER | |
t | |
c | |
a | |
w | |
# Formatierung, mounten des Laufwerks | |
mkfs.vfat ${DEVICE}1 | |
mkdir /mnt/usb | |
mount ${DEVICE}1 /mnt/usb | |
# Kopieren der Daten | |
mkdir Win10 | |
mount -o loop Win10_1709_German_x64.iso Win10 | |
cp -a Win10/* /mnt/usb | |
# Aushängen der Laufwerke | |
umount /mnt/usb | |
umount Win10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment