So brennen Sie eine Installationsdiskette von Windows unter Ubuntu

sorry durty english. here is english env..

Format to USB

  1. check devices

also sdc is your usb devices


$ df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev            65895136        0  65895136   0% /dev
tmpfs           13184664     2796  13181868   1% /run
/dev/sdb2      459924552 12668192 423823708   3% /
tmpfs           65923304    47888  65875416   1% /dev/shm
tmpfs               5120        4      5116   1% /run/lock
tmpfs           65923304        0  65923304   0% /sys/fs/cgroup
...
/dev/loop5         31104    31104         0 100% /snap/snapd/9279
/dev/sdb1         523248     7944    515304   2% /boot/efi
tmpfs           13184660       32  13184628   1% /run/user/1000
/dev/sdc3       56321568  2180864  54140704   4% /media/fifi/440B-AC16
/dev/sdc1        2719744  2719744         0 100% /media/fifi/Ubuntu 20.04.1 LTS amd64

  1. unmount unmount the target device (not partition)
sudo umount /dev/sdc 
  1. delete partition and make new

$ sudo fdisk /dev/sdc

Welcome to fdisk (util-linux 2.34).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/sdc: 56.33 GiB, 60472426496 bytes, 118110208 sectors
Disk model: Transcend 64GB  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x56f48570

Device     Boot   Start       End   Sectors  Size Id Type
/dev/sdc1  *          0   5439487   5439488  2.6G  0 Empty
/dev/sdc2       5017392   5025327      7936  3.9M ef EFI (FAT-12/16/32)
/dev/sdc3       5439488 118110207 112670720 53.7G 83 Linux

Command (m for help): d
Partition number (1-3, default 3): 1

Partition 1 has been deleted.

Command (m for help): d
Partition number (2,3, default 3): 

Partition 3 has been deleted.

Command (m for help): d
Selected partition 2
Partition 2 has been deleted.

Command (m for help): d
No partition is defined yet!

Command (m for help): d
No partition is defined yet!

Command (m for help): p

Disk /dev/sdc: 56.33 GiB, 60472426496 bytes, 118110208 sectors
Disk model: Transcend 64GB  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x56f48570

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 
First sector (2048-118110207, default 2048): 
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-118110207, default 118110207): 

Created a new partition 1 of type 'Linux' and of size 56.3 GiB.


Command (m for help): t
Selected partition 1
Hex code (type L to list all codes): c
Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.

Command (m for help): a
Selected partition 1
The bootable flag on partition 1 is disabled now.

Command (m for help): p
Disk /dev/sdc: 56.33 GiB, 60472426496 bytes, 118110208 sectors
Disk model: Transcend 64GB  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x56f48570

Device     Boot Start       End   Sectors  Size Id Type
/dev/sdc1        2048 118110207 118108160 56.3G  c W95 FAT32 (LBA)

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.


format


fifi@fifi-gpu:~$ sudo mkfs.msdos -F 32 /dev/sdc1
mkfs.fat 4.1 (2017-01-24)
fifi@fifi-gpu:~$ sudo mkfs.msdos -F 32 /dev/sdc1 -n win10
mkfs.fat 4.1 (2017-01-24)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows

https://sites.google.com/site/androidonbeagle/linuxbootdiskformat/fdisk

Burn Windows Boot Disk

mount and copy

$ sudo mount -t auto -o loop ~/Downloads/Win10_2004_Japanese_x64.iso /mnt/win10/
mount: /mnt/win10/: /home/fifi/Downloads/Win10_2004_Japanese_x64.iso is already mounted.
fifi@fifi-gpu:/media/fifi$ cd /mnt/win10/
fifi@fifi-gpu:/mnt/win10$ ls
autorun.inf  boot  bootmgr  bootmgr.efi  efi  setup.exe  sources  support
fifi@fifi-gpu:/mnt/win10$ sudo df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev            65895136        0  65895136   0% /dev
tmpfs           13184664     2788  13181876   1% /run
/dev/sdb2      459924552 12672800 423819100   3% /
tmpfs           65923304   111372  65811932   1% /dev/shm
tmpfs               5120        4      5116   1% /run/lock
tmpfs           65923304        0  65923304   0% /sys/fs/cgroup
/dev/loop0         56320    56320         0 100% /snap/core18/1880
/dev/loop2        223232   223232         0 100% /snap/gnome-3-34-1804/60
/dev/loop1         56704    56704         0 100% /snap/core18/1885
/dev/loop4         30720    30720         0 100% /snap/snapd/8790
/dev/loop3         51072    51072         0 100% /snap/snap-store/467
/dev/loop6        261760   261760         0 100% /snap/gnome-3-34-1804/36
/dev/loop7         63616    63616         0 100% /snap/gtk-common-themes/1506
/dev/loop5         31104    31104         0 100% /snap/snapd/9279
/dev/sdb1         523248     7944    515304   2% /boot/efi
tmpfs           13184660       32  13184628   1% /run/user/1000
/dev/loop8       5063494  5063494         0 100% /mnt/win10
/dev/sdc1       59039584       32  59039552   1% /media/fifi/win10
fifi@fifi-gpu:/mnt/win10$ sudo cp /mnt/win10/* /media/fifi/win10/
cp: -r not specified; omitting directory '/mnt/win10/boot'
cp: -r not specified; omitting directory '/mnt/win10/efi'
cp: -r not specified; omitting directory '/mnt/win10/sources'
cp: -r not specified; omitting directory '/mnt/win10/support'
fifi@fifi-gpu:/mnt/win10$ sudo cp -r /mnt/win10/* /media/fifi/win10/

memo

so easy. ubuntu

Recommended Posts

So brennen Sie eine Installationsdiskette von Windows unter Ubuntu
So installieren Sie WildFly unter Ubuntu 18.04
So öffnen Sie eine Skriptdatei von Ubuntu mit VS-Code
So führen Sie eine GIF-Datei über die Linux-Befehlszeile aus (Ubuntu)
Ich möchte mit der Berechtigung des Windows-Verzeichnisses von WSL (Ubuntu) herumspielen.
SSH in Ubuntu von einem Terminal mit öffentlicher Schlüsselauthentifizierung
So erhalten Sie einen Heapdump aus einem Docker-Container
So installieren Sie Netzwerktreiber unter eigenständigem Ubuntu
So installieren Sie mehrere JDKs unter Ubuntu 18.04 LTS
Wie installiere ich Oracle JDK 1.8 in Ubuntu 18.04 LTS?
So erstellen Sie eine Pytorch-Umgebung unter Ubuntu
So erhalten Sie eine beliebige Ziffernnummer aus 2 oder mehr Ziffern! !!
So installieren Sie Docker
So installieren Sie Docker-Maschine
So installieren Sie MySQL
So springen Sie von Eclipse Java zu einer SQL-Datei
Wie schreibe ich Scala aus der Perspektive von Java
Bereitstellen von einem lokalen Docker-Image auf Heroku
So installieren Sie den NVIDIA-Treiber auf dem SSH-Ziel Ubuntu
[Java] So löschen Sie ein bestimmtes Zeichen aus einer Zeichenfolge
So verhindern Sie, dass editTextPreference von android PreferenceFragmentCompat beschädigt wird
[Ubuntu20.04] Von der ROS-noetischen Installation zur SLAM-Simulation von turtlebot3
So schreiben Sie eine Migration vom Rails-Datums- / Uhrzeittyp zum Datumstyp
So erstellen Sie ein Formular zur Auswahl eines Datums aus dem Kalender
Wie hinterlasse ich einen Kommentar?
So erhalten Sie die längsten Informationen von Twitter ab dem 12.12.2016
So installieren Sie Boots Faces
So verschieben Sie eine andere Klasse mit einer Schaltflächenaktion einer anderen Klasse.
[Ruby] So rufen Sie den Inhalt des Doppel-Hash ab
So installieren Sie JDK 8 unter Windows ohne Verwendung des Installationsprogramms
So installieren Sie Java9 unter ElementaryOS Freya oder Ubuntu 14.04 LTS
So installieren Sie GNOME als Desktop-Umgebung unter CentOS 7
[Rails] So installieren Sie simple_calendar
[Rails] So installieren Sie reCAPTCHA
So installieren Sie JDK8-10 (Mac)
[jsoup] So erhalten Sie die gesamte Dokumentation
So fügen Sie ein Video ein
So erstellen Sie eine Methode
Remote-Debuggen eines von Raspeye ausgeführten JavaFX-Programms von Windows 10 - Von der Umgebungskonstruktion bis zur Debug-Ausführung ①-
Remote-Debuggen eines von Raspeye ausgeführten JavaFX-Programms von der Windows 10-Von der Umgebungskonstruktion bis zur Debug-Ausführung (2) -
So installieren und verwenden Sie Composer auf einer ECS-Instanz unter Ubuntu 16.04
[Webpacker] Zusammenfassung der Installation von Bootstrap und jQuery in Rails 6.0
So installieren und konfigurieren Sie das Überwachungstool "Graphite" unter Ubuntu
So führen Sie das Kotlin Coroutine-Beispiel über die Befehlszeile aus
Wie installiere ich die in Ubuntu verwendete Sprache und wie erstelle ich die Umgebung?